Put back "register_operand" check in 32bit QI ext patterns.

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
This commit is contained in:
H.J. Lu 2011-05-25 19:27:56 +00:00 committed by H.J. Lu
parent b5a3450ff7
commit e470affed0
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
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> 2011-05-25 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi (X86 Built-in Functions): Update pause * doc/extend.texi (X86 Built-in Functions): Update pause

View File

@ -2514,9 +2514,10 @@
} }
} }
[(set (attr "type") [(set (attr "type")
(if_then_else (ior (not (match_operand:QI 0 "QIreg_operand" "")) (if_then_else (and (match_operand:QI 0 "register_operand" "")
(ne (symbol_ref "TARGET_MOVX") (ior (not (match_operand:QI 0 "QIreg_operand" ""))
(const_int 0))) (ne (symbol_ref "TARGET_MOVX")
(const_int 0))))
(const_string "imovx") (const_string "imovx")
(const_string "imov"))) (const_string "imov")))
(set (attr "mode") (set (attr "mode")
@ -2578,9 +2579,10 @@
} }
} }
[(set (attr "type") [(set (attr "type")
(if_then_else (ior (not (match_operand:QI 0 "QIreg_operand" "")) (if_then_else (and (match_operand:QI 0 "register_operand" "")
(ne (symbol_ref "TARGET_MOVX") (ior (not (match_operand:QI 0 "QIreg_operand" ""))
(const_int 0))) (ne (symbol_ref "TARGET_MOVX")
(const_int 0))))
(const_string "imovx") (const_string "imovx")
(const_string "imov"))) (const_string "imov")))
(set (attr "mode") (set (attr "mode")