Put back "register_operand" check in 32bit QI ext patterns.
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 25 May 2011 19:27:56 +0000 (19:27 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 25 May 2011 19:27:56 +0000 (12:27 -0700)
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.

From-SVN: r174223

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