diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-04 17:43:18 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-04 17:43:18 +0000 |
commit | 537ffcfc50a329aa4be838127266a1cb06083133 (patch) | |
tree | df66055b376252d4e98b02a6a2492ca9f4731ad2 /gcc/config/fr30 | |
parent | da31bd92c01701e2bf94aa2cdaf5a57e5ce21f42 (diff) | |
download | gcc-537ffcfc50a329aa4be838127266a1cb06083133.tar.gz |
* emit-rtl.c (replace_equiv_address): New function.
* expr.h (replace_equiv_address): New declaration.
* explow.c (validize_mem): Call it instead of change_address and
also call if -fforce-addr and address is constant.
* expr.c: Replace more calls to change_address with adjust_address
and/or replace_equiv_address or to validize_mem.
* function.c, regmove.c, config/alpha/alpha.c: Likewise.
* config/arm/arm.md, config/clipper/clipper.md: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i370/i370.md, config/i860/i860.md: Likewise.
* config/i960/i960.md, config/mips/mips.c: Likewise.
* config/mips/mips.md, config/pa/pa.md: Likewise.
* config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43762 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r-- | gcc/config/fr30/fr30.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c index 0c18c652e11..8fcad88314a 100644 --- a/gcc/config/fr30/fr30.c +++ b/gcc/config/fr30/fr30.c @@ -1007,7 +1007,7 @@ fr30_move_double (operands) if (reverse) { emit_insn (gen_rtx_SET (VOIDmode, dest1, - change_address (src, SImode, addr))); + adjust_address (src, SImode, 0))); emit_insn (gen_rtx_SET (SImode, dest0, gen_rtx_REG (SImode, REGNO (addr)))); emit_insn (gen_rtx_SET (SImode, dest0, @@ -1021,7 +1021,7 @@ fr30_move_double (operands) else { emit_insn (gen_rtx_SET (VOIDmode, dest0, - change_address (src, SImode, addr))); + adjust_address (src, SImode, 0))); emit_insn (gen_rtx_SET (SImode, dest1, gen_rtx_REG (SImode, REGNO (addr)))); emit_insn (gen_rtx_SET (SImode, dest1, @@ -1058,8 +1058,7 @@ fr30_move_double (operands) src0 = operand_subword (src, 0, TRUE, mode); src1 = operand_subword (src, 1, TRUE, mode); - emit_insn (gen_rtx_SET (VOIDmode, - change_address (dest, SImode, addr), + emit_insn (gen_rtx_SET (VOIDmode, adjust_address (dest, SImode, 0), src0)); if (REGNO (addr) == STACK_POINTER_REGNUM |