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]

Re: powerpc & unaligned block moves with fp registers


>>>>> Richard Kenner writes:

> On some architectures, unaligned 64-bit loads and stores can cause
> alignment exceptions trapping to the OS to perform the load in pieces.

Richard> I think STRICT_ALIGNMENT should be true on such architectures.

	I guess I did not explain this clearly enough.  The DImode objects
do not need to be naturally aligned.  Following the definition of
STRICT_ALIGNMENT to 0, these instructions will work, just work more
slowly.

	We discussed STRICT_ALIGNMENT a few years ago and agreed that
STRICT_ALIGNMENT was not the solution.  This is why we expanded
SLOW_UNALIGNED_ACCESS in the first place.

David


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