[PATCH, i386]: Remove a couple of operand modifiers
Uros Bizjak
ubizjak@gmail.com
Mon Oct 28 11:35:00 GMT 2019
These are not needed for scalar operands.
2019-10-28 Uroš Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (sse_cvtss2si<rex64namesuffix>_2):
Remove %k operand modifier.
(*vec_extractv2df_1_sse): Remove %q operand modifier.
Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
Committed to mainline.
Uros.
-------------- next part --------------
Index: sse.md
===================================================================
--- sse.md (revision 277503)
+++ sse.md (working copy)
@@ -5324,7 +5324,7 @@
(unspec:SWI48 [(match_operand:SF 1 "nonimmediate_operand" "v,m")]
UNSPEC_FIX_NOTRUNC))]
"TARGET_SSE"
- "%vcvtss2si<rex64suffix>\t{%1, %0|%0, %k1}"
+ "%vcvtss2si<rex64suffix>\t{%1, %0|%0, %1}"
[(set_attr "type" "sseicvt")
(set_attr "athlon_decode" "double,vector")
(set_attr "amdfam10_decode" "double,double")
@@ -10147,7 +10147,7 @@
"!TARGET_SSE2 && TARGET_SSE
&& !(MEM_P (operands[0]) && MEM_P (operands[1]))"
"@
- movhps\t{%1, %0|%q0, %1}
+ movhps\t{%1, %0|%0, %1}
movhlps\t{%1, %0|%0, %1}
movlps\t{%H1, %0|%0, %H1}"
[(set_attr "type" "ssemov")
More information about the Gcc-patches
mailing list