Commit f66eb2af by Dale Johannesen Committed by Dale Johannesen

i386.md (movqi_1): Fix case where source is memory and destination EDI.

2005-06-07  Dale Johannesen  <dalej@apple.com>

        * config/i386/i386.md (movqi_1):  Fix case where source
        is memory and destination EDI.

From-SVN: r100740
parent e79df5ce
2005-06-07 Dale Johannesen <dalej@apple.com>
* config/i386/i386.md (movqi_1): Fix case where source
is memory and destination EDI.
2005-06-08 Kazu Hirata <kazu@codesourcery.com> 2005-06-08 Kazu Hirata <kazu@codesourcery.com>
* config/c4x/c4x.h (PREDICATE_CODES): Remove mem_operand. * config/c4x/c4x.h (PREDICATE_CODES): Remove mem_operand.
......
...@@ -1455,7 +1455,7 @@ ...@@ -1455,7 +1455,7 @@
;; partial register stall can be caused there. Then we use movzx. ;; partial register stall can be caused there. Then we use movzx.
(define_insn "*movqi_1" (define_insn "*movqi_1"
[(set (match_operand:QI 0 "nonimmediate_operand" "=q,q ,q ,r,r ,?r,m") [(set (match_operand:QI 0 "nonimmediate_operand" "=q,q ,q ,r,r ,?r,m")
(match_operand:QI 1 "general_operand" " q,qn,qm,q,rn,qm,qn"))] (match_operand:QI 1 "general_operand" " q,qn,qm,q,rn,m ,qn"))]
"GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM" "GET_CODE (operands[0]) != MEM || GET_CODE (operands[1]) != MEM"
{ {
switch (get_attr_type (insn)) switch (get_attr_type (insn))
...@@ -1471,7 +1471,9 @@ ...@@ -1471,7 +1471,9 @@
} }
} }
[(set (attr "type") [(set (attr "type")
(cond [(ne (symbol_ref "optimize_size") (const_int 0)) (cond [(eq_attr "alternative" "5")
(const_string "imovx")
(ne (symbol_ref "optimize_size") (const_int 0))
(const_string "imov") (const_string "imov")
(and (eq_attr "alternative" "3") (and (eq_attr "alternative" "3")
(ior (eq (symbol_ref "TARGET_PARTIAL_REG_STALL") (ior (eq (symbol_ref "TARGET_PARTIAL_REG_STALL")
...@@ -1479,7 +1481,7 @@ ...@@ -1479,7 +1481,7 @@
(eq (symbol_ref "TARGET_QIMODE_MATH") (eq (symbol_ref "TARGET_QIMODE_MATH")
(const_int 0)))) (const_int 0))))
(const_string "imov") (const_string "imov")
(eq_attr "alternative" "3,5") (eq_attr "alternative" "3")
(const_string "imovx") (const_string "imovx")
(and (ne (symbol_ref "TARGET_MOVX") (and (ne (symbol_ref "TARGET_MOVX")
(const_int 0)) (const_int 0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment