summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/asm/bn-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/asm/bn-586.pl')
-rw-r--r--src/lib/libcrypto/bn/asm/bn-586.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/bn/asm/bn-586.pl b/src/lib/libcrypto/bn/asm/bn-586.pl
index 332ef3e91d..c4e2baa6c5 100644
--- a/src/lib/libcrypto/bn/asm/bn-586.pl
+++ b/src/lib/libcrypto/bn/asm/bn-586.pl
@@ -25,7 +25,7 @@ sub bn_mul_add_words
25 { 25 {
26 local($name)=@_; 26 local($name)=@_;
27 27
28 &function_begin_B($name,$sse2?"EXTRN\t_OPENSSL_ia32cap_P:DWORD":""); 28 &function_begin_B($name,"");
29 29
30 $r="eax"; 30 $r="eax";
31 $a="edx"; 31 $a="edx";
@@ -33,7 +33,7 @@ sub bn_mul_add_words
33 33
34 if ($sse2) { 34 if ($sse2) {
35 &picmeup("eax","OPENSSL_ia32cap_P"); 35 &picmeup("eax","OPENSSL_ia32cap_P");
36 &bt(&DWP(0,"eax"),26); 36 &bt(&DWP(0,"eax"),"\$IA32CAP_BIT0_SSE2");
37 &jnc(&label("maw_non_sse2")); 37 &jnc(&label("maw_non_sse2"));
38 38
39 &mov($r,&wparam(0)); 39 &mov($r,&wparam(0));
@@ -211,7 +211,7 @@ sub bn_mul_words
211 { 211 {
212 local($name)=@_; 212 local($name)=@_;
213 213
214 &function_begin_B($name,$sse2?"EXTRN\t_OPENSSL_ia32cap_P:DWORD":""); 214 &function_begin_B($name,"");
215 215
216 $r="eax"; 216 $r="eax";
217 $a="edx"; 217 $a="edx";
@@ -219,7 +219,7 @@ sub bn_mul_words
219 219
220 if ($sse2) { 220 if ($sse2) {
221 &picmeup("eax","OPENSSL_ia32cap_P"); 221 &picmeup("eax","OPENSSL_ia32cap_P");
222 &bt(&DWP(0,"eax"),26); 222 &bt(&DWP(0,"eax"),"\$IA32CAP_BIT0_SSE2");
223 &jnc(&label("mw_non_sse2")); 223 &jnc(&label("mw_non_sse2"));
224 224
225 &mov($r,&wparam(0)); 225 &mov($r,&wparam(0));
@@ -322,7 +322,7 @@ sub bn_sqr_words
322 { 322 {
323 local($name)=@_; 323 local($name)=@_;
324 324
325 &function_begin_B($name,$sse2?"EXTRN\t_OPENSSL_ia32cap_P:DWORD":""); 325 &function_begin_B($name,"");
326 326
327 $r="eax"; 327 $r="eax";
328 $a="edx"; 328 $a="edx";
@@ -330,7 +330,7 @@ sub bn_sqr_words
330 330
331 if ($sse2) { 331 if ($sse2) {
332 &picmeup("eax","OPENSSL_ia32cap_P"); 332 &picmeup("eax","OPENSSL_ia32cap_P");
333 &bt(&DWP(0,"eax"),26); 333 &bt(&DWP(0,"eax"),"\$IA32CAP_BIT0_SSE2");
334 &jnc(&label("sqr_non_sse2")); 334 &jnc(&label("sqr_non_sse2"));
335 335
336 &mov($r,&wparam(0)); 336 &mov($r,&wparam(0));