There is more code committed. Check-out or wait for *tomorrow*
openssl-SNAP-20120919 snapshot. There is SmartMIPS AES code (pass
-msmartmips to Configure) and Configure accepts double dash as compiler
options. Please double-check and optionally post performance for new AES
code.

Do I also need to pass -mips32r2 to enable the other assembler
optimizations
for MIPS that are not specific to the smartmips instruction set (such as
BigNum and SHA)?  Or does -msmartmips imply that?

-msmartmips is sufficient for *assembly modules* [there is #if in AES
and SHA, and there is *no* R2 code in BN] to turn out optimal. In other
words for assembly modules, -msmartmips implies even -mips32r2. But one
can wonder if -mips32r2 -msmartmips combination is appropriate for
compiler-generated code, so feel free to experiment. It might be
appropriate to specify both anyway...

Ah, ok.  I think I'll use "-march=4ksd -msmartmips" then, since that's
really what this processor is.

Thanks!
-Brad
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to