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 Mar 11, 2005, at 11: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?

I think this is a great idea, in fact I wish we could produce some fp constants that are representable to be stored in 32bits, This will speed up things in general and reduce the memory overhead. I know that XLC does this already.

-- Pinski


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