aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-03-27 14:06:00 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-03-31 08:17:11 +0200
commitc99bdfc459c669346514347a863f1a1e9266cea1 (patch)
treeba8c624ae379fc8a3950bbcd031c3ad8b2b0c2b8
parent3154ce9af0163d8d585455230e4c3eee44fbbd01 (diff)
downloadgcc-c99bdfc459c669346514347a863f1a1e9266cea1.zip
gcc-c99bdfc459c669346514347a863f1a1e9266cea1.tar.gz
gcc-c99bdfc459c669346514347a863f1a1e9266cea1.tar.bz2
target/119010 - add mode attribute to *vmovv16si_constm1_pternlog_false_dep
Like the other instances. This avoids ;; 1--> b 0: i6540 {xmm2=const_vector;unspec[xmm2] 38;} :nothing PR target/119010 * config/i386/sse.md (*vmov<mode>_constm1_pternlog_false_dep): Add mode attribute.
-rw-r--r--gcc/config/i386/sse.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index ed5ac1a..92dc93c 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -1571,7 +1571,11 @@
"TARGET_AVX512VL || <MODE_SIZE> == 64"
"vpternlogd\t{$0xFF, %0, %0, %0|%0, %0, %0, 0xFF}"
[(set_attr "type" "sselog1")
- (set_attr "prefix" "evex")])
+ (set_attr "prefix" "evex")
+ (set (attr "mode")
+ (if_then_else (match_test "TARGET_AVX512VL")
+ (const_string "<sseinsnmode>")
+ (const_string "XI")))])
;; If mem_addr points to a memory region with less than whole vector size bytes
;; of accessible memory and k is a mask that would prevent reading the inaccessible