This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA]: Fix reload of paradoxical subreg on big-endian platformswhen reg is in memory
Hi!
Jan Hubicka wrote:
> [...]
I see now:
else if (regno >= FIRST_PSEUDO_REGISTER
#ifdef LOAD_EXTEND_OP
&& (GET_MODE_SIZE (GET_MODE (x))
<= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))
#endif
^^^^ This will disqualify the paradoxical subregs entirely
Ok, I see your points. Removing the #ifdef creates the correct
behavior, probably better as it loads a byte in register instead of
a word (as you said).
Could we always enable this paradoxical subreg test then?
Stephane