[PATCH] PPC64 Poor assembly coding style

Alan Modra amodra at bigpond.net.au
Wed Nov 10 10:22:10 EST 2004

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
>     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.

Alan Modra
IBM OzLabs - Linux Technology Centre

More information about the Linuxppc64-dev mailing list