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


>>>>> Mike Stump writes:

Mike> The compiler is allowed to produce inefficient code, the compiler isn't 
Mike> allowed to produce code that doesn't work.  To do so, would be a bug.  
Mike> Now, the bug may me that gcc always assumes the existence of a trap 
Mike> handler to do the move and hasn't been ported to a ppc without such a 
Mike> handler, or the bug may be that the backend can't assume that and must 
Mike> generate a move by pieces style code.

	If GCC is generating code for a PowerPC target that cannot handle
alignment traps, the compiler should be invoked with the -mstrict-align
commandline option. 

David


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