Re: [PATCH] Re-implemented i586 asm AES (updated)

From: Ben Pfaff
Date: Fri Aug 06 2004 - 12:44:09 EST


Linus Torvalds <torvalds@xxxxxxxx> writes:

> On Fri, 6 Aug 2004, Andi Kleen wrote:
>>
>> You could use .altinstructions to patch a jump in at runtime
>> based on CPU capabilities. Assuming MMX is really faster of course.
>
> I seriously doubt that the MMX code could be faster.

For what it's worth, about a year about I tested both Gladman's
MMX and non-MMX code on a Pentium 4. The non-MMX code was
consistently significantly faster in every scenario I could come
up with.
--
I love deadlines.
I love the whooshing noise they make as they go by.
--Douglas Adams

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