This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Register Allocation Pref. in 3.3.3
On Tue, Feb 23, 2010 at 2:26 PM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> On 23/02/2010 13:23, Paulo J. Matos wrote:
>
>> That would make sense if the rtx is a set but in this case it is not.
>> local-alloc.c:set_preference, line 1612 in particular, is called with:
>> CALL set_preference
>> dest:
>> (reg/f:QI 31)
>> src:
>> (plus:QI (reg/f:QI 6 Y)
>> Â Â Â Â Â Â (reg:QI 215))
>
> ÂSo precisely what are those the "src" and "dest" of, then, if not a set rtx?
>
Well, the dest and src are from a set, but the line setting preference
on operands[0] is doing it on the operands of src. So operand[0] of
src is (reg/f:QI 6 Y)!
> Â Âcheers,
> Â Â ÂDaveK
>
>
--
PMatos