OSDN Git Service

(fullword move): Call output_move_simode_const.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 1996 14:50:53 +0000 (14:50 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 1996 14:50:53 +0000 (14:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11620 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/m68k.md

index 207c7ef..ac6c87e 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))