summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/asm/co-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/asm/co-586.pl')
-rw-r--r--src/lib/libcrypto/bn/asm/co-586.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/asm/co-586.pl b/src/lib/libcrypto/bn/asm/co-586.pl
index 57101a6bd7..37d79cc0c1 100644
--- a/src/lib/libcrypto/bn/asm/co-586.pl
+++ b/src/lib/libcrypto/bn/asm/co-586.pl
@@ -28,17 +28,17 @@ sub mul_add_c
28 28
29 &mul("edx"); 29 &mul("edx");
30 &add($c0,"eax"); 30 &add($c0,"eax");
31 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 31 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next a
32 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 32 &mov("eax",&wparam(0)) if $pos > 0; # load r[]
33 ### 33 ###
34 &adc($c1,"edx"); 34 &adc($c1,"edx");
35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # load next b
36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # load next b
37 ### 37 ###
38 &adc($c2,0); 38 &adc($c2,0);
39 # is pos > 1, it means it is the last loop 39 # is pos > 1, it means it is the last loop
40 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 40 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[];
41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # load next a
42 } 42 }
43 43
44sub sqr_add_c 44sub sqr_add_c