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

From: Jörn Engel
Date: Fri Aug 06 2004 - 11:55:28 EST


On Fri, 6 August 2004 12:17:59 -0400, James Morris wrote:
> 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.
>
> Neat. The latter could be measured at boot.

Or lazily on first usage. If it doesn't have to be done at boot time,
why delay the user with it?

Jörn

--
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-
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/