From: Richard Biener Date: Thu, 27 Mar 2025 13:06:00 +0000 (+0100) Subject: target/119010 - add mode attribute to *vmovv16si_constm1_pternlog_false_dep X-Git-Tag: basepoints/gcc-16~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99bdfc459c669346514347a863f1a1e9266cea1;p=thirdparty%2Fgcc.git 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_constm1_pternlog_false_dep): Add mode attribute. --- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index ed5ac1abe80..92dc93cb653 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -1571,7 +1571,11 @@ "TARGET_AVX512VL || == 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 "") + (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