This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PING^3] Fix reloading of paradoxical subregs into even-only registers
On Tue, Aug 19, 2008 at 10:43 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Aug 19, 2008 at 10:35 AM, Michael Matz <matz@suse.de> wrote:
>
>>
>> It seems like a hack. Like I said I agree with Richards original analysis
>> and assessment of the situation (namely that generating subregs which
>> can't possibly be mapped to a hardreg is a bad idea, that always means
>> than HARD_REGNO_MODE_OK is defined inconsistent to the actual uses of
>
> Why do we need to check HARD_REGNO_MODE_OK when
> info.representable_p is set to true?
>
It seems to me that endian paradoxical subreg is a special case. Why not
handle it properly in subreg_get_info?
--
H.J.