Permalink
Browse files

deps: update openssl asm and asm_obsolete files

Regenerate asm files with Makefile and CC=gcc and ASM=gcc where
gcc-5.4.0. Also asm files in asm_obsolete dir to support old compiler
and assembler are regenerated without CC and ASM envs

PR-URL: #11021
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
1 parent 0081659 commit 8029f64135c382b76ddcb9b2365472d3c9b5c6cf Shigeki Ohtsu committed with Myles Borins Jan 26, 2017
@@ -995,18 +995,17 @@ bn_mulx4x_mont:
mulxq 16(%rsi),%r15,%r13
adoxq -24(%rbx),%r11
adcxq %r15,%r12
- adoxq %rbp,%r12
+ adoxq -16(%rbx),%r12
adcxq %rbp,%r13
+ adoxq %rbp,%r13
movq %rdi,8(%rsp)
-.byte 0x67
movq %r8,%r15
imulq 24(%rsp),%r8
xorl %ebp,%ebp
mulxq 24(%rsi),%rax,%r14
movq %r8,%rdx
- adoxq -16(%rbx),%r12
adcxq %rax,%r13
adoxq -8(%rbx),%r13
adcxq %rbp,%r14
@@ -1889,6 +1889,7 @@ __bn_sqr8x_reduction:
.align 32
.L8x_tail_done:
+ xorq %rax,%rax
addq (%rdx),%r8
adcq $0,%r9
adcq $0,%r10
@@ -1897,9 +1898,7 @@ __bn_sqr8x_reduction:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- xorq %rax,%rax
+ adcq $0,%rax
negq %rsi
.L8x_no_tail:
@@ -3344,6 +3343,7 @@ __bn_sqrx8x_reduction:
.align 32
.Lsqrx8x_tail_done:
+ xorq %rax,%rax
addq 24+8(%rsp),%r8
adcq $0,%r9
adcq $0,%r10
@@ -3352,9 +3352,7 @@ __bn_sqrx8x_reduction:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- movq %rsi,%rax
+ adcq $0,%rax
subq 16+8(%rsp),%rsi
.Lsqrx8x_no_tail:
@@ -3369,7 +3367,7 @@ __bn_sqrx8x_reduction:
adcq 40(%rdi),%r13
adcq 48(%rdi),%r14
adcq 56(%rdi),%r15
- adcq %rax,%rax
+ adcq $0,%rax
movq 32+8(%rsp),%rbx
movq 64(%rdi,%rcx,1),%rdx
@@ -995,18 +995,17 @@ L$mulx4x_outer:
mulxq 16(%rsi),%r15,%r13
adoxq -24(%rbx),%r11
adcxq %r15,%r12
- adoxq %rbp,%r12
+ adoxq -16(%rbx),%r12
adcxq %rbp,%r13
+ adoxq %rbp,%r13
movq %rdi,8(%rsp)
-.byte 0x67
movq %r8,%r15
imulq 24(%rsp),%r8
xorl %ebp,%ebp
mulxq 24(%rsi),%rax,%r14
movq %r8,%rdx
- adoxq -16(%rbx),%r12
adcxq %rax,%r13
adoxq -8(%rbx),%r13
adcxq %rbp,%r14
@@ -1889,6 +1889,7 @@ L$8x_tail:
.p2align 5
L$8x_tail_done:
+ xorq %rax,%rax
addq (%rdx),%r8
adcq $0,%r9
adcq $0,%r10
@@ -1897,9 +1898,7 @@ L$8x_tail_done:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- xorq %rax,%rax
+ adcq $0,%rax
negq %rsi
L$8x_no_tail:
@@ -3344,6 +3343,7 @@ L$sqrx8x_tail:
.p2align 5
L$sqrx8x_tail_done:
+ xorq %rax,%rax
addq 24+8(%rsp),%r8
adcq $0,%r9
adcq $0,%r10
@@ -3352,9 +3352,7 @@ L$sqrx8x_tail_done:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- movq %rsi,%rax
+ adcq $0,%rax
subq 16+8(%rsp),%rsi
L$sqrx8x_no_tail:
@@ -3369,7 +3367,7 @@ L$sqrx8x_no_tail:
adcq 40(%rdi),%r13
adcq 48(%rdi),%r14
adcq 56(%rdi),%r15
- adcq %rax,%rax
+ adcq $0,%rax
movq 32+8(%rsp),%rbx
movq 64(%rdi,%rcx,1),%rdx
@@ -1053,18 +1053,17 @@ $L$mulx4x_outer::
mulx r13,r15,QWORD PTR[16+rsi]
adox r11,QWORD PTR[((-24))+rbx]
adcx r12,r15
- adox r12,rbp
+ adox r12,QWORD PTR[((-16))+rbx]
adcx r13,rbp
+ adox r13,rbp
mov QWORD PTR[8+rsp],rdi
-DB 067h
mov r15,r8
imul r8,QWORD PTR[24+rsp]
xor ebp,ebp
mulx r14,rax,QWORD PTR[24+rsi]
mov rdx,r8
- adox r12,QWORD PTR[((-16))+rbx]
adcx r13,rax
adox r13,QWORD PTR[((-8))+rbx]
adcx r14,rbp
@@ -1935,6 +1935,7 @@ $L$8x_tail::
ALIGN 32
$L$8x_tail_done::
+ xor rax,rax
add r8,QWORD PTR[rdx]
adc r9,0
adc r10,0
@@ -1943,9 +1944,7 @@ $L$8x_tail_done::
adc r13,0
adc r14,0
adc r15,0
-
-
- xor rax,rax
+ adc rax,0
neg rsi
$L$8x_no_tail::
@@ -3435,6 +3434,7 @@ DB 0c4h,062h,0fbh,0f6h,0a5h,020h,000h,000h,000h
ALIGN 32
$L$sqrx8x_tail_done::
+ xor rax,rax
add r8,QWORD PTR[((24+8))+rsp]
adc r9,0
adc r10,0
@@ -3443,9 +3443,7 @@ $L$sqrx8x_tail_done::
adc r13,0
adc r14,0
adc r15,0
-
-
- mov rax,rsi
+ adc rax,0
sub rsi,QWORD PTR[((16+8))+rsp]
$L$sqrx8x_no_tail::
@@ -3460,7 +3458,7 @@ DB 102,72,15,126,213
adc r13,QWORD PTR[40+rdi]
adc r14,QWORD PTR[48+rdi]
adc r15,QWORD PTR[56+rdi]
- adc rax,rax
+ adc rax,0
mov rbx,QWORD PTR[((32+8))+rsp]
mov rdx,QWORD PTR[64+rcx*1+rdi]
@@ -1881,6 +1881,7 @@ __bn_sqr8x_reduction:
.align 32
.L8x_tail_done:
+ xorq %rax,%rax
addq (%rdx),%r8
adcq $0,%r9
adcq $0,%r10
@@ -1889,9 +1890,7 @@ __bn_sqr8x_reduction:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- xorq %rax,%rax
+ adcq $0,%rax
negq %rsi
.L8x_no_tail:
@@ -1881,6 +1881,7 @@ L$8x_tail:
.p2align 5
L$8x_tail_done:
+ xorq %rax,%rax
addq (%rdx),%r8
adcq $0,%r9
adcq $0,%r10
@@ -1889,9 +1890,7 @@ L$8x_tail_done:
adcq $0,%r13
adcq $0,%r14
adcq $0,%r15
-
-
- xorq %rax,%rax
+ adcq $0,%rax
negq %rsi
L$8x_no_tail:
@@ -1927,6 +1927,7 @@ $L$8x_tail::
ALIGN 32
$L$8x_tail_done::
+ xor rax,rax
add r8,QWORD PTR[rdx]
adc r9,0
adc r10,0
@@ -1935,9 +1936,7 @@ $L$8x_tail_done::
adc r13,0
adc r14,0
adc r15,0
-
-
- xor rax,rax
+ adc rax,0
neg rsi
$L$8x_no_tail::

0 comments on commit 8029f64

Please sign in to comment.