From 9e6c9f598a92fb22cea316e07382640d2fe221e6 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 28 Jun 1996 14:23:55 -0400 Subject: [PATCH] (movdi): Call alpha_emit_set_long_const. From-SVN: r12360 --- gcc/config/alpha/alpha.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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]); -- 2.30.2