Julien R Pierre - Sun Microsystems wrote, On 2009-01-21 15:03:

> You are running Darwin, and freebl does not have any optimizations for 
> RSA on darwin. It has some assembly optimizations on most other x86 
> platforms. But on Darwin, freebl is built with plain C code, and no 
> assembly at all. That is one reason why the code is running a lot slower.

> Even if you end up building NSS with optimizations, they use the regular 
> multiply instructions, which performs best on AMD chips, but not as well 
> on Intel CPUs. For Intel, one needs to use the SSE2 and above 
> instructions set, which NSS currently doesn't do - except on one 
> platform, Linux.

Is there any reason why we can't use the same optimizations on Darwin/x86
as we use on Linux?
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to