(movdi): Call alpha_emit_set_long_const.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 28 Jun 1996 18:23:55 +0000 (14:23 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 28 Jun 1996 18:23:55 +0000 (14:23 -0400)
From-SVN: r12360

gcc/config/alpha/alpha.md

index 826ffb1..873a726 100644 (file)
       else
        operands[1] = tem;
     }
+  else if (TARGET_BUILD_CONSTANTS
+          && GET_CODE (operands[1]) == CONST_INT)
+    {
+#if HOST_BITS_PER_WIDE_INT == 64
+      tem = alpha_emit_set_long_const (operands[0], INTVAL (operands[1]));
+      if (rtx_equal_p (tem, operands[0]))
+       DONE;
+      else
+       operands[1] = tem;
+#else
+      abort();
+#endif
+    }
   else if (CONSTANT_P (operands[1]))
     {
       operands[1] = force_const_mem (DImode, operands[1]);