Re: [RFC][PATCH 0/3] gcc work-around and math128

From: Linus Torvalds
Date: Tue Apr 24 2012 - 17:18:30 EST


On Tue, Apr 24, 2012 at 2:15 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>
> I played with some of this stuff awhile ago, and for timekeeping, it
> seemed like a 64x32->96 bit multiply followed by a right shift was
> enough, and that operation is a lot faster on 32-bit architectures than
> a full 64x64->128 multiply.

Ack. That may sound like odd numbers, but 64x32->96 sounds sane. And I
think it avoids a multiply even on 64-bit, no?

Linus
--
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/