This is the mail archive of the gcc@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: Unaligned floating point access generation for powerpc


>>>>> Olivier Hainque writes:

Olivier> I was not expecting the compiler to produce efficient code :)

Olivier> Still, generating a trap seems a bit too strong an alternative, especially
Olivier> when the target environment may not have a handler to deal with it.

Olivier> Wouldn't there be a way to have inefficient aligned loads and mask and others
Olivier> instead ?


Olivier> Olivier
 
	The rs6000 MD already lists SFmode and DFmode as slow unaligned
access.  Maybe there are more places in the common parts of the compiler
that need to use that cost metric.

David


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