diff options
Diffstat (limited to 'secure/lib/libcrypto/i386/co-586.s')
-rw-r--r-- | secure/lib/libcrypto/i386/co-586.s | 444 |
1 files changed, 222 insertions, 222 deletions
diff --git a/secure/lib/libcrypto/i386/co-586.s b/secure/lib/libcrypto/i386/co-586.s index 084f6fe..4e554b0 100644 --- a/secure/lib/libcrypto/i386/co-586.s +++ b/secure/lib/libcrypto/i386/co-586.s @@ -1,11 +1,11 @@ # $FreeBSD$ - # Dont even think of reading this code - # It was automatically generated by co-586.pl - # Which is a perl program used to generate the x86 assember for - # any of elf, a.out, BSDI, Win32, gaswin (for GNU as on Win32) or Solaris - # eric <eay@cryptsoft.com> - .file "co-586.s" + + + + + + .file "/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/asm/co-586.s" .version "01.01" gcc2_compiled.: .text @@ -23,9 +23,9 @@ bn_mul_comba8: movl (%esi), %eax xorl %ecx, %ecx movl (%edi), %edx - # ################## Calculate word 0 + xorl %ebp, %ebp - # mul a[0]*b[0] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -34,17 +34,17 @@ bn_mul_comba8: adcl $0, %ebp movl %ebx, (%eax) movl 4(%esi), %eax - # saved r[0] - # ################## Calculate word 1 + + xorl %ebx, %ebx - # mul a[1]*b[0] + mull %edx addl %eax, %ecx movl (%esi), %eax adcl %edx, %ebp movl 4(%edi), %edx adcl $0, %ebx - # mul a[0]*b[1] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -53,24 +53,24 @@ bn_mul_comba8: adcl $0, %ebx movl %ecx, 4(%eax) movl 8(%esi), %eax - # saved r[1] - # ################## Calculate word 2 + + xorl %ecx, %ecx - # mul a[2]*b[0] + mull %edx addl %eax, %ebp movl 4(%esi), %eax adcl %edx, %ebx movl 4(%edi), %edx adcl $0, %ecx - # mul a[1]*b[1] + mull %edx addl %eax, %ebp movl (%esi), %eax adcl %edx, %ebx movl 8(%edi), %edx adcl $0, %ecx - # mul a[0]*b[2] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -79,31 +79,31 @@ bn_mul_comba8: adcl $0, %ecx movl %ebp, 8(%eax) movl 12(%esi), %eax - # saved r[2] - # ################## Calculate word 3 + + xorl %ebp, %ebp - # mul a[3]*b[0] + mull %edx addl %eax, %ebx movl 8(%esi), %eax adcl %edx, %ecx movl 4(%edi), %edx adcl $0, %ebp - # mul a[2]*b[1] + mull %edx addl %eax, %ebx movl 4(%esi), %eax adcl %edx, %ecx movl 8(%edi), %edx adcl $0, %ebp - # mul a[1]*b[2] + mull %edx addl %eax, %ebx movl (%esi), %eax adcl %edx, %ecx movl 12(%edi), %edx adcl $0, %ebp - # mul a[0]*b[3] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -112,38 +112,38 @@ bn_mul_comba8: adcl $0, %ebp movl %ebx, 12(%eax) movl 16(%esi), %eax - # saved r[3] - # ################## Calculate word 4 + + xorl %ebx, %ebx - # mul a[4]*b[0] + mull %edx addl %eax, %ecx movl 12(%esi), %eax adcl %edx, %ebp movl 4(%edi), %edx adcl $0, %ebx - # mul a[3]*b[1] + mull %edx addl %eax, %ecx movl 8(%esi), %eax adcl %edx, %ebp movl 8(%edi), %edx adcl $0, %ebx - # mul a[2]*b[2] + mull %edx addl %eax, %ecx movl 4(%esi), %eax adcl %edx, %ebp movl 12(%edi), %edx adcl $0, %ebx - # mul a[1]*b[3] + mull %edx addl %eax, %ecx movl (%esi), %eax adcl %edx, %ebp movl 16(%edi), %edx adcl $0, %ebx - # mul a[0]*b[4] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -152,45 +152,45 @@ bn_mul_comba8: adcl $0, %ebx movl %ecx, 16(%eax) movl 20(%esi), %eax - # saved r[4] - # ################## Calculate word 5 + + xorl %ecx, %ecx - # mul a[5]*b[0] + mull %edx addl %eax, %ebp movl 16(%esi), %eax adcl %edx, %ebx movl 4(%edi), %edx adcl $0, %ecx - # mul a[4]*b[1] + mull %edx addl %eax, %ebp movl 12(%esi), %eax adcl %edx, %ebx movl 8(%edi), %edx adcl $0, %ecx - # mul a[3]*b[2] + mull %edx addl %eax, %ebp movl 8(%esi), %eax adcl %edx, %ebx movl 12(%edi), %edx adcl $0, %ecx - # mul a[2]*b[3] + mull %edx addl %eax, %ebp movl 4(%esi), %eax adcl %edx, %ebx movl 16(%edi), %edx adcl $0, %ecx - # mul a[1]*b[4] + mull %edx addl %eax, %ebp movl (%esi), %eax adcl %edx, %ebx movl 20(%edi), %edx adcl $0, %ecx - # mul a[0]*b[5] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -199,52 +199,52 @@ bn_mul_comba8: adcl $0, %ecx movl %ebp, 20(%eax) movl 24(%esi), %eax - # saved r[5] - # ################## Calculate word 6 + + xorl %ebp, %ebp - # mul a[6]*b[0] + mull %edx addl %eax, %ebx movl 20(%esi), %eax adcl %edx, %ecx movl 4(%edi), %edx adcl $0, %ebp - # mul a[5]*b[1] + mull %edx addl %eax, %ebx movl 16(%esi), %eax adcl %edx, %ecx movl 8(%edi), %edx adcl $0, %ebp - # mul a[4]*b[2] + mull %edx addl %eax, %ebx movl 12(%esi), %eax adcl %edx, %ecx movl 12(%edi), %edx adcl $0, %ebp - # mul a[3]*b[3] + mull %edx addl %eax, %ebx movl 8(%esi), %eax adcl %edx, %ecx movl 16(%edi), %edx adcl $0, %ebp - # mul a[2]*b[4] + mull %edx addl %eax, %ebx movl 4(%esi), %eax adcl %edx, %ecx movl 20(%edi), %edx adcl $0, %ebp - # mul a[1]*b[5] + mull %edx addl %eax, %ebx movl (%esi), %eax adcl %edx, %ecx movl 24(%edi), %edx adcl $0, %ebp - # mul a[0]*b[6] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -253,59 +253,59 @@ bn_mul_comba8: adcl $0, %ebp movl %ebx, 24(%eax) movl 28(%esi), %eax - # saved r[6] - # ################## Calculate word 7 + + xorl %ebx, %ebx - # mul a[7]*b[0] + mull %edx addl %eax, %ecx movl 24(%esi), %eax adcl %edx, %ebp movl 4(%edi), %edx adcl $0, %ebx - # mul a[6]*b[1] + mull %edx addl %eax, %ecx movl 20(%esi), %eax adcl %edx, %ebp movl 8(%edi), %edx adcl $0, %ebx - # mul a[5]*b[2] + mull %edx addl %eax, %ecx movl 16(%esi), %eax adcl %edx, %ebp movl 12(%edi), %edx adcl $0, %ebx - # mul a[4]*b[3] + mull %edx addl %eax, %ecx movl 12(%esi), %eax adcl %edx, %ebp movl 16(%edi), %edx adcl $0, %ebx - # mul a[3]*b[4] + mull %edx addl %eax, %ecx movl 8(%esi), %eax adcl %edx, %ebp movl 20(%edi), %edx adcl $0, %ebx - # mul a[2]*b[5] + mull %edx addl %eax, %ecx movl 4(%esi), %eax adcl %edx, %ebp movl 24(%edi), %edx adcl $0, %ebx - # mul a[1]*b[6] + mull %edx addl %eax, %ecx movl (%esi), %eax adcl %edx, %ebp movl 28(%edi), %edx adcl $0, %ebx - # mul a[0]*b[7] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -314,52 +314,52 @@ bn_mul_comba8: adcl $0, %ebx movl %ecx, 28(%eax) movl 28(%esi), %eax - # saved r[7] - # ################## Calculate word 8 + + xorl %ecx, %ecx - # mul a[7]*b[1] + mull %edx addl %eax, %ebp movl 24(%esi), %eax adcl %edx, %ebx movl 8(%edi), %edx adcl $0, %ecx - # mul a[6]*b[2] + mull %edx addl %eax, %ebp movl 20(%esi), %eax adcl %edx, %ebx movl 12(%edi), %edx adcl $0, %ecx - # mul a[5]*b[3] + mull %edx addl %eax, %ebp movl 16(%esi), %eax adcl %edx, %ebx movl 16(%edi), %edx adcl $0, %ecx - # mul a[4]*b[4] + mull %edx addl %eax, %ebp movl 12(%esi), %eax adcl %edx, %ebx movl 20(%edi), %edx adcl $0, %ecx - # mul a[3]*b[5] + mull %edx addl %eax, %ebp movl 8(%esi), %eax adcl %edx, %ebx movl 24(%edi), %edx adcl $0, %ecx - # mul a[2]*b[6] + mull %edx addl %eax, %ebp movl 4(%esi), %eax adcl %edx, %ebx movl 28(%edi), %edx adcl $0, %ecx - # mul a[1]*b[7] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -368,45 +368,45 @@ bn_mul_comba8: adcl $0, %ecx movl %ebp, 32(%eax) movl 28(%esi), %eax - # saved r[8] - # ################## Calculate word 9 + + xorl %ebp, %ebp - # mul a[7]*b[2] + mull %edx addl %eax, %ebx movl 24(%esi), %eax adcl %edx, %ecx movl 12(%edi), %edx adcl $0, %ebp - # mul a[6]*b[3] + mull %edx addl %eax, %ebx movl 20(%esi), %eax adcl %edx, %ecx movl 16(%edi), %edx adcl $0, %ebp - # mul a[5]*b[4] + mull %edx addl %eax, %ebx movl 16(%esi), %eax adcl %edx, %ecx movl 20(%edi), %edx adcl $0, %ebp - # mul a[4]*b[5] + mull %edx addl %eax, %ebx movl 12(%esi), %eax adcl %edx, %ecx movl 24(%edi), %edx adcl $0, %ebp - # mul a[3]*b[6] + mull %edx addl %eax, %ebx movl 8(%esi), %eax adcl %edx, %ecx movl 28(%edi), %edx adcl $0, %ebp - # mul a[2]*b[7] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -415,38 +415,38 @@ bn_mul_comba8: adcl $0, %ebp movl %ebx, 36(%eax) movl 28(%esi), %eax - # saved r[9] - # ################## Calculate word 10 + + xorl %ebx, %ebx - # mul a[7]*b[3] + mull %edx addl %eax, %ecx movl 24(%esi), %eax adcl %edx, %ebp movl 16(%edi), %edx adcl $0, %ebx - # mul a[6]*b[4] + mull %edx addl %eax, %ecx movl 20(%esi), %eax adcl %edx, %ebp movl 20(%edi), %edx adcl $0, %ebx - # mul a[5]*b[5] + mull %edx addl %eax, %ecx movl 16(%esi), %eax adcl %edx, %ebp movl 24(%edi), %edx adcl $0, %ebx - # mul a[4]*b[6] + mull %edx addl %eax, %ecx movl 12(%esi), %eax adcl %edx, %ebp movl 28(%edi), %edx adcl $0, %ebx - # mul a[3]*b[7] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -455,31 +455,31 @@ bn_mul_comba8: adcl $0, %ebx movl %ecx, 40(%eax) movl 28(%esi), %eax - # saved r[10] - # ################## Calculate word 11 + + xorl %ecx, %ecx - # mul a[7]*b[4] + mull %edx addl %eax, %ebp movl 24(%esi), %eax adcl %edx, %ebx movl 20(%edi), %edx adcl $0, %ecx - # mul a[6]*b[5] + mull %edx addl %eax, %ebp movl 20(%esi), %eax adcl %edx, %ebx movl 24(%edi), %edx adcl $0, %ecx - # mul a[5]*b[6] + mull %edx addl %eax, %ebp movl 16(%esi), %eax adcl %edx, %ebx movl 28(%edi), %edx adcl $0, %ecx - # mul a[4]*b[7] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -488,24 +488,24 @@ bn_mul_comba8: adcl $0, %ecx movl %ebp, 44(%eax) movl 28(%esi), %eax - # saved r[11] - # ################## Calculate word 12 + + xorl %ebp, %ebp - # mul a[7]*b[5] + mull %edx addl %eax, %ebx movl 24(%esi), %eax adcl %edx, %ecx movl 24(%edi), %edx adcl $0, %ebp - # mul a[6]*b[6] + mull %edx addl %eax, %ebx movl 20(%esi), %eax adcl %edx, %ecx movl 28(%edi), %edx adcl $0, %ebp - # mul a[5]*b[7] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -514,17 +514,17 @@ bn_mul_comba8: adcl $0, %ebp movl %ebx, 48(%eax) movl 28(%esi), %eax - # saved r[12] - # ################## Calculate word 13 + + xorl %ebx, %ebx - # mul a[7]*b[6] + mull %edx addl %eax, %ecx movl 24(%esi), %eax adcl %edx, %ebp movl 28(%edi), %edx adcl $0, %ebx - # mul a[6]*b[7] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -533,18 +533,18 @@ bn_mul_comba8: adcl $0, %ebx movl %ecx, 52(%eax) movl 28(%esi), %eax - # saved r[13] - # ################## Calculate word 14 + + xorl %ecx, %ecx - # mul a[7]*b[7] + mull %edx addl %eax, %ebp movl 20(%esp), %eax adcl %edx, %ebx adcl $0, %ecx movl %ebp, 56(%eax) - # saved r[14] - # save r[15] + + movl %ebx, 60(%eax) popl %ebx popl %ebp @@ -569,9 +569,9 @@ bn_mul_comba4: movl (%esi), %eax xorl %ecx, %ecx movl (%edi), %edx - # ################## Calculate word 0 + xorl %ebp, %ebp - # mul a[0]*b[0] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -580,17 +580,17 @@ bn_mul_comba4: adcl $0, %ebp movl %ebx, (%eax) movl 4(%esi), %eax - # saved r[0] - # ################## Calculate word 1 + + xorl %ebx, %ebx - # mul a[1]*b[0] + mull %edx addl %eax, %ecx movl (%esi), %eax adcl %edx, %ebp movl 4(%edi), %edx adcl $0, %ebx - # mul a[0]*b[1] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -599,24 +599,24 @@ bn_mul_comba4: adcl $0, %ebx movl %ecx, 4(%eax) movl 8(%esi), %eax - # saved r[1] - # ################## Calculate word 2 + + xorl %ecx, %ecx - # mul a[2]*b[0] + mull %edx addl %eax, %ebp movl 4(%esi), %eax adcl %edx, %ebx movl 4(%edi), %edx adcl $0, %ecx - # mul a[1]*b[1] + mull %edx addl %eax, %ebp movl (%esi), %eax adcl %edx, %ebx movl 8(%edi), %edx adcl $0, %ecx - # mul a[0]*b[2] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -625,31 +625,31 @@ bn_mul_comba4: adcl $0, %ecx movl %ebp, 8(%eax) movl 12(%esi), %eax - # saved r[2] - # ################## Calculate word 3 + + xorl %ebp, %ebp - # mul a[3]*b[0] + mull %edx addl %eax, %ebx movl 8(%esi), %eax adcl %edx, %ecx movl 4(%edi), %edx adcl $0, %ebp - # mul a[2]*b[1] + mull %edx addl %eax, %ebx movl 4(%esi), %eax adcl %edx, %ecx movl 8(%edi), %edx adcl $0, %ebp - # mul a[1]*b[2] + mull %edx addl %eax, %ebx movl (%esi), %eax adcl %edx, %ecx movl 12(%edi), %edx adcl $0, %ebp - # mul a[0]*b[3] + mull %edx addl %eax, %ebx movl 20(%esp), %eax @@ -658,24 +658,24 @@ bn_mul_comba4: adcl $0, %ebp movl %ebx, 12(%eax) movl 12(%esi), %eax - # saved r[3] - # ################## Calculate word 4 + + xorl %ebx, %ebx - # mul a[3]*b[1] + mull %edx addl %eax, %ecx movl 8(%esi), %eax adcl %edx, %ebp movl 8(%edi), %edx adcl $0, %ebx - # mul a[2]*b[2] + mull %edx addl %eax, %ecx movl 4(%esi), %eax adcl %edx, %ebp movl 12(%edi), %edx adcl $0, %ebx - # mul a[1]*b[3] + mull %edx addl %eax, %ecx movl 20(%esp), %eax @@ -684,17 +684,17 @@ bn_mul_comba4: adcl $0, %ebx movl %ecx, 16(%eax) movl 12(%esi), %eax - # saved r[4] - # ################## Calculate word 5 + + xorl %ecx, %ecx - # mul a[3]*b[2] + mull %edx addl %eax, %ebp movl 8(%esi), %eax adcl %edx, %ebx movl 12(%edi), %edx adcl $0, %ecx - # mul a[2]*b[3] + mull %edx addl %eax, %ebp movl 20(%esp), %eax @@ -703,18 +703,18 @@ bn_mul_comba4: adcl $0, %ecx movl %ebp, 20(%eax) movl 12(%esi), %eax - # saved r[5] - # ################## Calculate word 6 + + xorl %ebp, %ebp - # mul a[3]*b[3] + mull %edx addl %eax, %ebx movl 20(%esp), %eax adcl %edx, %ecx adcl $0, %ebp movl %ebx, 24(%eax) - # saved r[6] - # save r[7] + + movl %ecx, 28(%eax) popl %ebx popl %ebp @@ -738,9 +738,9 @@ bn_sqr_comba8: xorl %ebx, %ebx xorl %ecx, %ecx movl (%esi), %eax - # ############### Calculate word 0 + xorl %ebp, %ebp - # sqr a[0]*a[0] + mull %eax addl %eax, %ebx adcl %edx, %ecx @@ -748,10 +748,10 @@ bn_sqr_comba8: adcl $0, %ebp movl %ebx, (%edi) movl 4(%esi), %eax - # saved r[0] - # ############### Calculate word 1 + + xorl %ebx, %ebx - # sqr a[1]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -762,10 +762,10 @@ bn_sqr_comba8: adcl $0, %ebx movl %ecx, 4(%edi) movl (%esi), %edx - # saved r[1] - # ############### Calculate word 2 + + xorl %ecx, %ecx - # sqr a[2]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -774,7 +774,7 @@ bn_sqr_comba8: adcl %edx, %ebx movl 4(%esi), %eax adcl $0, %ecx - # sqr a[1]*a[1] + mull %eax addl %eax, %ebp adcl %edx, %ebx @@ -782,10 +782,10 @@ bn_sqr_comba8: adcl $0, %ecx movl %ebp, 8(%edi) movl 12(%esi), %eax - # saved r[2] - # ############### Calculate word 3 + + xorl %ebp, %ebp - # sqr a[3]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -795,7 +795,7 @@ bn_sqr_comba8: movl 8(%esi), %eax adcl $0, %ebp movl 4(%esi), %edx - # sqr a[2]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -806,10 +806,10 @@ bn_sqr_comba8: adcl $0, %ebp movl %ebx, 12(%edi) movl (%esi), %edx - # saved r[3] - # ############### Calculate word 4 + + xorl %ebx, %ebx - # sqr a[4]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -819,7 +819,7 @@ bn_sqr_comba8: movl 12(%esi), %eax adcl $0, %ebx movl 4(%esi), %edx - # sqr a[3]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -828,7 +828,7 @@ bn_sqr_comba8: adcl %edx, %ebp movl 8(%esi), %eax adcl $0, %ebx - # sqr a[2]*a[2] + mull %eax addl %eax, %ecx adcl %edx, %ebp @@ -836,10 +836,10 @@ bn_sqr_comba8: adcl $0, %ebx movl %ecx, 16(%edi) movl 20(%esi), %eax - # saved r[4] - # ############### Calculate word 5 + + xorl %ecx, %ecx - # sqr a[5]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -849,7 +849,7 @@ bn_sqr_comba8: movl 16(%esi), %eax adcl $0, %ecx movl 4(%esi), %edx - # sqr a[4]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -859,7 +859,7 @@ bn_sqr_comba8: movl 12(%esi), %eax adcl $0, %ecx movl 8(%esi), %edx - # sqr a[3]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -870,10 +870,10 @@ bn_sqr_comba8: adcl $0, %ecx movl %ebp, 20(%edi) movl (%esi), %edx - # saved r[5] - # ############### Calculate word 6 + + xorl %ebp, %ebp - # sqr a[6]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -883,7 +883,7 @@ bn_sqr_comba8: movl 20(%esi), %eax adcl $0, %ebp movl 4(%esi), %edx - # sqr a[5]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -893,7 +893,7 @@ bn_sqr_comba8: movl 16(%esi), %eax adcl $0, %ebp movl 8(%esi), %edx - # sqr a[4]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -902,7 +902,7 @@ bn_sqr_comba8: adcl %edx, %ecx movl 12(%esi), %eax adcl $0, %ebp - # sqr a[3]*a[3] + mull %eax addl %eax, %ebx adcl %edx, %ecx @@ -910,10 +910,10 @@ bn_sqr_comba8: adcl $0, %ebp movl %ebx, 24(%edi) movl 28(%esi), %eax - # saved r[6] - # ############### Calculate word 7 + + xorl %ebx, %ebx - # sqr a[7]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -923,7 +923,7 @@ bn_sqr_comba8: movl 24(%esi), %eax adcl $0, %ebx movl 4(%esi), %edx - # sqr a[6]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -933,7 +933,7 @@ bn_sqr_comba8: movl 20(%esi), %eax adcl $0, %ebx movl 8(%esi), %edx - # sqr a[5]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -943,7 +943,7 @@ bn_sqr_comba8: movl 16(%esi), %eax adcl $0, %ebx movl 12(%esi), %edx - # sqr a[4]*a[3] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -954,10 +954,10 @@ bn_sqr_comba8: adcl $0, %ebx movl %ecx, 28(%edi) movl 4(%esi), %edx - # saved r[7] - # ############### Calculate word 8 + + xorl %ecx, %ecx - # sqr a[7]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -967,7 +967,7 @@ bn_sqr_comba8: movl 24(%esi), %eax adcl $0, %ecx movl 8(%esi), %edx - # sqr a[6]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -977,7 +977,7 @@ bn_sqr_comba8: movl 20(%esi), %eax adcl $0, %ecx movl 12(%esi), %edx - # sqr a[5]*a[3] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -986,7 +986,7 @@ bn_sqr_comba8: adcl %edx, %ebx movl 16(%esi), %eax adcl $0, %ecx - # sqr a[4]*a[4] + mull %eax addl %eax, %ebp adcl %edx, %ebx @@ -994,10 +994,10 @@ bn_sqr_comba8: adcl $0, %ecx movl %ebp, 32(%edi) movl 28(%esi), %eax - # saved r[8] - # ############### Calculate word 9 + + xorl %ebp, %ebp - # sqr a[7]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1007,7 +1007,7 @@ bn_sqr_comba8: movl 24(%esi), %eax adcl $0, %ebp movl 12(%esi), %edx - # sqr a[6]*a[3] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1017,7 +1017,7 @@ bn_sqr_comba8: movl 20(%esi), %eax adcl $0, %ebp movl 16(%esi), %edx - # sqr a[5]*a[4] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1028,10 +1028,10 @@ bn_sqr_comba8: adcl $0, %ebp movl %ebx, 36(%edi) movl 12(%esi), %edx - # saved r[9] - # ############### Calculate word 10 + + xorl %ebx, %ebx - # sqr a[7]*a[3] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1041,7 +1041,7 @@ bn_sqr_comba8: movl 24(%esi), %eax adcl $0, %ebx movl 16(%esi), %edx - # sqr a[6]*a[4] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1050,7 +1050,7 @@ bn_sqr_comba8: adcl %edx, %ebp movl 20(%esi), %eax adcl $0, %ebx - # sqr a[5]*a[5] + mull %eax addl %eax, %ecx adcl %edx, %ebp @@ -1058,10 +1058,10 @@ bn_sqr_comba8: adcl $0, %ebx movl %ecx, 40(%edi) movl 28(%esi), %eax - # saved r[10] - # ############### Calculate word 11 + + xorl %ecx, %ecx - # sqr a[7]*a[4] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1071,7 +1071,7 @@ bn_sqr_comba8: movl 24(%esi), %eax adcl $0, %ecx movl 20(%esi), %edx - # sqr a[6]*a[5] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1082,10 +1082,10 @@ bn_sqr_comba8: adcl $0, %ecx movl %ebp, 44(%edi) movl 20(%esi), %edx - # saved r[11] - # ############### Calculate word 12 + + xorl %ebp, %ebp - # sqr a[7]*a[5] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1094,7 +1094,7 @@ bn_sqr_comba8: adcl %edx, %ecx movl 24(%esi), %eax adcl $0, %ebp - # sqr a[6]*a[6] + mull %eax addl %eax, %ebx adcl %edx, %ecx @@ -1102,10 +1102,10 @@ bn_sqr_comba8: adcl $0, %ebp movl %ebx, 48(%edi) movl 28(%esi), %eax - # saved r[12] - # ############### Calculate word 13 + + xorl %ebx, %ebx - # sqr a[7]*a[6] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1115,16 +1115,16 @@ bn_sqr_comba8: movl 28(%esi), %eax adcl $0, %ebx movl %ecx, 52(%edi) - # saved r[13] - # ############### Calculate word 14 + + xorl %ecx, %ecx - # sqr a[7]*a[7] + mull %eax addl %eax, %ebp adcl %edx, %ebx adcl $0, %ecx movl %ebp, 56(%edi) - # saved r[14] + movl %ebx, 60(%edi) popl %ebx popl %ebp @@ -1148,9 +1148,9 @@ bn_sqr_comba4: xorl %ebx, %ebx xorl %ecx, %ecx movl (%esi), %eax - # ############### Calculate word 0 + xorl %ebp, %ebp - # sqr a[0]*a[0] + mull %eax addl %eax, %ebx adcl %edx, %ecx @@ -1158,10 +1158,10 @@ bn_sqr_comba4: adcl $0, %ebp movl %ebx, (%edi) movl 4(%esi), %eax - # saved r[0] - # ############### Calculate word 1 + + xorl %ebx, %ebx - # sqr a[1]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1172,10 +1172,10 @@ bn_sqr_comba4: adcl $0, %ebx movl %ecx, 4(%edi) movl (%esi), %edx - # saved r[1] - # ############### Calculate word 2 + + xorl %ecx, %ecx - # sqr a[2]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1184,7 +1184,7 @@ bn_sqr_comba4: adcl %edx, %ebx movl 4(%esi), %eax adcl $0, %ecx - # sqr a[1]*a[1] + mull %eax addl %eax, %ebp adcl %edx, %ebx @@ -1192,10 +1192,10 @@ bn_sqr_comba4: adcl $0, %ecx movl %ebp, 8(%edi) movl 12(%esi), %eax - # saved r[2] - # ############### Calculate word 3 + + xorl %ebp, %ebp - # sqr a[3]*a[0] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1205,7 +1205,7 @@ bn_sqr_comba4: movl 8(%esi), %eax adcl $0, %ebp movl 4(%esi), %edx - # sqr a[2]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1216,10 +1216,10 @@ bn_sqr_comba4: adcl $0, %ebp movl %ebx, 12(%edi) movl 4(%esi), %edx - # saved r[3] - # ############### Calculate word 4 + + xorl %ebx, %ebx - # sqr a[3]*a[1] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1228,7 +1228,7 @@ bn_sqr_comba4: adcl %edx, %ebp movl 8(%esi), %eax adcl $0, %ebx - # sqr a[2]*a[2] + mull %eax addl %eax, %ecx adcl %edx, %ebp @@ -1236,10 +1236,10 @@ bn_sqr_comba4: adcl $0, %ebx movl %ecx, 16(%edi) movl 12(%esi), %eax - # saved r[4] - # ############### Calculate word 5 + + xorl %ecx, %ecx - # sqr a[3]*a[2] + mull %edx addl %eax, %eax adcl %edx, %edx @@ -1249,16 +1249,16 @@ bn_sqr_comba4: movl 12(%esi), %eax adcl $0, %ecx movl %ebp, 20(%edi) - # saved r[5] - # ############### Calculate word 6 + + xorl %ebp, %ebp - # sqr a[3]*a[3] + mull %eax addl %eax, %ebx adcl %edx, %ecx adcl $0, %ebp movl %ebx, 24(%edi) - # saved r[6] + movl %ecx, 28(%edi) popl %ebx popl %ebp |