aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-03-26 09:50:53 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-03-26 09:50:53 -0500
commit49d1cc6cdaf18842be0bda9800a089874d4e141a (patch)
treec88664c39f84dea211c7e81cd87b4aac3dcd49e5
parent02ed0c07c543650bbcee9842fc5ed0a299f04d07 (diff)
downloadgcc-49d1cc6cdaf18842be0bda9800a089874d4e141a.zip
gcc-49d1cc6cdaf18842be0bda9800a089874d4e141a.tar.gz
gcc-49d1cc6cdaf18842be0bda9800a089874d4e141a.tar.bz2
(fullword move): Call output_move_simode_const.
From-SVN: r11620
-rw-r--r--gcc/config/m68k/m68k.md22
1 files changed, 1 insertions, 21 deletions
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 207c7ef..ac6c87e 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -824,27 +824,7 @@
if (FPA_REG_P (operands[1]) || FPA_REG_P (operands[0]))
return \"fpmove%.l %x1,%x0\";
if (GET_CODE (operands[1]) == CONST_INT)
- {
- if (operands[1] == const0_rtx
- && (DATA_REG_P (operands[0])
- || GET_CODE (operands[0]) == MEM)
- /* clr insns on 68000 read before writing.
- This isn't so on the 68010, but we have no alternative for it. */
- && (TARGET_68020
- || !(GET_CODE (operands[0]) == MEM
- && MEM_VOLATILE_P (operands[0]))))
- return \"clr%.l %0\";
- else if (DATA_REG_P (operands[0]))
- return output_move_const_into_data_reg (operands);
- else if (ADDRESS_REG_P (operands[0])
- && INTVAL (operands[1]) < 0x8000
- && INTVAL (operands[1]) >= -0x8000)
- return \"move%.w %1,%0\";
- else if (push_operand (operands[0], SImode)
- && INTVAL (operands[1]) < 0x8000
- && INTVAL (operands[1]) >= -0x8000)
- return \"pea %a1\";
- }
+ return output_move_simode_const (operands);
else if ((GET_CODE (operands[1]) == SYMBOL_REF
|| GET_CODE (operands[1]) == CONST)
&& push_operand (operands[0], SImode))