]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
x86: add missing "prefix" attribute to VF{,C}MULC
authorJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:50:42 +0000 (11:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Aug 2023 09:50:42 +0000 (11:50 +0200)
gcc/

* config/i386/sse.md
(<avx512>_<complexopname>_<mode><maskc_name><round_name>): Add
"prefix" attribute.
(avx512fp16_<complexopname>sh_v8hf<mask_scalarc_name><round_scalarcz_name>):
Likewise.

gcc/config/i386/sse.md

index 51d4eac81679ee307df97749cf5ed5094a9917e9..65389a3e05f5ce3c29c5ebfe777173713cca5385 100644 (file)
   return "v<complexopname><ssemodesuffix>\t{<round_maskc_op3>%2, %1, %0<maskc_operand3>|%0<maskc_operand3>, %1, %2<round_maskc_op3>}";
 }
   [(set_attr "type" "ssemul")
+   (set_attr "prefix" "evex")
    (set_attr "mode" "<MODE>")])
 
 (define_expand "avx512fp16_fmaddcsh_v8hf_maskz<round_expand_name>"
   return "v<complexopname>sh\t{<round_scalarc_mask_op3>%2, %1, %0<mask_scalarc_operand3>|%0<mask_scalarc_operand3>, %1, %2<round_scalarc_mask_op3>}";
 }
   [(set_attr "type" "ssemul")
+   (set_attr "prefix" "evex")
    (set_attr "mode" "V8HF")])
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;