mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 05:00:23 +08:00
reload.c (operands_match_p): Only increment register number for SCALAR_INT_MODE_P modes in multiple hard...
* reload.c (operands_match_p): Only increment register number for SCALAR_INT_MODE_P modes in multiple hard registers. From-SVN: r95519
This commit is contained in:
parent
2054fc29c2
commit
b436d71257
@ -1,3 +1,9 @@
|
||||
2005-02-24 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
PR target/19019
|
||||
* reload.c (operands_match_p): Only increment register number for
|
||||
SCALAR_INT_MODE_P modes in multiple hard registers.
|
||||
|
||||
2005-02-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
* ChangeLog.5: Fix log message typo(s).
|
||||
|
@ -2160,12 +2160,15 @@ operands_match_p (rtx x, rtx y)
|
||||
j = REGNO (y);
|
||||
|
||||
/* On a WORDS_BIG_ENDIAN machine, point to the last register of a
|
||||
multiple hard register group, so that for example (reg:DI 0) and
|
||||
(reg:SI 1) will be considered the same register. */
|
||||
multiple hard register group of scalar integer registers, so that
|
||||
for example (reg:DI 0) and (reg:SI 1) will be considered the same
|
||||
register. */
|
||||
if (WORDS_BIG_ENDIAN && GET_MODE_SIZE (GET_MODE (x)) > UNITS_PER_WORD
|
||||
&& SCALAR_INT_MODE_P (GET_MODE (x))
|
||||
&& i < FIRST_PSEUDO_REGISTER)
|
||||
i += hard_regno_nregs[i][GET_MODE (x)] - 1;
|
||||
if (WORDS_BIG_ENDIAN && GET_MODE_SIZE (GET_MODE (y)) > UNITS_PER_WORD
|
||||
&& SCALAR_INT_MODE_P (GET_MODE (y))
|
||||
&& j < FIRST_PSEUDO_REGISTER)
|
||||
j += hard_regno_nregs[j][GET_MODE (y)] - 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user