Commit 403c659c by David Edelsohn Committed by David Edelsohn

reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs with inner_regno, not regno.

        * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs
        with inner_regno, not regno.
        * rtlanal.c (refers_to_regno_p): Same.

From-SVN: r77370
parent 5b547172
2004-02-05 David Edelsohn <edelsohn@gnu.org>
* reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs
with inner_regno, not regno.
* rtlanal.c (refers_to_regno_p): Same.
2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
* config.gcc: Remove i370 support.
......
......@@ -6188,8 +6188,8 @@ refers_to_regno_for_reload_p (unsigned int regno, unsigned int endregno,
{
unsigned int inner_regno = subreg_regno (x);
unsigned int inner_endregno
= inner_regno + (regno < FIRST_PSEUDO_REGISTER
? hard_regno_nregs[regno][GET_MODE (x)] : 1);
= inner_regno + (inner_regno < FIRST_PSEUDO_REGISTER
? hard_regno_nregs[inner_regno][GET_MODE (x)] : 1);
return endregno > inner_regno && regno < inner_endregno;
}
......
......@@ -1449,8 +1449,8 @@ refers_to_regno_p (unsigned int regno, unsigned int endregno, rtx x,
{
unsigned int inner_regno = subreg_regno (x);
unsigned int inner_endregno
= inner_regno + (regno < FIRST_PSEUDO_REGISTER
? hard_regno_nregs[regno][GET_MODE (x)] : 1);
= inner_regno + (inner_regno < FIRST_PSEUDO_REGISTER
? hard_regno_nregs[inner_regno][GET_MODE (x)] : 1);
return endregno > inner_regno && regno < inner_endregno;
}
......
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