Re: [PATCH] task_struct colouring ...

From: [MOc]cda*mirabilos (mirabilos@netcologne.de)
Date: Sun Dec 02 2001 - 10:06:06 EST


> > > movl %esp, %eax
> > > andl $-8192, %eax
> > > movl (%eax), %eax
> >
> > Although I'm good in assembly but bad in gas,
> > do you consider the middle line good style?
> >
> > Binary AND with a negative decimal number?
>
> ~N = -(N + 1)

I know, but I don't consider this good style, as
decimal arithmetic is for humans, and binary
{arithmetic,ops} are for the PC.

Please don't Cc: me, I read the list, thanks.

Thorsten

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



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:18 EST