OSDN Git Service

(movstricthi): Remove extraneous comparisons.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 19:04:36 +0000 (19:04 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 19:04:36 +0000 (19:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13890 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/m68k.md

index 95b77dc..fdb6eb2 100644 (file)
   ""
   "*
 {
-  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 TARGET_68010.  */
-         && ((TARGET_68020 || TARGET_5200)
-             || !(GET_CODE (operands[0]) == MEM
-                  && MEM_VOLATILE_P (operands[0]))))
-       return \"clr%.w %0\";
-    }
+  if (operands[1] == const0_rtx
+      /* clr insns on 68000 read before writing.
+        This isn't so on the 68010, but we have no TARGET_68010.  */
+      && ((TARGET_68020 || TARGET_5200)
+         || !(GET_CODE (operands[0]) == MEM && MEM_VOLATILE_P (operands[0]))))
+    return \"clr%.w %0\";
   return \"move%.w %1,%0\";
 }")