diff options
Diffstat (limited to 'src/lib/libcrypto/bn/asm')
-rw-r--r-- | src/lib/libcrypto/bn/asm/bn-586.pl | 3 | ||||
-rwxr-xr-x | src/lib/libcrypto/bn/asm/x86-mont.pl | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/asm/bn-586.pl b/src/lib/libcrypto/bn/asm/bn-586.pl index 71b775af8d..19a1afdbbe 100644 --- a/src/lib/libcrypto/bn/asm/bn-586.pl +++ b/src/lib/libcrypto/bn/asm/bn-586.pl | |||
@@ -6,8 +6,7 @@ require "x86asm.pl"; | |||
6 | 6 | ||
7 | &asm_init($ARGV[0],$0); | 7 | &asm_init($ARGV[0],$0); |
8 | 8 | ||
9 | $sse2=0; | 9 | $sse2=1; |
10 | for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | ||
11 | 10 | ||
12 | &external_label("OPENSSL_ia32cap_P") if ($sse2); | 11 | &external_label("OPENSSL_ia32cap_P") if ($sse2); |
13 | 12 | ||
diff --git a/src/lib/libcrypto/bn/asm/x86-mont.pl b/src/lib/libcrypto/bn/asm/x86-mont.pl index 6524651748..3be440f11f 100755 --- a/src/lib/libcrypto/bn/asm/x86-mont.pl +++ b/src/lib/libcrypto/bn/asm/x86-mont.pl | |||
@@ -32,8 +32,7 @@ require "x86asm.pl"; | |||
32 | 32 | ||
33 | &asm_init($ARGV[0],$0); | 33 | &asm_init($ARGV[0],$0); |
34 | 34 | ||
35 | $sse2=0; | 35 | $sse2=1; |
36 | for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | ||
37 | 36 | ||
38 | &external_label("OPENSSL_ia32cap_P") if ($sse2); | 37 | &external_label("OPENSSL_ia32cap_P") if ($sse2); |
39 | 38 | ||