Optimize SPARC T4 MONTMUL support.
authorAndy Polyakov <appro@openssl.org>
Tue, 18 Jun 2013 08:39:38 +0000 (10:39 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 18 Jun 2013 08:39:38 +0000 (10:39 +0200)
commit4ddacd9921f48013b5cd011e4b93b294c14db1c2
tree1222bcc8c3494329c2040195134419fd8637929e
parent02450ec69dda7815ba1e7bd74eb30f0ae1eb3042
Optimize SPARC T4 MONTMUL support.

Improve RSA sing performance by 20-30% by:
- switching from floating-point to integer conditional moves;
- daisy-chaining sqr-sqr-sqr-sqr-sqr-mul sequences;
- using MONTMUL even during powers table setup;
crypto/bn/asm/sparct4-mont.pl
crypto/bn/bn_exp.c