This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Hookize SMALL_REGISTER_CLASSES


2010/5/3 Toon Moene <toon@moene.org>:
> On 05/03/2010 09:29 PM, Uros Bizjak wrote:
>
>> As mentioned elsewhere, all registers can be accessed as 8bit or 16bit
>> in addition to 32bit and 64bit on x86_64.
>
> I tend to agree. ?What about having the hook be:
>
>> + ?/* On 32-bits x86, all register classes are considered small. ?*/
>> + ?if (! TARGET_64BIT)
>> + ? ?return true;
>> + ?else
>> + ? ?return false;
>
> ?

And here I was fearing I was too optimistic with my conservative
approach. But fine by me, if it works ;-)

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]