public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2312] x86: allow memory operand for AVX2 splitter for PR target/100711
@ 2023-07-05  7:49 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-07-05  7:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3186ef0cb9e2d25e8455f9990e50187e3d1eee19

commit r14-2312-g3186ef0cb9e2d25e8455f9990e50187e3d1eee19
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Jul 5 09:48:19 2023 +0200

    x86: allow memory operand for AVX2 splitter for PR target/100711
    
    The intended broadcast (with AVX512) can very well be done right from
    memory.
    
    gcc/
    
            PR target/100711
            * config/i386/sse.md: Permit non-immediate operand 1 in AVX2
            form of splitter for PR target/100711.

Diff:
---
 gcc/config/i386/sse.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 2e6994e9eb6..ab9fd675d7e 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -17356,7 +17356,7 @@
 	(and:VI_AVX2
 	  (vec_duplicate:VI_AVX2
 	    (not:<ssescalarmode>
-	      (match_operand:<ssescalarmode> 1 "register_operand")))
+	      (match_operand:<ssescalarmode> 1 "nonimmediate_operand")))
 	  (match_operand:VI_AVX2 2 "vector_operand")))]
   "TARGET_AVX2"
   [(set (match_dup 3)

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

only message in thread, other threads:[~2023-07-05  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-05  7:49 [gcc r14-2312] x86: allow memory operand for AVX2 splitter for PR target/100711 Jan Beulich

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