aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-24 00:32:54 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-24 00:32:54 +0000
commite51f0f4f35c0b798d50328b7d25c136944105f56 (patch)
treefacaf5f3e7d884da07c5ea43600c5fce017e32c5 /gcc/expr.c
parent15469812ac10f2c390e1da454a5dbf3635c9d690 (diff)
downloadgcc-e51f0f4f35c0b798d50328b7d25c136944105f56.zip
gcc-e51f0f4f35c0b798d50328b7d25c136944105f56.tar.gz
gcc-e51f0f4f35c0b798d50328b7d25c136944105f56.tar.bz2
add default for HAVE_load_multiple
gcc/ChangeLog: 2015-05-23 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (gen_load_multiple): New function. (HAVE_load_multiple): Add default value. * expr.c (move_block_to_reg): Adjust. From-SVN: r223623
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 3605e99..c4b39f4 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -1507,10 +1507,8 @@ void
move_block_to_reg (int regno, rtx x, int nregs, machine_mode mode)
{
int i;
-#ifdef HAVE_load_multiple
rtx pat;
rtx_insn *last;
-#endif
if (nregs == 0)
return;
@@ -1519,7 +1517,6 @@ move_block_to_reg (int regno, rtx x, int nregs, machine_mode mode)
x = validize_mem (force_const_mem (mode, x));
/* See if the machine can do this with a load multiple insn. */
-#ifdef HAVE_load_multiple
if (HAVE_load_multiple)
{
last = get_last_insn ();
@@ -1533,7 +1530,6 @@ move_block_to_reg (int regno, rtx x, int nregs, machine_mode mode)
else
delete_insns_since (last);
}
-#endif
for (i = 0; i < nregs; i++)
emit_move_insn (gen_rtx_REG (word_mode, regno + i),