Commit 02ccd511 by Richard Kenner

(movdi): Force use of "o" alternative if operand 1 is a MEM.

From-SVN: r5817
parent 4db92e9a
...@@ -306,8 +306,11 @@ ...@@ -306,8 +306,11 @@
operands[1] = force_reg (DImode, operands[1]); operands[1] = force_reg (DImode, operands[1]);
}") }")
;; If an operand is a MEM but not offsetable, we can't load it into
;; a register, so we must force the third alternative to be the one
;; reloaded. Hence we show the first as more expensive.
(define_insn "" (define_insn ""
[(set (match_operand:DI 0 "register_operand" "=r,r,r") [(set (match_operand:DI 0 "register_operand" "=?r,r,r")
(match_operand:DI 1 "general_operand" "r,n,o"))] (match_operand:DI 1 "general_operand" "r,n,o"))]
"" ""
"* "*
......
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