(fullword move): Call output_move_simode_const.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Mar 1996 14:50:53 +0000 (09:50 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Mar 1996 14:50:53 +0000 (09:50 -0500)
From-SVN: r11620

gcc/config/m68k/m68k.md

index 207c7ef542c26fa1c227ab46d7d1d52b15e4a80a..ac6c87e0126fbba2a1d67776ca6caa6f8876d002 100644 (file)
   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))