aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x/c4x.c
diff options
context:
space:
mode:
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>2001-01-23 06:28:15 +0100
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-23 05:28:15 +0000
commiteb253d90defe2e01ffb187eb7d5921d8e4343f95 (patch)
treee06dab1c78963214db9f3b554081d79ffabc5dc9 /gcc/config/c4x/c4x.c
parent2caa0ddfc92ef326520e9e2467297435ecdf99e5 (diff)
downloadgcc-eb253d90defe2e01ffb187eb7d5921d8e4343f95.zip
gcc-eb253d90defe2e01ffb187eb7d5921d8e4343f95.tar.gz
gcc-eb253d90defe2e01ffb187eb7d5921d8e4343f95.tar.bz2
c4x-protos.h (c4x_legitimize_reload_address): Remove.
* c4x-protos.h (c4x_legitimize_reload_address): Remove. * c4x.c (c4x_legitimize_reload_address): Remove. * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct reload address for ldp(k) insn. From-SVN: r39194
Diffstat (limited to 'gcc/config/c4x/c4x.c')
-rw-r--r--gcc/config/c4x/c4x.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index 3ce7987..346459f 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1679,32 +1679,6 @@ c4x_legitimize_address (orig, mode)
}
-rtx
-c4x_legitimize_reload_address (orig, mode, insn)
- rtx orig ATTRIBUTE_UNUSED;
- enum machine_mode mode;
- rtx insn;
-{
- if (mode != HImode
- && mode != HFmode
- && GET_MODE (orig) != HImode
- && GET_MODE (orig) != HFmode
- && (GET_CODE (orig) == CONST
- || GET_CODE (orig) == SYMBOL_REF
- || GET_CODE (orig) == LABEL_REF))
- {
- rtx dp_reg = gen_rtx_REG (Pmode, DP_REGNO);
- if (! TARGET_SMALL)
- emit_insn_before (gen_rtx_SET (VOIDmode, dp_reg,
- gen_rtx_HIGH (Pmode, orig)),
- insn);
- return gen_rtx_LO_SUM (Pmode, dp_reg, orig);
- }
-
- return NULL_RTX;
-}
-
-
/* Provide the costs of an addressing mode that contains ADDR.
If ADDR is not a valid address, its cost is irrelevant.
This is used in cse and loop optimisation to determine