Messages in this thread | | | Subject | Re: [PATCH] Re-implemented i586 asm AES (updated) | From | Andi Kleen <> | Date | Fri, 06 Aug 2004 17:09:17 +0200 |
| |
James Morris <jmorris@redhat.com> writes: > >> Does it work on x86 CPUs without MMX? > > Yes, Linus removed the MMX stuff.
You could use .altinstructions to patch a jump in at runtime based on CPU capabilities. Assuming MMX is really faster of course.
See arch/x86_64/lib/copy_page.S for an example.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |