From 595b6314cfd5cd08cabdcb3949bf7db369fa5d19 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 7 Dec 2001 20:13:34 +0000 Subject: [PATCH] alpha.c (alpha_expand_unaligned_store, [...]): Use constm1_rtx in place of call to immed_double_const. * alpha.c (alpha_expand_unaligned_store, alpha_expand_unaligned_store_words): Use constm1_rtx in place of call to immed_double_const. From-SVN: r47770 --- gcc/ChangeLog | 6 ++++++ gcc/config/alpha/alpha.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04b32b92140..f326c578489 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-12-07 Kaveh R. Ghazi + + * alpha.c (alpha_expand_unaligned_store, + alpha_expand_unaligned_store_words): Use constm1_rtx in place of + call to immed_double_const. + 2001-12-07 Aldy Hernandez * doc/extend.texi (Variable Attributes): Document vector_size. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 66fd6c05dc4..e5451824741 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -3628,7 +3628,7 @@ alpha_expand_unaligned_store (dst, src, size, ofs) #if HOST_BITS_PER_WIDE_INT == 32 rtx msk = immed_double_const (0xffffffff, 0xffffffff, DImode); #else - rtx msk = immed_double_const (0xffffffffffffffff, 0, DImode); + rtx msk = constm1_rtx; #endif emit_insn (gen_mskxl_be (dsth, dsth, msk, addr)); } @@ -3675,7 +3675,7 @@ alpha_expand_unaligned_store (dst, src, size, ofs) #if HOST_BITS_PER_WIDE_INT == 32 rtx msk = immed_double_const (0xffffffff, 0xffffffff, DImode); #else - rtx msk = immed_double_const (0xffffffffffffffff, 0, DImode); + rtx msk = constm1_rtx; #endif emit_insn (gen_mskxl_le (dstl, dstl, msk, addr)); } @@ -3807,7 +3807,7 @@ alpha_expand_unaligned_store_words (data_regs, dmem, words, ofs) #if HOST_BITS_PER_WIDE_INT == 32 rtx const im1 = immed_double_const (0xffffffff, 0xffffffff, DImode); #else - rtx const im1 = immed_double_const (0xffffffffffffffff, 0, DImode); + rtx const im1 = constm1_rtx; #endif rtx ins_tmps[MAX_MOVE_WORDS]; rtx st_tmp_1, st_tmp_2, dreg; -- 2.30.2