[PATCH] PPC64 Poor assembly coding style
Benjamin Herrenschmidt
benh at kernel.crashing.org
Wed Nov 10 10:56:56 EST 2004
On Wed, 2004-11-10 at 09:52 +1030, Alan Modra wrote:
> On Tue, Nov 09, 2004 at 05:03:13PM -0600, Doug Maxey wrote:
> > entry.S:100: Error: operand out of range (268 is not between 0 and 31)
> > entry.S:100: Error: missing operand
> [snip]
> > 100 cmpli 0,r0,NR_syscalls
>
> OK, this one is Segher's patch, now reverted, making the L operand on
> cmpli non-optional.
>
> Any of "cmpli cr,l,r,imm", "cmplwi cr,r,imm", or "cmpldi cr,r,imm" will
> be accepted by the assembler.
Yah, Segher seem to have a deep love with the idea of pushing gas
changes that break pretty much everything out there ;)
Ben.
More information about the Linuxppc64-dev
mailing list