Re: [patch 4/7] Immediate Values - i386 Optimization

From: Andi Kleen
Date: Tue Sep 18 2007 - 18:45:09 EST


On Tue, Sep 18, 2007 at 03:29:50PM -0700, Jeremy Fitzhardinge wrote:
> Andi Kleen wrote:
> > Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
> >
> >> It's a pity that gas seems to generate plain 0x90 nops rather than
> >> long-nop forms here. I thought it could do that.
> >>
> >
> > .p2align does it
>
> Just .p2align? Not align, balign, org or skip? Seems... strange.

The problem is that you cannot always safely jump into the middle of the
longer form nops. So I suppose they didn't risk breakage on older
code relying on this.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/