From 062284d8632d9f5bb29770a92dcef0d4b5b1281f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 24 Oct 1992 21:04:41 -0400 Subject: [PATCH] (movdi): Tests were in wrong order. From-SVN: r2596 --- gcc/config/rs6000/rs6000.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 "" -- 2.30.2