[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] struct align

"Miro Kropacek" <miro.kropacek@gmail.com> writes:

> I see your point, I know all this stuff. I was wondering why gcc/68k does
> this -- for CPU >= 68020 (definitely for 060) is faster to align stuff on 4
> bytes boundaries (16 bytes if reading bigger chunks).

You cannot change the alignment without changing the ABI.  The first
m68k port of gcc was using the ABI of the Sun cc, which was created for
the 68010, so alignment bigger than 2 byte was not necessary.


Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."