PATCH: Properly generate X32 IE sequence

H.J. Lu hjl.tools@gmail.com
Tue Mar 20 15:52:00 GMT 2012


On Tue, Mar 20, 2012 at 4:19 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Mar 20, 2012 at 09:58:29AM +0100, Jakub Jelinek wrote:
>> Yeah, my bootstrap just failed the same.  Will test:
>>
>> 2012-03-20  Jakub Jelinek  <jakub@redhat.com>
>>
>>       * config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>:
>>       If operand isn't UNSPEC, return 0.
>
> Committed as obvious now that bootstrap/regtest finished on x86_64-linux
> and i686-linux.
>
>> --- gcc/config/i386/i386.c.jj 2012-03-20 09:35:06.000000000 +0100
>> +++ gcc/config/i386/i386.c    2012-03-20 09:56:35.038835835 +0100
>> @@ -11516,6 +11516,8 @@ ix86_decompose_address (rtx addr, struct
>>
>>           case ZERO_EXTEND:
>>             op = XEXP (op, 0);
>> +           if (GET_CODE (op) != UNSPEC)
>> +             return 0;
>>             /* FALLTHRU */
>>
>>           case UNSPEC:
>

Uros,

I think use the OS provided instruction to load TP into DImode register
could simplify the code.


-- 
H.J.



More information about the Gcc-patches mailing list