summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/i386/bn-586.s
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/i386/bn-586.s')
-rw-r--r--secure/lib/libcrypto/i386/bn-586.s186
1 files changed, 93 insertions, 93 deletions
diff --git a/secure/lib/libcrypto/i386/bn-586.s b/secure/lib/libcrypto/i386/bn-586.s
index 3ea4a8a..88c73fa 100644
--- a/secure/lib/libcrypto/i386/bn-586.s
+++ b/secure/lib/libcrypto/i386/bn-586.s
@@ -1,11 +1,11 @@
# $FreeBSD$
- # Dont even think of reading this code
- # It was automatically generated by bn-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 "bn-586.s"
+
+
+
+
+
+ .file "/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/asm/bn-586.s"
.version "01.01"
gcc2_compiled.:
.text
@@ -29,7 +29,7 @@ bn_mul_add_words:
jz .L000maw_finish
.L001maw_loop:
movl %ecx, (%esp)
- # Round 0
+
movl (%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -39,7 +39,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, (%edi)
movl %edx, %esi
- # Round 4
+
movl 4(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -49,7 +49,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 4(%edi)
movl %edx, %esi
- # Round 8
+
movl 8(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -59,7 +59,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 8(%edi)
movl %edx, %esi
- # Round 12
+
movl 12(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -69,7 +69,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 12(%edi)
movl %edx, %esi
- # Round 16
+
movl 16(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -79,7 +79,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 16(%edi)
movl %edx, %esi
- # Round 20
+
movl 20(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -89,7 +89,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 20(%edi)
movl %edx, %esi
- # Round 24
+
movl 24(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -99,7 +99,7 @@ bn_mul_add_words:
adcl $0, %edx
movl %eax, 24(%edi)
movl %edx, %esi
- # Round 28
+
movl 28(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -122,7 +122,7 @@ bn_mul_add_words:
jmp .L003maw_end
.align 16
.L002maw_finish2:
- # Tail Round 0
+
movl (%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -134,7 +134,7 @@ bn_mul_add_words:
movl %eax, (%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 1
+
movl 4(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -146,7 +146,7 @@ bn_mul_add_words:
movl %eax, 4(%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 2
+
movl 8(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -158,7 +158,7 @@ bn_mul_add_words:
movl %eax, 8(%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 3
+
movl 12(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -170,7 +170,7 @@ bn_mul_add_words:
movl %eax, 12(%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 4
+
movl 16(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -182,7 +182,7 @@ bn_mul_add_words:
movl %eax, 16(%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 5
+
movl 20(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -194,7 +194,7 @@ bn_mul_add_words:
movl %eax, 20(%edi)
movl %edx, %esi
jz .L003maw_end
- # Tail Round 6
+
movl 24(%ebx), %eax
mull %ebp
addl %esi, %eax
@@ -212,8 +212,8 @@ bn_mul_add_words:
popl %ebx
popl %ebp
ret
-.bn_mul_add_words_end:
- .size bn_mul_add_words,.bn_mul_add_words_end-bn_mul_add_words
+.L_bn_mul_add_words_end:
+ .size bn_mul_add_words,.L_bn_mul_add_words_end-bn_mul_add_words
.ident "bn_mul_add_words"
.text
.align 16
@@ -234,56 +234,56 @@ bn_mul_words:
andl $4294967288, %ebp
jz .L004mw_finish
.L005mw_loop:
- # Round 0
+
movl (%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, (%edi)
movl %edx, %esi
- # Round 4
+
movl 4(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 4(%edi)
movl %edx, %esi
- # Round 8
+
movl 8(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 8(%edi)
movl %edx, %esi
- # Round 12
+
movl 12(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 12(%edi)
movl %edx, %esi
- # Round 16
+
movl 16(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 16(%edi)
movl %edx, %esi
- # Round 20
+
movl 20(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 20(%edi)
movl %edx, %esi
- # Round 24
+
movl 24(%ebx), %eax
mull %ecx
addl %esi, %eax
adcl $0, %edx
movl %eax, 24(%edi)
movl %edx, %esi
- # Round 28
+
movl 28(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -303,7 +303,7 @@ bn_mul_words:
jmp .L007mw_end
.align 16
.L006mw_finish2:
- # Tail Round 0
+
movl (%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -312,7 +312,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 1
+
movl 4(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -321,7 +321,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 2
+
movl 8(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -330,7 +330,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 3
+
movl 12(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -339,7 +339,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 4
+
movl 16(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -348,7 +348,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 5
+
movl 20(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -357,7 +357,7 @@ bn_mul_words:
movl %edx, %esi
decl %ebp
jz .L007mw_end
- # Tail Round 6
+
movl 24(%ebx), %eax
mull %ecx
addl %esi, %eax
@@ -371,8 +371,8 @@ bn_mul_words:
popl %ebx
popl %ebp
ret
-.bn_mul_words_end:
- .size bn_mul_words,.bn_mul_words_end-bn_mul_words
+.L_bn_mul_words_end:
+ .size bn_mul_words,.L_bn_mul_words_end-bn_mul_words
.ident "bn_mul_words"
.text
.align 16
@@ -391,42 +391,42 @@ bn_sqr_words:
andl $4294967288, %ebx
jz .L008sw_finish
.L009sw_loop:
- # Round 0
+
movl (%edi), %eax
mull %eax
movl %eax, (%esi)
movl %edx, 4(%esi)
- # Round 4
+
movl 4(%edi), %eax
mull %eax
movl %eax, 8(%esi)
movl %edx, 12(%esi)
- # Round 8
+
movl 8(%edi), %eax
mull %eax
movl %eax, 16(%esi)
movl %edx, 20(%esi)
- # Round 12
+
movl 12(%edi), %eax
mull %eax
movl %eax, 24(%esi)
movl %edx, 28(%esi)
- # Round 16
+
movl 16(%edi), %eax
mull %eax
movl %eax, 32(%esi)
movl %edx, 36(%esi)
- # Round 20
+
movl 20(%edi), %eax
mull %eax
movl %eax, 40(%esi)
movl %edx, 44(%esi)
- # Round 24
+
movl 24(%edi), %eax
mull %eax
movl %eax, 48(%esi)
movl %edx, 52(%esi)
- # Round 28
+
movl 28(%edi), %eax
mull %eax
movl %eax, 56(%esi)
@@ -440,49 +440,49 @@ bn_sqr_words:
movl 28(%esp), %ebx
andl $7, %ebx
jz .L010sw_end
- # Tail Round 0
+
movl (%edi), %eax
mull %eax
movl %eax, (%esi)
decl %ebx
movl %edx, 4(%esi)
jz .L010sw_end
- # Tail Round 1
+
movl 4(%edi), %eax
mull %eax
movl %eax, 8(%esi)
decl %ebx
movl %edx, 12(%esi)
jz .L010sw_end
- # Tail Round 2
+
movl 8(%edi), %eax
mull %eax
movl %eax, 16(%esi)
decl %ebx
movl %edx, 20(%esi)
jz .L010sw_end
- # Tail Round 3
+
movl 12(%edi), %eax
mull %eax
movl %eax, 24(%esi)
decl %ebx
movl %edx, 28(%esi)
jz .L010sw_end
- # Tail Round 4
+
movl 16(%edi), %eax
mull %eax
movl %eax, 32(%esi)
decl %ebx
movl %edx, 36(%esi)
jz .L010sw_end
- # Tail Round 5
+
movl 20(%edi), %eax
mull %eax
movl %eax, 40(%esi)
decl %ebx
movl %edx, 44(%esi)
jz .L010sw_end
- # Tail Round 6
+
movl 24(%edi), %eax
mull %eax
movl %eax, 48(%esi)
@@ -493,8 +493,8 @@ bn_sqr_words:
popl %ebx
popl %ebp
ret
-.bn_sqr_words_end:
- .size bn_sqr_words,.bn_sqr_words_end-bn_sqr_words
+.L_bn_sqr_words_end:
+ .size bn_sqr_words,.L_bn_sqr_words_end-bn_sqr_words
.ident "bn_sqr_words"
.text
.align 16
@@ -515,8 +515,8 @@ bn_div_words:
popl %ebx
popl %ebp
ret
-.bn_div_words_end:
- .size bn_div_words,.bn_div_words_end-bn_div_words
+.L_bn_div_words_end:
+ .size bn_div_words,.L_bn_div_words_end-bn_div_words
.ident "bn_div_words"
.text
.align 16
@@ -537,7 +537,7 @@ bn_add_words:
andl $4294967288, %ebp
jz .L011aw_finish
.L012aw_loop:
- # Round 0
+
movl (%esi), %ecx
movl (%edi), %edx
addl %eax, %ecx
@@ -546,7 +546,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, (%ebx)
- # Round 1
+
movl 4(%esi), %ecx
movl 4(%edi), %edx
addl %eax, %ecx
@@ -555,7 +555,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 4(%ebx)
- # Round 2
+
movl 8(%esi), %ecx
movl 8(%edi), %edx
addl %eax, %ecx
@@ -564,7 +564,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 8(%ebx)
- # Round 3
+
movl 12(%esi), %ecx
movl 12(%edi), %edx
addl %eax, %ecx
@@ -573,7 +573,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 12(%ebx)
- # Round 4
+
movl 16(%esi), %ecx
movl 16(%edi), %edx
addl %eax, %ecx
@@ -582,7 +582,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 16(%ebx)
- # Round 5
+
movl 20(%esi), %ecx
movl 20(%edi), %edx
addl %eax, %ecx
@@ -591,7 +591,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 20(%ebx)
- # Round 6
+
movl 24(%esi), %ecx
movl 24(%edi), %edx
addl %eax, %ecx
@@ -600,7 +600,7 @@ bn_add_words:
addl %edx, %ecx
adcl $0, %eax
movl %ecx, 24(%ebx)
- # Round 7
+
movl 28(%esi), %ecx
movl 28(%edi), %edx
addl %eax, %ecx
@@ -619,7 +619,7 @@ bn_add_words:
movl 32(%esp), %ebp
andl $7, %ebp
jz .L013aw_end
- # Tail Round 0
+
movl (%esi), %ecx
movl (%edi), %edx
addl %eax, %ecx
@@ -630,7 +630,7 @@ bn_add_words:
decl %ebp
movl %ecx, (%ebx)
jz .L013aw_end
- # Tail Round 1
+
movl 4(%esi), %ecx
movl 4(%edi), %edx
addl %eax, %ecx
@@ -641,7 +641,7 @@ bn_add_words:
decl %ebp
movl %ecx, 4(%ebx)
jz .L013aw_end
- # Tail Round 2
+
movl 8(%esi), %ecx
movl 8(%edi), %edx
addl %eax, %ecx
@@ -652,7 +652,7 @@ bn_add_words:
decl %ebp
movl %ecx, 8(%ebx)
jz .L013aw_end
- # Tail Round 3
+
movl 12(%esi), %ecx
movl 12(%edi), %edx
addl %eax, %ecx
@@ -663,7 +663,7 @@ bn_add_words:
decl %ebp
movl %ecx, 12(%ebx)
jz .L013aw_end
- # Tail Round 4
+
movl 16(%esi), %ecx
movl 16(%edi), %edx
addl %eax, %ecx
@@ -674,7 +674,7 @@ bn_add_words:
decl %ebp
movl %ecx, 16(%ebx)
jz .L013aw_end
- # Tail Round 5
+
movl 20(%esi), %ecx
movl 20(%edi), %edx
addl %eax, %ecx
@@ -685,7 +685,7 @@ bn_add_words:
decl %ebp
movl %ecx, 20(%ebx)
jz .L013aw_end
- # Tail Round 6
+
movl 24(%esi), %ecx
movl 24(%edi), %edx
addl %eax, %ecx
@@ -700,8 +700,8 @@ bn_add_words:
popl %ebx
popl %ebp
ret
-.bn_add_words_end:
- .size bn_add_words,.bn_add_words_end-bn_add_words
+.L_bn_add_words_end:
+ .size bn_add_words,.L_bn_add_words_end-bn_add_words
.ident "bn_add_words"
.text
.align 16
@@ -722,7 +722,7 @@ bn_sub_words:
andl $4294967288, %ebp
jz .L014aw_finish
.L015aw_loop:
- # Round 0
+
movl (%esi), %ecx
movl (%edi), %edx
subl %eax, %ecx
@@ -731,7 +731,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, (%ebx)
- # Round 1
+
movl 4(%esi), %ecx
movl 4(%edi), %edx
subl %eax, %ecx
@@ -740,7 +740,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 4(%ebx)
- # Round 2
+
movl 8(%esi), %ecx
movl 8(%edi), %edx
subl %eax, %ecx
@@ -749,7 +749,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 8(%ebx)
- # Round 3
+
movl 12(%esi), %ecx
movl 12(%edi), %edx
subl %eax, %ecx
@@ -758,7 +758,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 12(%ebx)
- # Round 4
+
movl 16(%esi), %ecx
movl 16(%edi), %edx
subl %eax, %ecx
@@ -767,7 +767,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 16(%ebx)
- # Round 5
+
movl 20(%esi), %ecx
movl 20(%edi), %edx
subl %eax, %ecx
@@ -776,7 +776,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 20(%ebx)
- # Round 6
+
movl 24(%esi), %ecx
movl 24(%edi), %edx
subl %eax, %ecx
@@ -785,7 +785,7 @@ bn_sub_words:
subl %edx, %ecx
adcl $0, %eax
movl %ecx, 24(%ebx)
- # Round 7
+
movl 28(%esi), %ecx
movl 28(%edi), %edx
subl %eax, %ecx
@@ -804,7 +804,7 @@ bn_sub_words:
movl 32(%esp), %ebp
andl $7, %ebp
jz .L016aw_end
- # Tail Round 0
+
movl (%esi), %ecx
movl (%edi), %edx
subl %eax, %ecx
@@ -815,7 +815,7 @@ bn_sub_words:
decl %ebp
movl %ecx, (%ebx)
jz .L016aw_end
- # Tail Round 1
+
movl 4(%esi), %ecx
movl 4(%edi), %edx
subl %eax, %ecx
@@ -826,7 +826,7 @@ bn_sub_words:
decl %ebp
movl %ecx, 4(%ebx)
jz .L016aw_end
- # Tail Round 2
+
movl 8(%esi), %ecx
movl 8(%edi), %edx
subl %eax, %ecx
@@ -837,7 +837,7 @@ bn_sub_words:
decl %ebp
movl %ecx, 8(%ebx)
jz .L016aw_end
- # Tail Round 3
+
movl 12(%esi), %ecx
movl 12(%edi), %edx
subl %eax, %ecx
@@ -848,7 +848,7 @@ bn_sub_words:
decl %ebp
movl %ecx, 12(%ebx)
jz .L016aw_end
- # Tail Round 4
+
movl 16(%esi), %ecx
movl 16(%edi), %edx
subl %eax, %ecx
@@ -859,7 +859,7 @@ bn_sub_words:
decl %ebp
movl %ecx, 16(%ebx)
jz .L016aw_end
- # Tail Round 5
+
movl 20(%esi), %ecx
movl 20(%edi), %edx
subl %eax, %ecx
@@ -870,7 +870,7 @@ bn_sub_words:
decl %ebp
movl %ecx, 20(%ebx)
jz .L016aw_end
- # Tail Round 6
+
movl 24(%esi), %ecx
movl 24(%edi), %edx
subl %eax, %ecx
@@ -885,6 +885,6 @@ bn_sub_words:
popl %ebx
popl %ebp
ret
-.bn_sub_words_end:
- .size bn_sub_words,.bn_sub_words_end-bn_sub_words
+.L_bn_sub_words_end:
+ .size bn_sub_words,.L_bn_sub_words_end-bn_sub_words
.ident "bn_sub_words"
OpenPOWER on IntegriCloud