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

Side by Side Diff: third_party/boringssl/mac-x86_64/crypto/rc4/rc4-x86_64.S

Issue 428753004: BoringSSL: roll DEPS and enable dynamic visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix quotes in GN file. Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 #if defined(__x86_64__) 1 #if defined(__x86_64__)
2 .text 2 .text
3 3
4 4
5 .globl» _RC4 5 .globl» _asm_RC4
6 .private_extern _asm_RC4
6 7
7 .p2align 4 8 .p2align 4
8 _RC4:» orq» %rsi,%rsi 9 _asm_RC4:
10 » orq» %rsi,%rsi
9 jne L$entry 11 jne L$entry
10 .byte 0xf3,0xc3 12 .byte 0xf3,0xc3
11 L$entry: 13 L$entry:
12 pushq %rbx 14 pushq %rbx
13 pushq %r12 15 pushq %r12
14 pushq %r13 16 pushq %r13
15 L$prologue: 17 L$prologue:
16 movq %rsi,%r11 18 movq %rsi,%r11
17 movq %rdx,%r12 19 movq %rdx,%r12
18 movq %rcx,%r13 20 movq %rcx,%r13
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 movl %r10d,-8(%rdi) 514 movl %r10d,-8(%rdi)
513 movl %ecx,-4(%rdi) 515 movl %ecx,-4(%rdi)
514 516
515 movq (%rsp),%r13 517 movq (%rsp),%r13
516 movq 8(%rsp),%r12 518 movq 8(%rsp),%r12
517 movq 16(%rsp),%rbx 519 movq 16(%rsp),%rbx
518 addq $24,%rsp 520 addq $24,%rsp
519 L$epilogue: 521 L$epilogue:
520 .byte 0xf3,0xc3 522 .byte 0xf3,0xc3
521 523
522 .globl» _RC4_set_key 524 .globl» _asm_RC4_set_key
525 .private_extern _asm_RC4_set_key
523 526
524 .p2align 4 527 .p2align 4
525 _RC4_set_key: 528 _asm_RC4_set_key:
526 leaq 8(%rdi),%rdi 529 leaq 8(%rdi),%rdi
527 leaq (%rdx,%rsi,1),%rdx 530 leaq (%rdx,%rsi,1),%rdx
528 negq %rsi 531 negq %rsi
529 movq %rsi,%rcx 532 movq %rsi,%rcx
530 xorl %eax,%eax 533 xorl %eax,%eax
531 xorq %r9,%r9 534 xorq %r9,%r9
532 xorq %r10,%r10 535 xorq %r10,%r10
533 xorq %r11,%r11 536 xorq %r11,%r11
534 537
535 movq _OPENSSL_ia32cap_P@GOTPCREL(%rip),%r8 538 movq _OPENSSL_ia32cap_P@GOTPCREL(%rip),%r8
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 589
587 .p2align 4 590 .p2align 4
588 L$exit_key: 591 L$exit_key:
589 xorl %eax,%eax 592 xorl %eax,%eax
590 movl %eax,-8(%rdi) 593 movl %eax,-8(%rdi)
591 movl %eax,-4(%rdi) 594 movl %eax,-4(%rdi)
592 .byte 0xf3,0xc3 595 .byte 0xf3,0xc3
593 596
594 597
595 .globl _RC4_options 598 .globl _RC4_options
599 .private_extern _RC4_options
596 600
597 .p2align 4 601 .p2align 4
598 _RC4_options: 602 _RC4_options:
599 leaq L$opts(%rip),%rax 603 leaq L$opts(%rip),%rax
600 movq _OPENSSL_ia32cap_P(%rip),%rdx 604 movq _OPENSSL_ia32cap_P(%rip),%rdx
601 movl (%rdx),%edx 605 movl (%rdx),%edx
602 btl $20,%edx 606 btl $20,%edx
603 jc L$8xchar 607 jc L$8xchar
604 btl $30,%edx 608 btl $30,%edx
605 jnc L$done 609 jnc L$done
606 addq $25,%rax 610 addq $25,%rax
607 .byte 0xf3,0xc3 611 .byte 0xf3,0xc3
608 L$8xchar: 612 L$8xchar:
609 addq $12,%rax 613 addq $12,%rax
610 L$done: 614 L$done:
611 .byte 0xf3,0xc3 615 .byte 0xf3,0xc3
612 .p2align 6 616 .p2align 6
613 L$opts: 617 L$opts:
614 .byte 114,99,52,40,56,120,44,105,110,116,41,0 618 .byte 114,99,52,40,56,120,44,105,110,116,41,0
615 .byte 114,99,52,40,56,120,44,99,104,97,114,41,0 619 .byte 114,99,52,40,56,120,44,99,104,97,114,41,0
616 .byte 114,99,52,40,49,54,120,44,105,110,116,41,0 620 .byte 114,99,52,40,49,54,120,44,105,110,116,41,0
617 .byte 82,67,52,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71 ,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,1 11,114,103,62,0 621 .byte 82,67,52,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71 ,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,1 11,114,103,62,0
618 .p2align 6 622 .p2align 6
619 623
620 #endif 624 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698