[PATCH] PowerPC extendsfdf2 MEM alternative

Geoff Keating geoffk@geoffk.org
Fri Mar 11 20:39:00 GMT 2005


On 11/03/2005, at 8:25 AM, David Edelsohn wrote:

> 	PowerPC always stores floating point values in double precision
> format.  That means loading a single precision value implicitly 
> extends it
> for use in a double precision instruction.  I think that the PowerPC
> extendsfdf2 pattern should advertise that it can extend from memory.
>
> 	Geoff, does this seem reasonable to you?  Any hidden gotchas?

No, that makes perfect sense.

> Bootstrapped and regression tested on powerpc-ibm-aix5.2.0.0.
>
> David
>
> 	* config/rs6000/rs6000.md (extendsfdf2_fpr): Add MEM alternative.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050311/f5695053/attachment.p7s>


More information about the Gcc-patches mailing list