Doug Kaufman wrote: > OpenSSL 0.9.8-dev XX xxx XXXX > built on: Mon Sep 6 09:04:18 PST 2004 > platform: DJGPP > options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) > compiler: gcc -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 > -I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fno-strict-aliasing > -fomit-frame-pointer -O2 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM > -DRMD160_ASM > OPENSSLDIR: "/dev/env/DJDIR/ssl"
To be able to use SSE2 code on a Pentium 4(?) , you need to add -DOPENSSL_IA32_SSE2 -DOPENSSL_CPUID_OBJ and have an up-to-date version of "as". (v2.13?). Then you'll notice a quadrupling in speed (for SHA at least). BTW. I don't see any way to turn off run-time use of SSE2. For comparison it could been nice to see the speed gain. Andy, how about turning SSE2 off with "$OPENSSL_ia32cap=none" etc. --gv ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
