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] PowerPC extendsfdf2 MEM alternative



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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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