diff mbox series

[i386] : Remove a couple of operand modifiers

Message ID CAFULd4YCm9y_XR-huZQ2k86er8D=RCH40Lw9OuByFCio5R2sjQ@mail.gmail.com
State New
Headers show
Series [i386] : Remove a couple of operand modifiers | expand

Commit Message

Uros Bizjak Oct. 28, 2019, 11:21 a.m. UTC
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.
diff mbox series

Patch

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")