Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64 regen ...



details:   https://anonhg.NetBSD.org/src/rev/57d406adb53a
branches:  trunk
changeset: 814451:57d406adb53a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 21 19:13:15 2016 +0000

description:
regen with old assembly stubs.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-x86_64.S |  5997 +++------
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S |   106 +-
 2 files changed, 2121 insertions(+), 3982 deletions(-)

diffs (truncated from 7628 to 300 lines):

diff -r 7302d706dcc5 -r 57d406adb53a crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-x86_64.S
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-x86_64.S       Mon Mar 21 19:12:26 2016 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-x86_64.S       Mon Mar 21 19:13:15 2016 +0000
@@ -6,37 +6,27 @@
 .type  sha1_block_data_order,@function
 .align 16
 sha1_block_data_order:
-       movl    OPENSSL_ia32cap_P+0@GOTPCREL(%rip),%r9d
-       movl    OPENSSL_ia32cap_P+4@GOTPCREL(%rip),%r8d
-       movl    OPENSSL_ia32cap_P+8@GOTPCREL(%rip),%r10d
-       testl   $512,%r8d
-       jz      .Lialu
-       testl   $536870912,%r10d
-       jnz     _shaext_shortcut
-       andl    $296,%r10d
-       cmpl    $296,%r10d
-       je      _avx2_shortcut
-       andl    $268435456,%r8d
-       andl    $1073741824,%r9d
-       orl     %r9d,%r8d
-       cmpl    $1342177280,%r8d
-       je      _avx_shortcut
+       movq    OPENSSL_ia32cap_P+0@GOTPCREL(%rip),%r8
+       movl    4(%r8),%r8d
+       btl     $9,%r8d
+       jnc     .Lialu
+       btl     $28,%r8d
+       jc      _avx_shortcut
        jmp     _ssse3_shortcut
 
 .align 16
 .Lialu:
-       movq    %rsp,%rax
        pushq   %rbx
        pushq   %rbp
        pushq   %r12
        pushq   %r13
-       pushq   %r14
+       movq    %rsp,%r11
        movq    %rdi,%r8
        subq    $72,%rsp
        movq    %rsi,%r9
        andq    $-64,%rsp
        movq    %rdx,%r10
-       movq    %rax,64(%rsp)
+       movq    %r11,64(%rsp)
 .Lprologue:
 
        movl    0(%r8),%esi
@@ -50,1168 +40,1230 @@
 .Lloop:
        movl    0(%r9),%edx
        bswapl  %edx
+       movl    %edx,0(%rsp)
+       movl    %r11d,%eax
        movl    4(%r9),%ebp
-       movl    %r12d,%eax
-       movl    %edx,0(%rsp)
        movl    %esi,%ecx
+       xorl    %r12d,%eax
        bswapl  %ebp
-       xorl    %r11d,%eax
        roll    $5,%ecx
+       leal    1518500249(%rdx,%r13,1),%r13d
        andl    %edi,%eax
-       leal    1518500249(%rdx,%r13,1),%r13d
+       movl    %ebp,4(%rsp)
        addl    %ecx,%r13d
        xorl    %r12d,%eax
        roll    $30,%edi
        addl    %eax,%r13d
-       movl    8(%r9),%r14d
-       movl    %r11d,%eax
-       movl    %ebp,4(%rsp)
+       movl    %edi,%eax
+       movl    8(%r9),%edx
        movl    %r13d,%ecx
-       bswapl  %r14d
-       xorl    %edi,%eax
+       xorl    %r11d,%eax
+       bswapl  %edx
        roll    $5,%ecx
+       leal    1518500249(%rbp,%r12,1),%r12d
        andl    %esi,%eax
-       leal    1518500249(%rbp,%r12,1),%r12d
+       movl    %edx,8(%rsp)
        addl    %ecx,%r12d
        xorl    %r11d,%eax
        roll    $30,%esi
        addl    %eax,%r12d
-       movl    12(%r9),%edx
-       movl    %edi,%eax
-       movl    %r14d,8(%rsp)
+       movl    %esi,%eax
+       movl    12(%r9),%ebp
        movl    %r12d,%ecx
-       bswapl  %edx
-       xorl    %esi,%eax
+       xorl    %edi,%eax
+       bswapl  %ebp
        roll    $5,%ecx
+       leal    1518500249(%rdx,%r11,1),%r11d
        andl    %r13d,%eax
-       leal    1518500249(%r14,%r11,1),%r11d
+       movl    %ebp,12(%rsp)
        addl    %ecx,%r11d
        xorl    %edi,%eax
        roll    $30,%r13d
        addl    %eax,%r11d
-       movl    16(%r9),%ebp
-       movl    %esi,%eax
-       movl    %edx,12(%rsp)
+       movl    %r13d,%eax
+       movl    16(%r9),%edx
        movl    %r11d,%ecx
-       bswapl  %ebp
-       xorl    %r13d,%eax
+       xorl    %esi,%eax
+       bswapl  %edx
        roll    $5,%ecx
+       leal    1518500249(%rbp,%rdi,1),%edi
        andl    %r12d,%eax
-       leal    1518500249(%rdx,%rdi,1),%edi
+       movl    %edx,16(%rsp)
        addl    %ecx,%edi
        xorl    %esi,%eax
        roll    $30,%r12d
        addl    %eax,%edi
-       movl    20(%r9),%r14d
-       movl    %r13d,%eax
-       movl    %ebp,16(%rsp)
+       movl    %r12d,%eax
+       movl    20(%r9),%ebp
        movl    %edi,%ecx
-       bswapl  %r14d
-       xorl    %r12d,%eax
+       xorl    %r13d,%eax
+       bswapl  %ebp
        roll    $5,%ecx
+       leal    1518500249(%rdx,%rsi,1),%esi
        andl    %r11d,%eax
-       leal    1518500249(%rbp,%rsi,1),%esi
+       movl    %ebp,20(%rsp)
        addl    %ecx,%esi
        xorl    %r13d,%eax
        roll    $30,%r11d
        addl    %eax,%esi
+       movl    %r11d,%eax
        movl    24(%r9),%edx
-       movl    %r12d,%eax
-       movl    %r14d,20(%rsp)
        movl    %esi,%ecx
+       xorl    %r12d,%eax
        bswapl  %edx
-       xorl    %r11d,%eax
        roll    $5,%ecx
+       leal    1518500249(%rbp,%r13,1),%r13d
        andl    %edi,%eax
-       leal    1518500249(%r14,%r13,1),%r13d
+       movl    %edx,24(%rsp)
        addl    %ecx,%r13d
        xorl    %r12d,%eax
        roll    $30,%edi
        addl    %eax,%r13d
+       movl    %edi,%eax
        movl    28(%r9),%ebp
-       movl    %r11d,%eax
-       movl    %edx,24(%rsp)
        movl    %r13d,%ecx
+       xorl    %r11d,%eax
        bswapl  %ebp
-       xorl    %edi,%eax
        roll    $5,%ecx
+       leal    1518500249(%rdx,%r12,1),%r12d
        andl    %esi,%eax
-       leal    1518500249(%rdx,%r12,1),%r12d
+       movl    %ebp,28(%rsp)
        addl    %ecx,%r12d
        xorl    %r11d,%eax
        roll    $30,%esi
        addl    %eax,%r12d
-       movl    32(%r9),%r14d
-       movl    %edi,%eax
-       movl    %ebp,28(%rsp)
+       movl    %esi,%eax
+       movl    32(%r9),%edx
        movl    %r12d,%ecx
-       bswapl  %r14d
-       xorl    %esi,%eax
+       xorl    %edi,%eax
+       bswapl  %edx
        roll    $5,%ecx
+       leal    1518500249(%rbp,%r11,1),%r11d
        andl    %r13d,%eax
-       leal    1518500249(%rbp,%r11,1),%r11d
+       movl    %edx,32(%rsp)
        addl    %ecx,%r11d
        xorl    %edi,%eax
        roll    $30,%r13d
        addl    %eax,%r11d
-       movl    36(%r9),%edx
-       movl    %esi,%eax
-       movl    %r14d,32(%rsp)
+       movl    %r13d,%eax
+       movl    36(%r9),%ebp
        movl    %r11d,%ecx
-       bswapl  %edx
-       xorl    %r13d,%eax
+       xorl    %esi,%eax
+       bswapl  %ebp
        roll    $5,%ecx
+       leal    1518500249(%rdx,%rdi,1),%edi
        andl    %r12d,%eax
-       leal    1518500249(%r14,%rdi,1),%edi
+       movl    %ebp,36(%rsp)
        addl    %ecx,%edi
        xorl    %esi,%eax
        roll    $30,%r12d
        addl    %eax,%edi
-       movl    40(%r9),%ebp
-       movl    %r13d,%eax
-       movl    %edx,36(%rsp)
+       movl    %r12d,%eax
+       movl    40(%r9),%edx
        movl    %edi,%ecx
-       bswapl  %ebp
-       xorl    %r12d,%eax
+       xorl    %r13d,%eax
+       bswapl  %edx
        roll    $5,%ecx
+       leal    1518500249(%rbp,%rsi,1),%esi
        andl    %r11d,%eax
-       leal    1518500249(%rdx,%rsi,1),%esi
+       movl    %edx,40(%rsp)
        addl    %ecx,%esi
        xorl    %r13d,%eax
        roll    $30,%r11d
        addl    %eax,%esi
-       movl    44(%r9),%r14d
-       movl    %r12d,%eax
-       movl    %ebp,40(%rsp)
+       movl    %r11d,%eax
+       movl    44(%r9),%ebp
        movl    %esi,%ecx
-       bswapl  %r14d
-       xorl    %r11d,%eax
+       xorl    %r12d,%eax
+       bswapl  %ebp
        roll    $5,%ecx
+       leal    1518500249(%rdx,%r13,1),%r13d
        andl    %edi,%eax
-       leal    1518500249(%rbp,%r13,1),%r13d
+       movl    %ebp,44(%rsp)
        addl    %ecx,%r13d
        xorl    %r12d,%eax
        roll    $30,%edi
        addl    %eax,%r13d
+       movl    %edi,%eax
        movl    48(%r9),%edx
-       movl    %r11d,%eax
-       movl    %r14d,44(%rsp)
        movl    %r13d,%ecx
+       xorl    %r11d,%eax
        bswapl  %edx
-       xorl    %edi,%eax
        roll    $5,%ecx
+       leal    1518500249(%rbp,%r12,1),%r12d
        andl    %esi,%eax
-       leal    1518500249(%r14,%r12,1),%r12d
+       movl    %edx,48(%rsp)
        addl    %ecx,%r12d
        xorl    %r11d,%eax
        roll    $30,%esi
        addl    %eax,%r12d
+       movl    %esi,%eax
        movl    52(%r9),%ebp
-       movl    %edi,%eax
-       movl    %edx,48(%rsp)
        movl    %r12d,%ecx
+       xorl    %edi,%eax
        bswapl  %ebp
-       xorl    %esi,%eax
        roll    $5,%ecx
+       leal    1518500249(%rdx,%r11,1),%r11d
        andl    %r13d,%eax
-       leal    1518500249(%rdx,%r11,1),%r11d
+       movl    %ebp,52(%rsp)
        addl    %ecx,%r11d
        xorl    %edi,%eax
        roll    $30,%r13d
        addl    %eax,%r11d
-       movl    56(%r9),%r14d
-       movl    %esi,%eax
-       movl    %ebp,52(%rsp)
+       movl    %r13d,%eax
+       movl    56(%r9),%edx
        movl    %r11d,%ecx
-       bswapl  %r14d
-       xorl    %r13d,%eax
+       xorl    %esi,%eax



Home | Main Index | Thread Index | Old Index