aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-07 20:13:34 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-07 20:13:34 +0000
commit595b6314cfd5cd08cabdcb3949bf7db369fa5d19 (patch)
tree407d05d6a3ced235f8fe7dfa20dfdd6917856566 /gcc
parent286f759e56a0d3e69c928755411680ec202df51d (diff)
downloadgcc-595b6314cfd5cd08cabdcb3949bf7db369fa5d19.zip
gcc-595b6314cfd5cd08cabdcb3949bf7db369fa5d19.tar.gz
gcc-595b6314cfd5cd08cabdcb3949bf7db369fa5d19.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/alpha/alpha.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 04b32b9..f326c57 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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 <aldyh@redhat.com>
* doc/extend.texi (Variable Attributes): Document vector_size.
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 66fd6c0..e545182 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;