Skip to content

Commit 36ba4ee

Browse files
committed
Fix asm codegen for vfpclasss* instructions when using -masm=intel
1 parent a0cb762 commit 36ba4ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcc/config/i386/sse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29012,7 +29012,8 @@
2901229012
UNSPEC_FPCLASS)
2901329013
(const_int 1)))]
2901429014
"TARGET_AVX512DQ || VALID_AVX512FP16_REG_MODE(<MODE>mode)"
29015-
"vfpclass<ssescalarmodesuffix>\t{%2, %1, %0<mask_scalar_merge_operand3>|%0<mask_scalar_merge_operand3>, %1, %2}";
29015+
;; %X1 so that we don't emit any *WORD PTR for -masm=intel.
29016+
"vfpclass<ssescalarmodesuffix>\t{%2, %1, %0<mask_scalar_merge_operand3>|%0<mask_scalar_merge_operand3>, %X1, %2}";
2901629017
[(set_attr "type" "sse")
2901729018
(set_attr "length_immediate" "1")
2901829019
(set_attr "prefix" "evex")

0 commit comments

Comments
 (0)