Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Side by Side Diff: third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S

Issue 2811393005: Roll src/third_party/boringssl/src c8ff30cbe..bc6a76b0e (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #if defined(__x86_64__) && !defined(OPENSSL_NO_ASM) 1 #if defined(__x86_64__) && !defined(OPENSSL_NO_ASM)
2 .text 2 .text
3 3
4 .extern»OPENSSL_ia32cap_P 4 .extern»OPENSSL_ia32cap_addr
5 .hidden OPENSSL_ia32cap_P 5 .hidden OPENSSL_ia32cap_addr
6 .globl sha512_block_data_order 6 .globl sha512_block_data_order
7 .hidden sha512_block_data_order 7 .hidden sha512_block_data_order
8 .type sha512_block_data_order,@function 8 .type sha512_block_data_order,@function
9 .align 16 9 .align 16
10 sha512_block_data_order: 10 sha512_block_data_order:
11 » leaq» OPENSSL_ia32cap_P(%rip),%r11 11 » leaq» OPENSSL_ia32cap_addr(%rip),%r11
12 » movq» (%r11),%r11
12 movl 0(%r11),%r9d 13 movl 0(%r11),%r9d
13 movl 4(%r11),%r10d 14 movl 4(%r11),%r10d
14 movl 8(%r11),%r11d 15 movl 8(%r11),%r11d
15 testl $2048,%r10d 16 testl $2048,%r10d
16 jnz .Lxop_shortcut 17 jnz .Lxop_shortcut
17 andl $1073741824,%r9d 18 andl $1073741824,%r9d
18 andl $268435968,%r10d 19 andl $268435968,%r10d
19 orl %r9d,%r10d 20 orl %r9d,%r10d
20 cmpl $1342177792,%r10d 21 cmpl $1342177792,%r10d
21 je .Lavx_shortcut 22 je .Lavx_shortcut
(...skipping 15 matching lines...) Expand all
37 .Lprologue: 38 .Lprologue:
38 39
39 movq 0(%rdi),%rax 40 movq 0(%rdi),%rax
40 movq 8(%rdi),%rbx 41 movq 8(%rdi),%rbx
41 movq 16(%rdi),%rcx 42 movq 16(%rdi),%rcx
42 movq 24(%rdi),%rdx 43 movq 24(%rdi),%rdx
43 movq 32(%rdi),%r8 44 movq 32(%rdi),%r8
44 movq 40(%rdi),%r9 45 movq 40(%rdi),%r9
45 movq 48(%rdi),%r10 46 movq 48(%rdi),%r10
46 movq 56(%rdi),%r11 47 movq 56(%rdi),%r11
48
47 jmp .Lloop 49 jmp .Lloop
48 50
49 .align 16 51 .align 16
50 .Lloop: 52 .Lloop:
51 movq %rbx,%rdi 53 movq %rbx,%rdi
52 leaq K512(%rip),%rbp 54 leaq K512(%rip),%rbp
53 xorq %rcx,%rdi 55 xorq %rcx,%rdi
54 movq 0(%rsi),%r12 56 movq 0(%rsi),%r12
55 movq %r8,%r13 57 movq %r8,%r13
56 movq %rax,%r14 58 movq %rax,%r14
(...skipping 3962 matching lines...) Expand 10 before | Expand all | Expand 10 after
4019 movq -40(%rsi),%r14 4021 movq -40(%rsi),%r14
4020 movq -32(%rsi),%r13 4022 movq -32(%rsi),%r13
4021 movq -24(%rsi),%r12 4023 movq -24(%rsi),%r12
4022 movq -16(%rsi),%rbp 4024 movq -16(%rsi),%rbp
4023 movq -8(%rsi),%rbx 4025 movq -8(%rsi),%rbx
4024 leaq (%rsi),%rsp 4026 leaq (%rsi),%rsp
4025 .Lepilogue_avx: 4027 .Lepilogue_avx:
4026 .byte 0xf3,0xc3 4028 .byte 0xf3,0xc3
4027 .size sha512_block_data_order_avx,.-sha512_block_data_order_avx 4029 .size sha512_block_data_order_avx,.-sha512_block_data_order_avx
4028 #endif 4030 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698