Skip to content

Commit

Permalink
Fix asm codegen for vfpclasss* instructions when using -masm=intel
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Sep 23, 2024
1 parent a0cb762 commit 36ba4ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcc/config/i386/sse.md
Original file line number Diff line number Diff line change
Expand Up @@ -29012,7 +29012,8 @@
UNSPEC_FPCLASS)
(const_int 1)))]
"TARGET_AVX512DQ || VALID_AVX512FP16_REG_MODE(<MODE>mode)"
"vfpclass<ssescalarmodesuffix>\t{%2, %1, %0<mask_scalar_merge_operand3>|%0<mask_scalar_merge_operand3>, %1, %2}";
;; %X1 so that we don't emit any *WORD PTR for -masm=intel.
"vfpclass<ssescalarmodesuffix>\t{%2, %1, %0<mask_scalar_merge_operand3>|%0<mask_scalar_merge_operand3>, %X1, %2}";
[(set_attr "type" "sse")
(set_attr "length_immediate" "1")
(set_attr "prefix" "evex")
Expand Down

0 comments on commit 36ba4ee

Please sign in to comment.