diff options
Diffstat (limited to 'deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s')
-rw-r--r-- | deps/openssl/asm/x64-elf-gas/bn/x86_64-mont5.s | 22 |
1 files changed, 19 insertions, 3 deletions
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 db3fe399ab..41e96c8e90 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 @@ -1565,6 +1565,15 @@ sqr8x_reduction: .align 32 .L8x_tail_done: addq (%rdx),%r8 + adcq $0,%r9 + adcq $0,%r10 + adcq $0,%r11 + adcq $0,%r12 + adcq $0,%r13 + adcq $0,%r14 + adcq $0,%r15 + + xorq %rax,%rax negq %rsi @@ -2806,6 +2815,15 @@ sqrx8x_reduction: .align 32 .Lsqrx8x_tail_done: addq 24+8(%rsp),%r8 + adcq $0,%r9 + adcq $0,%r10 + adcq $0,%r11 + adcq $0,%r12 + adcq $0,%r13 + adcq $0,%r14 + adcq $0,%r15 + + movq %rsi,%rax subq 16+8(%rsp),%rsi @@ -2839,13 +2857,11 @@ sqrx8x_reduction: leaq 64(%rdi,%rcx,1),%rdi cmpq 8+8(%rsp),%r8 jb .Lsqrx8x_reduction_loop - xorq %rbx,%rbx + xorl %ebx,%ebx subq %r15,%rsi adcq %rbx,%rbx movq %rcx,%r10 -.byte 0x67 orq %rbx,%rax -.byte 0x67 movq %rcx,%r9 xorq $1,%rax sarq $3+2,%rcx |