(movdi): Tests were in wrong order.

From-SVN: r2596
This commit is contained in:
Richard Kenner 1992-10-24 21:04:41 -04:00
parent 27a2a2f19c
commit 062284d863
1 changed files with 5 additions and 5 deletions

View File

@ -2480,11 +2480,8 @@
""
"
{
if (GET_CODE (operands[0]) == MEM)
operands[1] = force_reg (DImode, operands[1]);
else if (GET_CODE (operands[1]) == CONST_DOUBLE
|| GET_CODE (operands[1]) == CONST_INT)
if (GET_CODE (operands[1]) == CONST_DOUBLE
|| GET_CODE (operands[1]) == CONST_INT)
{
emit_move_insn (operand_subword (operands[0], 0, 0, DImode),
operand_subword (operands[1], 0, 0, DImode));
@ -2492,6 +2489,9 @@
operand_subword (operands[1], 1, 0, DImode));
DONE;
}
if (GET_CODE (operands[0]) == MEM)
operands[1] = force_reg (DImode, operands[1]);
}")
(define_insn ""