*more* alignment problems
Michael Meissner
meissner@cygnus.com
Thu Mar 30 13:48:00 GMT 2000
On Mon, Mar 30, 1970 at 04:26:33PM -0500, Richard Kenner wrote:
> Because all of those bitfield functions were manipulating alignment in
> bytes, the SLOW_UNALIGNED_ACCESS macro expects the alignment to be
> bytes. The primary question for SLOW_UNALIGNED_ACCESS is whether the
> alignment is less than the natural alignment for the type, usually in
> granularity of bytes, not bits.
>
> Why does it matter which way it's defined? I changed the macro in
> rs6000.h to accept bits.
As long as the macro in question will never need to deal with anything that is
larger than 1/8 of the address space.
--
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482
More information about the Gcc
mailing list