This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Enable 32-bit Alignment
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- Cc: binutils at sourceware dot org, "Meissner, Michael" <michael dot meissner at amd dot com>, "Harle, Christophe" <christophe dot harle at amd dot com>
- Date: Tue, 3 Jul 2007 08:18:29 +0930
- Subject: Re: Enable 32-bit Alignment
- References: <1E52B51E700FAF42ADA0B9432F7CCCD24907E7@SAUSEXMB1.amd.com> <20070630034742.GC497@bubble.grove.modra.org> <1E52B51E700FAF42ADA0B9432F7CCCD249085C@SAUSEXMB1.amd.com>
On Mon, Jul 02, 2007 at 02:22:22PM -0500, Menezes, Evandro wrote:
> [snip] given that the maximum x86 instruction length has been
> limited to 15 bytes in the last 10 years or so [snip]
I'd forgotten about the 15 byte limit. I was thinking you could do a
16 byte nop and thus make the 31 byte align just two instructions.
Sorry. Obviously you can't do that, so the only further tweak your
patch needs is to adjust the branch pattern.
--
Alan Modra
IBM OzLabs - Linux Technology Centre