public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7829] x86: Use x constraint on KL patterns
@ 2022-03-26 14:16 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2022-03-26 14:16 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ede5f5224d55b84b9f186b288164df9c06fd85e7

commit r12-7829-gede5f5224d55b84b9f186b288164df9c06fd85e7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 25 10:48:16 2022 -0700

    x86: Use x constraint on KL patterns
    
    Since KL instructions have no AVX512 version, replace the "v" register
    constraint with the "x" register constraint.
    
            PR target/105058
            * config/i386/sse.md (loadiwkey): Replace "v" with "x".
            (aes<aesklvariant>u8): Likewise.

Diff:
---
 gcc/config/i386/sse.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 29802d00ce6..33bd2c4768a 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -28364,8 +28364,8 @@
 
 ;; KEYLOCKER
 (define_insn "loadiwkey"
-  [(unspec_volatile:V2DI [(match_operand:V2DI 0 "register_operand" "v")
-			  (match_operand:V2DI 1 "register_operand" "v")
+  [(unspec_volatile:V2DI [(match_operand:V2DI 0 "register_operand" "x")
+			  (match_operand:V2DI 1 "register_operand" "x")
 			  (match_operand:V2DI 2 "register_operand" "Yz")
 			  (match_operand:SI   3 "register_operand" "a")]
 			 UNSPECV_LOADIWKEY)
@@ -28498,7 +28498,7 @@
    (UNSPECV_AESENC256KLU8 "enc256kl")])
 
 (define_insn "aes<aesklvariant>u8"
-  [(set (match_operand:V2DI 0 "register_operand" "=v")
+  [(set (match_operand:V2DI 0 "register_operand" "=x")
 	(unspec_volatile:V2DI [(match_operand:V2DI 1 "register_operand" "0")
 			       (match_operand:BLK   2 "memory_operand" "m")]
 			      AESDECENCKL))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-26 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26 14:16 [gcc r12-7829] x86: Use x constraint on KL patterns H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).