summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/asm/x86/comba.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/asm/x86/comba.pl')
-rw-r--r--src/lib/libcrypto/bn/asm/x86/comba.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/asm/x86/comba.pl b/src/lib/libcrypto/bn/asm/x86/comba.pl
index dc4ec97ff5..762412974a 100644
--- a/src/lib/libcrypto/bn/asm/x86/comba.pl
+++ b/src/lib/libcrypto/bn/asm/x86/comba.pl
@@ -16,17 +16,17 @@ sub mul_add_c
16 16
17 &mul("edx"); 17 &mul("edx");
18 &add($c0,"eax"); 18 &add($c0,"eax");
19 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 19 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # load next a
20 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 20 &mov("eax",&wparam(0)) if $pos > 0; # load r[]
21 ### 21 ###
22 &adc($c1,"edx"); 22 &adc($c1,"edx");
23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # load next b
24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # load next b
25 ### 25 ###
26 &adc($c2,0); 26 &adc($c2,0);
27 # is pos > 1, it means it is the last loop 27 # is pos > 1, it means it is the last loop
28 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 28 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[];
29 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 29 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # load next a
30 } 30 }
31 31
32sub sqr_add_c 32sub sqr_add_c