Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@ohtsu.org>2017-01-26 18:58:31 +0300
committerMyles Borins <myborins@google.com>2017-01-31 18:54:50 +0300
commit8029f64135c382b76ddcb9b2365472d3c9b5c6cf (patch)
tree0ea97e122e6fc94ba60978feb937c18623eae80b
parent0081659a41a85a1ed82cc654274b74a2fdbb52fd (diff)
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: https://github.com/nodejs/node/pull/11021 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
-rw-r--r--deps/openssl/asm/x64-elf-gas/bn/x86_64-mont.s5
-rw-r--r--deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s12
-rw-r--r--deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont.s5
-rw-r--r--deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont5.s12
-rw-r--r--deps/openssl/asm/x64-win32-masm/bn/x86_64-mont.asm5
-rw-r--r--deps/openssl/asm/x64-win32-masm/bn/x86_64-mont5.asm12
-rw-r--r--deps/openssl/asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s5
-rw-r--r--deps/openssl/asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s5
-rw-r--r--deps/openssl/asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm5
9 files changed, 27 insertions, 39 deletions
diff --git a/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont.s b/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont.s
index 21175f570d0..0fd3703ade8 100644
--- a/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont.s
+++ b/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont.s
@@ -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
diff --git a/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s b/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s
index 416152560a7..7eac91326f6 100644
--- a/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s
+++ b/deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s
@@ -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
diff --git a/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont.s b/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont.s
index 1d5e63892f0..9fcda4ba3b6 100644
--- a/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont.s
+++ b/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont.s
@@ -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
diff --git a/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont5.s b/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont5.s
index 878c31ffac8..21416b6f5d7 100644
--- a/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont5.s
+++ b/deps/openssl/asm/x64-macosx-gas/bn/x86_64-mont5.s
@@ -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
diff --git a/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont.asm b/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont.asm
index 9693ed97e47..a1efb2f6987 100644
--- a/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont.asm
+++ b/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont.asm
@@ -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
diff --git a/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont5.asm b/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont5.asm
index 6cd4f2d3d8b..837b0bcedcd 100644
--- a/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont5.asm
+++ b/deps/openssl/asm/x64-win32-masm/bn/x86_64-mont5.asm
@@ -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]
diff --git a/deps/openssl/asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s b/deps/openssl/asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s
index 74ac8ee1595..175f5525779 100644
--- a/deps/openssl/asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s
+++ b/deps/openssl/asm_obsolete/x64-elf-gas/bn/x86_64-mont5.s
@@ -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:
diff --git a/deps/openssl/asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s b/deps/openssl/asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s
index 527abf57114..17036a5abdc 100644
--- a/deps/openssl/asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s
+++ b/deps/openssl/asm_obsolete/x64-macosx-gas/bn/x86_64-mont5.s
@@ -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:
diff --git a/deps/openssl/asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm b/deps/openssl/asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm
index 89f45a49157..a1cd3dd1b66 100644
--- a/deps/openssl/asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm
+++ b/deps/openssl/asm_obsolete/x64-win32-masm/bn/x86_64-mont5.asm
@@ -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::