This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [REVISED][PATCH/RFT] Fix PR middle-end/PR28690, modify swap_commutative_operands_p
On Tue, Jun 12, 2007 at 06:16:52PM +0100, Dave Korn wrote:
> On 12 June 2007 18:09, Peter Bergner wrote:
>
> > On Tue, 2007-06-12 at 18:50 +0200, Rask Ingemann Lambertsen wrote:
> >>
> >> That would be '.p2align 3', wouldn't it?
[snip]
> > All I'm saying, is
> > if it can't give me 16 byte alignment because we'd have to skip more
> > than 7 bytes, why can't it give me 8 byte alignment instead? ...or
> > 4 byte alignment? ...or whatever is more aligned than my current
> > alignment but still within the maximum byte skip value I specified?
>
> So instead of writing
>
> .p2align 4,,7
>
> can't you write the sequence:
>
> .p2align 4,,7
> .p2align 3,,7
>
> which will have the exact effect you're asking for there?
Which is the same as just
.p2align 3,,7
which is the same as
.p2align 3
:-)
If you ask me, .p2align's behaviour makes perfect sense, because you can
get exactly what you want from it, even if it isn't very useful.
--
Rask Ingemann Lambertsen