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

Side by Side Diff: third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm

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 OPTION DOTNAME 1 OPTION DOTNAME
2 .text$» SEGMENT ALIGN(64) 'CODE' 2 .text$» SEGMENT ALIGN(256) 'CODE'
3 EXTERN OPENSSL_ia32cap_P:NEAR 3 EXTERN OPENSSL_ia32cap_P:NEAR
4 4
5 PUBLIC» RC4 5 PUBLIC» asm_RC4
6 6
7 ALIGN 16 7 ALIGN 16
8 RC4» PROC PUBLIC 8 asm_RC4»PROC PUBLIC
9 mov QWORD PTR[8+rsp],rdi ;WIN64 prologue 9 mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
10 mov QWORD PTR[16+rsp],rsi 10 mov QWORD PTR[16+rsp],rsi
11 mov rax,rsp 11 mov rax,rsp
12 $L$SEH_begin_RC4:: 12 $L$SEH_begin_asm_RC4::
13 mov rdi,rcx 13 mov rdi,rcx
14 mov rsi,rdx 14 mov rsi,rdx
15 mov rdx,r8 15 mov rdx,r8
16 mov rcx,r9 16 mov rcx,r9
17 17
18
18 or rsi,rsi 19 or rsi,rsi
19 jne $L$entry 20 jne $L$entry
20 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue 21 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue
21 mov rsi,QWORD PTR[16+rsp] 22 mov rsi,QWORD PTR[16+rsp]
22 DB 0F3h,0C3h ;repret 23 DB 0F3h,0C3h ;repret
23 $L$entry:: 24 $L$entry::
24 push rbx 25 push rbx
25 push r12 26 push r12
26 push r13 27 push r13
27 $L$prologue:: 28 $L$prologue::
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 mov DWORD PTR[((-4))+rdi],ecx 526 mov DWORD PTR[((-4))+rdi],ecx
526 527
527 mov r13,QWORD PTR[rsp] 528 mov r13,QWORD PTR[rsp]
528 mov r12,QWORD PTR[8+rsp] 529 mov r12,QWORD PTR[8+rsp]
529 mov rbx,QWORD PTR[16+rsp] 530 mov rbx,QWORD PTR[16+rsp]
530 add rsp,24 531 add rsp,24
531 $L$epilogue:: 532 $L$epilogue::
532 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue 533 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue
533 mov rsi,QWORD PTR[16+rsp] 534 mov rsi,QWORD PTR[16+rsp]
534 DB 0F3h,0C3h ;repret 535 DB 0F3h,0C3h ;repret
535 $L$SEH_end_RC4:: 536 $L$SEH_end_asm_RC4::
536 RC4» ENDP 537 asm_RC4»ENDP
537 PUBLIC» RC4_set_key 538 PUBLIC» asm_RC4_set_key
538 539
539 ALIGN 16 540 ALIGN 16
540 RC4_set_key» PROC PUBLIC 541 asm_RC4_set_key»PROC PUBLIC
541 mov QWORD PTR[8+rsp],rdi ;WIN64 prologue 542 mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
542 mov QWORD PTR[16+rsp],rsi 543 mov QWORD PTR[16+rsp],rsi
543 mov rax,rsp 544 mov rax,rsp
544 $L$SEH_begin_RC4_set_key:: 545 $L$SEH_begin_asm_RC4_set_key::
545 mov rdi,rcx 546 mov rdi,rcx
546 mov rsi,rdx 547 mov rsi,rdx
547 mov rdx,r8 548 mov rdx,r8
548 549
549 550
550 lea rdi,QWORD PTR[8+rdi] 551 lea rdi,QWORD PTR[8+rdi]
551 lea rdx,QWORD PTR[rsi*1+rdx] 552 lea rdx,QWORD PTR[rsi*1+rdx]
552 neg rsi 553 neg rsi
553 mov rcx,rsi 554 mov rcx,rsi
554 xor eax,eax 555 xor eax,eax
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 mov DWORD PTR[256+rdi],-1 610 mov DWORD PTR[256+rdi],-1
610 611
611 ALIGN 16 612 ALIGN 16
612 $L$exit_key:: 613 $L$exit_key::
613 xor eax,eax 614 xor eax,eax
614 mov DWORD PTR[((-8))+rdi],eax 615 mov DWORD PTR[((-8))+rdi],eax
615 mov DWORD PTR[((-4))+rdi],eax 616 mov DWORD PTR[((-4))+rdi],eax
616 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue 617 mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue
617 mov rsi,QWORD PTR[16+rsp] 618 mov rsi,QWORD PTR[16+rsp]
618 DB 0F3h,0C3h ;repret 619 DB 0F3h,0C3h ;repret
619 $L$SEH_end_RC4_set_key:: 620 $L$SEH_end_asm_RC4_set_key::
620 RC4_set_key» ENDP 621 asm_RC4_set_key»ENDP
621 622
622 PUBLIC RC4_options 623 PUBLIC RC4_options
623 624
624 ALIGN 16 625 ALIGN 16
625 RC4_options PROC PUBLIC 626 RC4_options PROC PUBLIC
626 lea rax,QWORD PTR[$L$opts] 627 lea rax,QWORD PTR[$L$opts]
627 mov rdx,QWORD PTR[OPENSSL_ia32cap_P] 628 mov rdx,QWORD PTR[OPENSSL_ia32cap_P]
628 mov edx,DWORD PTR[rdx] 629 mov edx,DWORD PTR[rdx]
629 bt edx,20 630 bt edx,20
630 jc $L$8xchar 631 jc $L$8xchar
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 ALIGN 8 766 ALIGN 8
766 $L$SEH_info_RC4:: 767 $L$SEH_info_RC4::
767 DB 9,0,0,0 768 DB 9,0,0,0
768 DD imagerel stream_se_handler 769 DD imagerel stream_se_handler
769 $L$SEH_info_RC4_set_key:: 770 $L$SEH_info_RC4_set_key::
770 DB 9,0,0,0 771 DB 9,0,0,0
771 DD imagerel key_se_handler 772 DD imagerel key_se_handler
772 773
773 .xdata ENDS 774 .xdata ENDS
774 END 775 END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698