Re: weird impact of lower-subreg on IRA/reload

2012-02-16 Thread Richard Henderson
On 02/15/2012 09:25 AM, Vladimir Makarov wrote: > IRA deals well with subregs of multi-register pseudos but not with subregs of > one-register pseudos. For the record, since it seems you misunderstood, all of the examples in this case are of the former type not the later. r~

Re: weird impact of lower-subreg on IRA/reload

2012-02-16 Thread Georg-Johann Lay
Vladimir Makarov wrote: > On 02/15/2012 09:21 AM, Georg-Johann Lay wrote: >> This is a question on SUBREGs generated by lower-subreg.c and whether >> register >> allocator is supposed to handle them efficiently. >> >> Suppose the following small function compiled for AVR. >> Remember AVR is 8-bit m

Re: weird impact of lower-subreg on IRA/reload

2012-02-15 Thread Vladimir Makarov
On 02/15/2012 09:21 AM, Georg-Johann Lay wrote: This is a question on SUBREGs generated by lower-subreg.c and whether register allocator is supposed to handle them efficiently. Suppose the following small function compiled for AVR. Remember AVR is 8-bit machine with int = HImode and UNITS_PER_WO