public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: H.J. Lu <hjl@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-9701] x86: Use Yw constraint on *ssse3_pshufbv8qi3
Date: Mon, 28 Mar 2022 13:41:37 +0000 (GMT)	[thread overview]
Message-ID: <20220328134137.0794A3888C59@sourceware.org> (raw)

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

commit r11-9701-ga374915186ecab108c983a84b6afcede680100a4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Mar 27 11:07:39 2022 -0700

    x86: Use Yw constraint on *ssse3_pshufbv8qi3
    
    Since AVX512VL and AVX512BW are required for AVX512 VPSHUFB, replace the
    "Yv" register constraint with the "Yw" register constraint.
    
    gcc/
    
            PR target/105068
            * config/i386/sse.md (*ssse3_pshufbv8qi3): Replace "Yv" with
            "Yw".
    
    (cherry picked from commit 08e69332881f8d28ce8b559ffba1900ae5c0d5ee)

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 32c2036b3a2..56eb8849f36 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -17133,9 +17133,9 @@
 })
 
 (define_insn_and_split "*ssse3_pshufbv8qi3"
-  [(set (match_operand:V8QI 0 "register_operand" "=y,x,Yv")
-	(unspec:V8QI [(match_operand:V8QI 1 "register_operand" "0,0,Yv")
-		      (match_operand:V8QI 2 "register_mmxmem_operand" "ym,x,Yv")
+  [(set (match_operand:V8QI 0 "register_operand" "=y,x,Yw")
+	(unspec:V8QI [(match_operand:V8QI 1 "register_operand" "0,0,Yw")
+		      (match_operand:V8QI 2 "register_mmxmem_operand" "ym,x,Yw")
 		      (match_operand:V4SI 4 "reg_or_const_vector_operand"
 					  "i,3,3")]
 		     UNSPEC_PSHUFB))


                 reply	other threads:[~2022-03-28 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220328134137.0794A3888C59@sourceware.org \
    --to=hjl@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).