From: Richard Kenner Date: Sun, 25 Oct 1992 01:04:41 +0000 (-0400) Subject: (movdi): Tests were in wrong order. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=062284d8632d9f5bb29770a92dcef0d4b5b1281f;p=gcc.git (movdi): Tests were in wrong order. From-SVN: r2596 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a47eaf256ce..15a2c511cf8 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -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 ""