[PATCH] [POWERPC] Fix PR44419

Edmar Wienskoski-RA8797 edmar@freescale.com
Fri Jun 4 21:21:00 GMT 2010


Peter Bergner wrote:
> On Fri, 2010-06-04 at 15:49 -0500, Edmar Wienskoski-RA8797 wrote:
>   
>>  ; These modes do not fit in integer registers in 32-bit mode.
>> -(define_mode_iterator DIFD [DI DF DD])
>> +; but on e500v2, the gpr are 64 bit registers
>> +(define_mode_iterator DIFD [DI (DF "!TARGET_E500_DOUBLE") DD])
>>     
>
> DDmode needs to be handled similarly to DFmode, so this should
> probably look like:
>
> (define_mode_iterator DIFD
>   [DI
>    (DF "!TARGET_E500_DOUBLE")
>    (DD "!TARGET_E500_DOUBLE")])
>
> I think the above is what you mentioned you were going to test when
> we last talked offline.
>
> Peter
>
>   
I found through testing that that is not the case. The e500v2 behaves 
like the rest of powerpc
architectures in regards of DD mode. It is only DF mode that the 
behavior is different.

Edmar



More information about the Gcc-patches mailing list