Put back "register_operand" check in 32bit QI ext patterns.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 19:27:56 +0000 (19:27 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 19:27:56 +0000 (19:27 +0000)
2011-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (*movqi_extv_1)): Put back
"register_operand" check in "type" calculation.
(*movqi_extzv_2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174223 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.md

index ed1834f..1afef8e 100644 (file)
@@ -1,5 +1,11 @@
 2011-05-25  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * config/i386/i386.md (*movqi_extv_1)): Put back
+       "register_operand" check in "type" calculation.
+       (*movqi_extzv_2): Likewise.
+
+2011-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
        * doc/extend.texi (X86 Built-in Functions): Update pause
        intrinsic.
 
index 1cdbe7e..13a1cde 100644 (file)
     }
 }
   [(set (attr "type")
-     (if_then_else (ior (not (match_operand:QI 0 "QIreg_operand" ""))
-                       (ne (symbol_ref "TARGET_MOVX")
-                           (const_int 0)))
+     (if_then_else (and (match_operand:QI 0 "register_operand" "")
+                       (ior (not (match_operand:QI 0 "QIreg_operand" ""))
+                            (ne (symbol_ref "TARGET_MOVX")
+                                (const_int 0))))
        (const_string "imovx")
        (const_string "imov")))
    (set (attr "mode")
     }
 }
   [(set (attr "type")
-     (if_then_else (ior (not (match_operand:QI 0 "QIreg_operand" ""))
-                       (ne (symbol_ref "TARGET_MOVX")
-                           (const_int 0)))
+     (if_then_else (and (match_operand:QI 0 "register_operand" "")
+                       (ior (not (match_operand:QI 0 "QIreg_operand" ""))
+                            (ne (symbol_ref "TARGET_MOVX")
+                                (const_int 0))))
        (const_string "imovx")
        (const_string "imov")))
    (set (attr "mode")