Commit 3b39dde8 by Jeffrey A Law Committed by Jeff Law

* Disable the following change from gcc2. Not appropriate for egcs:

        Sun Jun  7 09:30:31 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * reload.c (find_reloads): Give preference to pseudo that was the
        reloaded output of previous insn.

From-SVN: r20955
parent 6c011b01
Mon Jul 6 21:28:14 1998 Jeffrey A Law (law@cygnus.com)
* Disable the following change from gcc2. Not appropriate for egcs:
Sun Jun 7 09:30:31 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* reload.c (find_reloads): Give preference to pseudo that was the
reloaded output of previous insn.
Mon Jul 6 21:07:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Mon Jul 6 21:07:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF.
......
...@@ -3222,14 +3222,20 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -3222,14 +3222,20 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
&& this_alternative_matches[i] < 0) && this_alternative_matches[i] < 0)
bad = 1; bad = 1;
#if 0
/* If this is a pseudo-register that is set in the previous /* If this is a pseudo-register that is set in the previous
insns, there's a good chance that it will already be in a insns, there's a good chance that it will already be in a
spill register and we can use that spill register. So spill register and we can use that spill register. So
make this case cheaper. */ make this case cheaper.
Disabled for egcs. egcs has better inheritance code and
this change causes problems with the improved reload
inheritance code. */
if (GET_CODE (operand) == REG if (GET_CODE (operand) == REG
&& REGNO (operand) >= FIRST_PSEUDO_REGISTER && REGNO (operand) >= FIRST_PSEUDO_REGISTER
&& REGNO (operand) == last_output_reload_regno) && REGNO (operand) == last_output_reload_regno)
reject--; reject--;
#endif
/* If this is a constant that is reloaded into the desired /* If this is a constant that is reloaded into the desired
class by copying it to memory first, count that as another class by copying it to memory first, count that as another
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment