From: Richard Kenner Date: Fri, 28 Jun 1996 18:23:55 +0000 (-0400) Subject: (movdi): Call alpha_emit_set_long_const. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e6c9f598a92fb22cea316e07382640d2fe221e6;p=gcc.git (movdi): Call alpha_emit_set_long_const. From-SVN: r12360 --- diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 826ffb1334d..873a72621c5 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -3489,6 +3489,19 @@ 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]);