public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Uros Bizjak <uros@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-8498] i386: Fix <any_extend:insn>v4qiv4di2 expander
Date: Wed,  2 Jun 2021 09:47:17 +0000 (GMT)	[thread overview]
Message-ID: <20210602094717.BB6593857817@sourceware.org> (raw)

https://gcc.gnu.org/g:6ccf749b5921b7aef1d425d793219cfbf4c05a9c

commit r11-8498-g6ccf749b5921b7aef1d425d793219cfbf4c05a9c
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Tue May 18 15:56:22 2021 +0200

    i386: Fix <any_extend:insn>v4qiv4di2 expander
    
    Fix a mode mismatch.
    
    2021-05-18  Uroš Bizjak  <ubizjak@gmail.com>
    
    gcc/
            * config/i386/sse.md (<any_extend:insn>v4qiv4di2):
            Fix a mode mismatch with operand 1.
    
    (cherry picked from commit 8b9484c54b4000209d4bfb270e22c9c8b9673fdb)

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

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 9d3728d1cb0..b1876dc9021 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -18431,8 +18431,8 @@
 {
   if (!MEM_P (operands[1]))
     {
-      operands[1] = force_reg (V8QImode, operands[1]);
-      operands[1] = simplify_gen_subreg (V16QImode, operands[1], V8QImode, 0);
+      operands[1] = force_reg (V4QImode, operands[1]);
+      operands[1] = simplify_gen_subreg (V16QImode, operands[1], V4QImode, 0);
       emit_insn (gen_avx2_<code>v4qiv4di2 (operands[0], operands[1]));
       DONE;
     }


                 reply	other threads:[~2021-06-02  9:47 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=20210602094717.BB6593857817@sourceware.org \
    --to=uros@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).