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


>>>>> DJ Delorie writes:

DJ> Um, the 603e in big-endian mode can do unaligned integer moves all by
DJ> itself, but traps sufficiently unaligned fp moves, according to the
DJ> programming manual from Motorola.  I'm not sure why you'd think that
DJ> it's the operating system's fault that it's doing this, especially in
DJ> an embedded system with no operating system.

	Because this is a performance issue.  SLOW_UNALIGNED_ACCESS
already discourages "sufficiently unaligned fp moves".  Only the
customer's OS requires stricter alignment just for FPRs.  The current
definition of SLOW_UNALIGNED_ACCESS is good for everyone else.

David


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