Re: [PATCH] kcmp: Fix standard comparison bug

From: Rasmus Villemoes
Date: Thu Sep 04 2014 - 11:35:51 EST


On Thu, Sep 04 2014, Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> On Thu, Sep 04, 2014 at 12:40:06PM +0200, Rasmus Villemoes wrote:
>>
>> Note that it makes absolutely no difference that a transmogrying
^^^^
transmogrifying

> It's more than that, I looked into disassembly code and
> found that compiler overoptimize obfuscation, instead of doing
> ^ and * sequently it substracts xor production of both operands
> first and only then multiplies the result.

...which it seems to be perfectly entitled to; xz - yz == (x-y)z holds
in any ring.

Anyway, I'll stop beating the dead horse.

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