public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-879] i386: Fix <any_extend:insn>v4qiv4di2 expander
@ 2021-05-18 13:56 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2021-05-18 13:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8b9484c54b4000209d4bfb270e22c9c8b9673fdb

commit r12-879-g8b9484c54b4000209d4bfb270e22c9c8b9673fdb
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.

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 62f4e15f58c..a4503ddcb73 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -18558,8 +18558,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;
     }


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

only message in thread, other threads:[~2021-05-18 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 13:56 [gcc r12-879] i386: Fix <any_extend:insn>v4qiv4di2 expander Uros Bizjak

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).