SHA-256/-512 x86_64 assembler implementation is available in HEAD now. As usual, code was benchmarked on Opteron only and out of curiosity I'd like to hear from people with EM64T hardware. The test it grab latest openssl-SNAP-* at ftp://ftp.openssl.org/snapshot/ and './config no-asm; make; apps/openssl speed sha' and then './config; make; apps/openssl speed sha'. For reference, the commentary section contains following note:

# Special note on Intel EM64T. While Opteron CPU exhibits perfect
# perfromance ratio of 1.5 between 64- and 32-bit flavors [see above],
# [currently available] EM64T CPUs apparently are far from it. 64-bit
# version, sha512_block, is hardly faster than 32-bit one. This is
# presumably because 64-bit shifts/rotates apparently are not atomic
# instructions, but implemented in microcode.

This is actually based on benchmark results obtained for C version, but I see no reason why it wouldn't hold true for assembler implementation. A lot of thanks in advance. A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to