summaryrefslogtreecommitdiff
path: root/deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@ohtsu.org>2018-08-14 23:14:19 +0900
committerRod Vagg <rod@vagg.org>2018-08-16 11:52:38 +1000
commiteaa0ad97872ac1becf437c14909afe7a01b77364 (patch)
tree00403152ff5b9186061f99e0e4635706a2ce1dcf /deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s
parent45b9f5df6ff1548f01ed646ebee75e3f0873cefd (diff)
downloadandroid-node-v8-eaa0ad97872ac1becf437c14909afe7a01b77364.tar.gz
android-node-v8-eaa0ad97872ac1becf437c14909afe7a01b77364.tar.bz2
android-node-v8-eaa0ad97872ac1becf437c14909afe7a01b77364.zip
deps: update archs files for OpenSSL-1.1.0i
`cd deps/openssl/config; make` updates all archs dependant files. PR-URL: https://github.com/nodejs/node/pull/22318 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s')
-rw-r--r--deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s19
1 files changed, 10 insertions, 9 deletions
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s b/deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s
index a2fccf088e..0dd53512f9 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s
+++ b/deps/openssl/config/archs/linux-x86_64/asm/crypto/bn/x86_64-mont5.s
@@ -1,4 +1,4 @@
-.text
+.text
@@ -393,18 +393,19 @@ bn_mul_mont_gather5:
jnz .Lsub
sbbq $0,%rax
+ movq $-1,%rbx
+ xorq %rax,%rbx
xorq %r14,%r14
- andq %rax,%rsi
- notq %rax
- movq %rdi,%rcx
- andq %rax,%rcx
movq %r9,%r15
- orq %rcx,%rsi
-.align 16
+
.Lcopy:
- movq (%rsi,%r14,8),%rax
+ movq (%rdi,%r14,8),%rcx
+ movq (%rsp,%r14,8),%rdx
+ andq %rbx,%rcx
+ andq %rax,%rdx
movq %r14,(%rsp,%r14,8)
- movq %rax,(%rdi,%r14,8)
+ orq %rcx,%rdx
+ movq %rdx,(%rdi,%r14,8)
leaq 1(%r14),%r14
subq $1,%r15
jnz .Lcopy