aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1998-03-26 10:44:22 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1998-03-26 10:44:22 +0000
commit812f205146d174f71073ac23f51d362c1bc11575 (patch)
treeb18dac3add5f9a70edef18d3f253fca7a887d445 /gcc/reload1.c
parent49bf0d6f8011a1a6c7fddfba237dcf42855fa1a4 (diff)
downloadgcc-812f205146d174f71073ac23f51d362c1bc11575.zip
gcc-812f205146d174f71073ac23f51d362c1bc11575.tar.gz
gcc-812f205146d174f71073ac23f51d362c1bc11575.tar.bz2
regclass.c (record_reg_classes): '?' increases cost by two.
* regclass.c (record_reg_classes): '?' increases cost by two. * reload.c (find_reloads): Double previous costs. Output reloads cost one unit extra. * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that boiled down to && ! 0. * reload.c (find_equiv_reg): Also consider a goal offset from the frame pointer to be constant. From-SVN: r18842
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 6b2720a..aeb2a62 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -3133,18 +3133,6 @@ eliminate_regs (x, mem_mode, insn)
#endif
)
|| (x_size == new_size))
-#ifdef LOAD_EXTEND_OP
- /* On these machines we will be reloading what is
- inside the SUBREG if it originally was a pseudo and
- the inner and outer modes are both a word or
- smaller. So leave the SUBREG then. */
- && ! (GET_CODE (SUBREG_REG (x)) == REG
- && x_size <= UNITS_PER_WORD
- && new_size <= UNITS_PER_WORD
- && x_size > new_size
- && INTEGRAL_MODE_P (GET_MODE (new))
- && LOAD_EXTEND_OP (GET_MODE (new)) != NIL)
-#endif
)
{
int offset = SUBREG_WORD (x) * UNITS_PER_WORD;