diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-24 21:04:41 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-24 21:04:41 -0400 |
commit | 062284d8632d9f5bb29770a92dcef0d4b5b1281f (patch) | |
tree | 4b3f370a3805d447a9f5f041c72ae78806b409b2 /gcc | |
parent | 27a2a2f19cbf85174d62585e8f7418972a69aaf0 (diff) | |
download | gcc-062284d8632d9f5bb29770a92dcef0d4b5b1281f.zip gcc-062284d8632d9f5bb29770a92dcef0d4b5b1281f.tar.gz gcc-062284d8632d9f5bb29770a92dcef0d4b5b1281f.tar.bz2 |
(movdi): Tests were in wrong order.
From-SVN: r2596
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a47eaf2..15a2c51 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 "" |