summaryrefslogtreecommitdiff
path: root/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-02-26 12:25:11 -0800
committerSam Roberts <vieuxtech@gmail.com>2019-03-05 08:40:38 -0800
commitc8d9ea4439e258a1983579100618bed70b2d524a (patch)
tree6eea3e70646be32633e1f8b4887c651974da922c /deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm
parent6df7bd6c3b5e95328034d397784bed184508bf85 (diff)
downloadandroid-node-v8-c8d9ea4439e258a1983579100618bed70b2d524a.tar.gz
android-node-v8-c8d9ea4439e258a1983579100618bed70b2d524a.tar.bz2
android-node-v8-c8d9ea4439e258a1983579100618bed70b2d524a.zip
deps: update archs files for OpenSSL-1.1.1b
`cd deps/openssl/config; make` updates all archs dependant files. PR-URL: https://github.com/nodejs/node/pull/26327 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm')
-rw-r--r--deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm36
1 files changed, 36 insertions, 0 deletions
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm
index 9ef88ef1c8..c87f73a8aa 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/ec/ecp_nistz256-x86_64.asm
@@ -4050,6 +4050,7 @@ ALIGN 32
__ecp_nistz256_mul_montq:
+
mov rbp,rax
mul r9
mov r14,QWORD[(($L$poly+8))]
@@ -4268,6 +4269,7 @@ __ecp_nistz256_mul_montq:
+
global ecp_nistz256_sqr_mont
ALIGN 32
@@ -4340,6 +4342,7 @@ $L$SEH_end_ecp_nistz256_sqr_mont:
ALIGN 32
__ecp_nistz256_sqr_montq:
+
mov r13,rax
mul r14
mov r9,rax
@@ -4499,10 +4502,12 @@ __ecp_nistz256_sqr_montq:
DB 0F3h,0C3h ;repret
+
ALIGN 32
__ecp_nistz256_mul_montx:
+
mulx r9,r8,r9
mulx r10,rcx,r10
mov r14,32
@@ -4666,8 +4671,10 @@ __ecp_nistz256_mul_montx:
+
ALIGN 32
__ecp_nistz256_sqr_montx:
+
mulx r10,r9,r14
mulx r11,rcx,r15
xor eax,eax
@@ -4798,6 +4805,7 @@ DB 0x67,0x67
+
global ecp_nistz256_from_mont
ALIGN 32
@@ -4938,6 +4946,7 @@ global ecp_nistz256_gather_w5
ALIGN 32
ecp_nistz256_gather_w5:
+
mov eax,DWORD[((OPENSSL_ia32cap_P+8))]
test eax,32
jnz NEAR $L$avx2_gather_w5
@@ -5016,6 +5025,7 @@ $L$select_loop_sse_w5:
movaps xmm15,XMMWORD[144+rsp]
lea rsp,[168+rsp]
DB 0F3h,0C3h ;repret
+
$L$SEH_end_ecp_nistz256_gather_w5:
@@ -5044,6 +5054,7 @@ global ecp_nistz256_gather_w7
ALIGN 32
ecp_nistz256_gather_w7:
+
mov eax,DWORD[((OPENSSL_ia32cap_P+8))]
test eax,32
jnz NEAR $L$avx2_gather_w7
@@ -5111,6 +5122,7 @@ $L$select_loop_sse_w7:
movaps xmm15,XMMWORD[144+rsp]
lea rsp,[168+rsp]
DB 0F3h,0C3h ;repret
+
$L$SEH_end_ecp_nistz256_gather_w7:
@@ -5118,6 +5130,7 @@ $L$SEH_end_ecp_nistz256_gather_w7:
ALIGN 32
ecp_nistz256_avx2_gather_w5:
+
$L$avx2_gather_w5:
vzeroupper
lea rax,[((-136))+rsp]
@@ -5197,6 +5210,7 @@ $L$select_loop_avx2_w5:
movaps xmm15,XMMWORD[144+rsp]
lea rsp,[r11]
DB 0F3h,0C3h ;repret
+
$L$SEH_end_ecp_nistz256_avx2_gather_w5:
@@ -5206,6 +5220,7 @@ global ecp_nistz256_avx2_gather_w7
ALIGN 32
ecp_nistz256_avx2_gather_w7:
+
$L$avx2_gather_w7:
vzeroupper
mov r11,rsp
@@ -5300,11 +5315,13 @@ $L$select_loop_avx2_w7:
movaps xmm15,XMMWORD[144+rsp]
lea rsp,[r11]
DB 0F3h,0C3h ;repret
+
$L$SEH_end_ecp_nistz256_avx2_gather_w7:
ALIGN 32
__ecp_nistz256_add_toq:
+
xor r11,r11
add r12,QWORD[rbx]
adc r13,QWORD[8+rbx]
@@ -5335,8 +5352,10 @@ __ecp_nistz256_add_toq:
+
ALIGN 32
__ecp_nistz256_sub_fromq:
+
sub r12,QWORD[rbx]
sbb r13,QWORD[8+rbx]
mov rax,r12
@@ -5366,8 +5385,10 @@ __ecp_nistz256_sub_fromq:
+
ALIGN 32
__ecp_nistz256_subq:
+
sub rax,r12
sbb rbp,r13
mov r12,rax
@@ -5393,8 +5414,10 @@ __ecp_nistz256_subq:
+
ALIGN 32
__ecp_nistz256_mul_by_2q:
+
xor r11,r11
add r12,r12
adc r13,r13
@@ -5423,6 +5446,7 @@ __ecp_nistz256_mul_by_2q:
DB 0F3h,0C3h ;repret
+
global ecp_nistz256_point_double
ALIGN 32
@@ -5861,8 +5885,10 @@ $L$add_doubleq:
DB 102,72,15,126,206
DB 102,72,15,126,199
add rsp,416
+
jmp NEAR $L$point_double_shortcutq
+
ALIGN 32
$L$add_proceedq:
mov rax,QWORD[((0+64))+rsp]
@@ -6430,6 +6456,7 @@ $L$SEH_end_ecp_nistz256_point_add_affine:
ALIGN 32
__ecp_nistz256_add_tox:
+
xor r11,r11
adc r12,QWORD[rbx]
adc r13,QWORD[8+rbx]
@@ -6461,8 +6488,10 @@ __ecp_nistz256_add_tox:
+
ALIGN 32
__ecp_nistz256_sub_fromx:
+
xor r11,r11
sbb r12,QWORD[rbx]
sbb r13,QWORD[8+rbx]
@@ -6494,8 +6523,10 @@ __ecp_nistz256_sub_fromx:
+
ALIGN 32
__ecp_nistz256_subx:
+
xor r11,r11
sbb rax,r12
sbb rbp,r13
@@ -6523,8 +6554,10 @@ __ecp_nistz256_subx:
+
ALIGN 32
__ecp_nistz256_mul_by_2x:
+
xor r11,r11
adc r12,r12
adc r13,r13
@@ -6555,6 +6588,7 @@ __ecp_nistz256_mul_by_2x:
DB 0F3h,0C3h ;repret
+
ALIGN 32
ecp_nistz256_point_doublex:
mov QWORD[8+rsp],rdi ;WIN64 prologue
@@ -6984,8 +7018,10 @@ $L$add_doublex:
DB 102,72,15,126,206
DB 102,72,15,126,199
add rsp,416
+
jmp NEAR $L$point_double_shortcutx
+
ALIGN 32
$L$add_proceedx:
mov rdx,QWORD[((0+64))+rsp]