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

Side by Side Diff: third_party/boringssl/linux-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 .type» RC4,@function 6 .hidden asm_RC4
7 .type» asm_RC4,@function
7 .align 16 8 .align 16
8 RC4:» orq» %rsi,%rsi 9 asm_RC4:
10 » orq» %rsi,%rsi
9 jne .Lentry 11 jne .Lentry
10 .byte 0xf3,0xc3 12 .byte 0xf3,0xc3
11 .Lentry: 13 .Lentry:
12 pushq %rbx 14 pushq %rbx
13 pushq %r12 15 pushq %r12
14 pushq %r13 16 pushq %r13
15 .Lprologue: 17 .Lprologue:
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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 subb $1,%r10b 513 subb $1,%r10b
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 .Lepilogue: 521 .Lepilogue:
520 .byte 0xf3,0xc3 522 .byte 0xf3,0xc3
521 .size» RC4,.-RC4 523 .size» asm_RC4,.-asm_RC4
522 .globl» RC4_set_key 524 .globl» asm_RC4_set_key
523 .type» RC4_set_key,@function 525 .hidden asm_RC4_set_key
526 .type» asm_RC4_set_key,@function
524 .align 16 527 .align 16
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 addb $1,%r9b 586 addb $1,%r9b
584 jnc .Lc2ndloop 587 jnc .Lc2ndloop
585 movl $-1,256(%rdi) 588 movl $-1,256(%rdi)
586 589
587 .align 16 590 .align 16
588 .Lexit_key: 591 .Lexit_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 .size» RC4_set_key,.-RC4_set_key 596 .size» asm_RC4_set_key,.-asm_RC4_set_key
594 597
595 .globl RC4_options 598 .globl RC4_options
599 .hidden RC4_options
596 .type RC4_options,@function 600 .type RC4_options,@function
597 .align 16 601 .align 16
598 RC4_options: 602 RC4_options:
599 leaq .Lopts(%rip),%rax 603 leaq .Lopts(%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 .L8xchar 607 jc .L8xchar
604 btl $30,%edx 608 btl $30,%edx
605 jnc .Ldone 609 jnc .Ldone
606 addq $25,%rax 610 addq $25,%rax
607 .byte 0xf3,0xc3 611 .byte 0xf3,0xc3
608 .L8xchar: 612 .L8xchar:
609 addq $12,%rax 613 addq $12,%rax
610 .Ldone: 614 .Ldone:
611 .byte 0xf3,0xc3 615 .byte 0xf3,0xc3
612 .align 64 616 .align 64
613 .Lopts: 617 .Lopts:
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 .align 64 622 .align 64
619 .size RC4_options,.-RC4_options 623 .size RC4_options,.-RC4_options
620 #endif 624 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698