Re: Kernel bugs found using inspect tool

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 23 2000 - 12:46:41 EST


> Eh? But you are using bitwise or. I had logical or, whose order is
> defined, being that of lazy left-right evaluation, and whose precedence
> is looser than that of the relational operators precisely so that you
> can write boolean propositional compounds without those annoying parens.

Thats why its faster using bitwise or. Logical or has a strict left->right
evaluation rule in C bitwise doesnt so you can generate nicer code, tricks
like near branchless and sequences using cmp, adc

>

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:33 EST