Commit 062284d8 by Richard Kenner

(movdi): Tests were in wrong order.

From-SVN: r2596
parent 27a2a2f1
...@@ -2480,11 +2480,8 @@ ...@@ -2480,11 +2480,8 @@
"" ""
" "
{ {
if (GET_CODE (operands[0]) == MEM) if (GET_CODE (operands[1]) == CONST_DOUBLE
operands[1] = force_reg (DImode, operands[1]); || GET_CODE (operands[1]) == CONST_INT)
else if (GET_CODE (operands[1]) == CONST_DOUBLE
|| GET_CODE (operands[1]) == CONST_INT)
{ {
emit_move_insn (operand_subword (operands[0], 0, 0, DImode), emit_move_insn (operand_subword (operands[0], 0, 0, DImode),
operand_subword (operands[1], 0, 0, DImode)); operand_subword (operands[1], 0, 0, DImode));
...@@ -2492,6 +2489,9 @@ ...@@ -2492,6 +2489,9 @@
operand_subword (operands[1], 1, 0, DImode)); operand_subword (operands[1], 1, 0, DImode));
DONE; DONE;
} }
if (GET_CODE (operands[0]) == MEM)
operands[1] = force_reg (DImode, operands[1]);
}") }")
(define_insn "" (define_insn ""
......
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