Re: xor as a lazy comparison

From: Bernd Petrovitsch
Date: Mon Jul 25 2005 - 03:58:54 EST

On Sun, 2005-07-24 at 18:15 -0400, Puneet Vyas wrote:
> I just compiled two identical program , one with "!=" and other with
> "^". The assembly output is identical.

Hmm, which compiler and which version?
You might want to try much older and other compilers.

Firmix Software GmbH
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at