https://gcc.gnu.org/g:c99bdfc459c669346514347a863f1a1e9266cea1
commit r15-9059-gc99bdfc459c669346514347a863f1a1e9266cea1 Author: Richard Biener <rguent...@suse.de> Date: Thu Mar 27 14:06:00 2025 +0100 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. Diff: --- gcc/config/i386/sse.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index ed5ac1abe80d..92dc93cb6532 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