I updated the faster_sha2.c to include a quick performance test, same URL. The Ch/sec and Maj/sec can't be easily compared, however instruction count can to some extent. http://jlcooke.ca/lkml/faster_sha2_x86.s http://jlcooke.ca/lkml/faster_sha2_ppc.s http://jlcooke.ca/lkml/faster_sha2_alpha.s http://jlcooke.ca/lkml/faster_sha2_sparc.s Hope this helps, I'll know better next time I ask for patch-blessing. :) JLC On Tue, Jan 27, 2004 at 01:05:04PM -0800, David S. Miller wrote: > On Tue, 27 Jan 2004 15:22:25 -0500 > Jean-Luc Cooke <jlcooke _at_ certainkey.com> wrote: > > > The Ch() and Maj() operations are used a lot in sha256/512. > > Your analysis is great, but James was really asking for numbers :-) > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo _at_ vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- http://www.certainkey.com Suite 4560 CTTC 1125 Colonel By Dr. Ottawa ON, K1S 5B6 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: [PATCH] crypto/sha256.c crypto/sha512.cJean-Luc Cooke
- [PATCH] crypto/sha256.c crypto/sha512.cJean-Luc Cooke
- Re: [PATCH] crypto/sha256.c crypto/sha512.cJames Morris
- Re: [PATCH] crypto/sha256.c crypto/sha512.cJean-Luc Cooke
- Re: [PATCH] crypto/sha256.c crypto/sha512.cDavid S. Miller
- Prev by Date: Re: [PATCH] Remove memblks from the kernel
- Next by Date: [PATCH] 2.4 ACPI dispatcher/dsmthdat.c warning fix
- Previous by thread: Re: [PATCH] crypto/sha256.c crypto/sha512.c
- Next by thread: Re: [PATCH] crypto/sha256.c crypto/sha512.c
- Indexes:[Main][Thread]