Patchwork [i386] : Two small corrections in i386.md

login
register
mail settings
Submitter Uros Bizjak
Date Jan. 12, 2012, 10:26 a.m.
Message ID <CAFULd4ZiN1+eV=tR8kU2ergG4hUYOOYbgurcHAp5gLmriYNeZg@mail.gmail.com>
Download mbox | patch
Permalink /patch/135613/
State New
Headers show

Comments

Uros Bizjak - Jan. 12, 2012, 10:26 a.m.
Hello!

2012-01-12  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template.
	(x86_shift<mode>_adj_1): Remove operand constraint from operand 3.

Bootstrapped and regression tested on x86_64-pc-linux-gnu.

No functional changes, committed.

Uros.

Patch

Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md (revision 183121)
+++ config/i386/i386.md (working copy)
@@ -3387,7 +3387,7 @@ 
         (match_operand:SI 1 "nonimmediate_operand" "rm,0,r   ,m  ,r   ,m")))]
   "TARGET_64BIT"
   "@
-   mov\t{%k1, %k0|%k0, %k1}
+   mov{l}\t{%1, %k0|%k0, %1}
    #
    movd\t{%1, %0|%0, %1}
    movd\t{%1, %0|%0, %1}
@@ -8995,7 +8995,7 @@ 
                            (match_dup 0)))
    (set (match_dup 1)
        (if_then_else:SWI48 (ne (reg:CCZ FLAGS_REG) (const_int 0))
-                           (match_operand:SWI48 3 "register_operand" "r")
+                           (match_operand:SWI48 3 "register_operand" "")
                            (match_dup 1)))]
   "TARGET_CMOVE"
   "operands[4] = GEN_INT (GET_MODE_BITSIZE (<MODE>mode));")