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

Side by Side Diff: third_party/boringssl/mac-x86_64/crypto/bn/x86_64-mont5.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 5
6 .globl _bn_mul_mont_gather5 6 .globl _bn_mul_mont_gather5
7 .private_extern _bn_mul_mont_gather5
7 8
8 .p2align 6 9 .p2align 6
9 _bn_mul_mont_gather5: 10 _bn_mul_mont_gather5:
10 testl $7,%r9d 11 testl $7,%r9d
11 jnz L$mul_enter 12 jnz L$mul_enter
12 jmp L$mul4x_enter 13 jmp L$mul4x_enter
13 14
14 .p2align 4 15 .p2align 4
15 L$mul_enter: 16 L$mul_enter:
16 movl %r9d,%r9d 17 movl %r9d,%r9d
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 orq %r15,%rdi 723 orq %r15,%rdi
723 xorq $1,%rdi 724 xorq $1,%rdi
724 leaq (%r14,%r9,1),%rbx 725 leaq (%r14,%r9,1),%rbx
725 leaq (%rcx,%rdi,8),%rbp 726 leaq (%rcx,%rdi,8),%rbp
726 movq %r9,%rcx 727 movq %r9,%rcx
727 sarq $3+2,%rcx 728 sarq $3+2,%rcx
728 movq 56+8(%rsp),%rdi 729 movq 56+8(%rsp),%rdi
729 jmp L$sqr4x_sub 730 jmp L$sqr4x_sub
730 731
731 .globl _bn_power5 732 .globl _bn_power5
733 .private_extern _bn_power5
732 734
733 .p2align 5 735 .p2align 5
734 _bn_power5: 736 _bn_power5:
735 movq %rsp,%rax 737 movq %rsp,%rax
736 pushq %rbx 738 pushq %rbx
737 pushq %rbp 739 pushq %rbp
738 pushq %r12 740 pushq %r12
739 pushq %r13 741 pushq %r13
740 pushq %r14 742 pushq %r14
741 pushq %r15 743 pushq %r15
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 movq -32(%rsi),%r13 813 movq -32(%rsi),%r13
812 movq -24(%rsi),%r12 814 movq -24(%rsi),%r12
813 movq -16(%rsi),%rbp 815 movq -16(%rsi),%rbp
814 movq -8(%rsi),%rbx 816 movq -8(%rsi),%rbx
815 leaq (%rsi),%rsp 817 leaq (%rsi),%rsp
816 L$power5_epilogue: 818 L$power5_epilogue:
817 .byte 0xf3,0xc3 819 .byte 0xf3,0xc3
818 820
819 821
820 .globl _bn_sqr8x_internal 822 .globl _bn_sqr8x_internal
823 .private_extern _bn_sqr8x_internal
821 .private_extern _bn_sqr8x_internal 824 .private_extern _bn_sqr8x_internal
822 825
823 .p2align 5 826 .p2align 5
824 _bn_sqr8x_internal: 827 _bn_sqr8x_internal:
825 __bn_sqr8x_internal: 828 __bn_sqr8x_internal:
826 829
827 830
828 831
829 832
830 833
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1620 movq %r15,24(%rdi) 1623 movq %r15,24(%rdi)
1621 leaq 32(%rdi),%rdi 1624 leaq 32(%rdi),%rdi
1622 1625
1623 incq %rcx 1626 incq %rcx
1624 jnz L$sqr4x_sub 1627 jnz L$sqr4x_sub
1625 movq %r9,%r10 1628 movq %r9,%r10
1626 negq %r9 1629 negq %r9
1627 .byte 0xf3,0xc3 1630 .byte 0xf3,0xc3
1628 1631
1629 .globl _bn_from_montgomery 1632 .globl _bn_from_montgomery
1633 .private_extern _bn_from_montgomery
1630 1634
1631 .p2align 5 1635 .p2align 5
1632 _bn_from_montgomery: 1636 _bn_from_montgomery:
1633 testl $7,%r9d 1637 testl $7,%r9d
1634 jz bn_from_mont8x 1638 jz bn_from_mont8x
1635 xorl %eax,%eax 1639 xorl %eax,%eax
1636 .byte 0xf3,0xc3 1640 .byte 0xf3,0xc3
1637 1641
1638 1642
1639 1643
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 movq -40(%rsi),%r14 1749 movq -40(%rsi),%r14
1746 movq -32(%rsi),%r13 1750 movq -32(%rsi),%r13
1747 movq -24(%rsi),%r12 1751 movq -24(%rsi),%r12
1748 movq -16(%rsi),%rbp 1752 movq -16(%rsi),%rbp
1749 movq -8(%rsi),%rbx 1753 movq -8(%rsi),%rbx
1750 leaq (%rsi),%rsp 1754 leaq (%rsi),%rsp
1751 L$from_epilogue: 1755 L$from_epilogue:
1752 .byte 0xf3,0xc3 1756 .byte 0xf3,0xc3
1753 1757
1754 .globl _bn_get_bits5 1758 .globl _bn_get_bits5
1759 .private_extern _bn_get_bits5
1755 1760
1756 .p2align 4 1761 .p2align 4
1757 _bn_get_bits5: 1762 _bn_get_bits5:
1758 movq %rdi,%r10 1763 movq %rdi,%r10
1759 movl %esi,%ecx 1764 movl %esi,%ecx
1760 shrl $3,%esi 1765 shrl $3,%esi
1761 movzwl (%r10,%rsi,1),%eax 1766 movzwl (%r10,%rsi,1),%eax
1762 andl $7,%ecx 1767 andl $7,%ecx
1763 shrl %cl,%eax 1768 shrl %cl,%eax
1764 andl $31,%eax 1769 andl $31,%eax
1765 .byte 0xf3,0xc3 1770 .byte 0xf3,0xc3
1766 1771
1767 1772
1768 .globl _bn_scatter5 1773 .globl _bn_scatter5
1774 .private_extern _bn_scatter5
1769 1775
1770 .p2align 4 1776 .p2align 4
1771 _bn_scatter5: 1777 _bn_scatter5:
1772 cmpl $0,%esi 1778 cmpl $0,%esi
1773 jz L$scatter_epilogue 1779 jz L$scatter_epilogue
1774 leaq (%rdx,%rcx,8),%rdx 1780 leaq (%rdx,%rcx,8),%rdx
1775 L$scatter: 1781 L$scatter:
1776 movq (%rdi),%rax 1782 movq (%rdi),%rax
1777 leaq 8(%rdi),%rdi 1783 leaq 8(%rdi),%rdi
1778 movq %rax,(%rdx) 1784 movq %rax,(%rdx)
1779 leaq 256(%rdx),%rdx 1785 leaq 256(%rdx),%rdx
1780 subl $1,%esi 1786 subl $1,%esi
1781 jnz L$scatter 1787 jnz L$scatter
1782 L$scatter_epilogue: 1788 L$scatter_epilogue:
1783 .byte 0xf3,0xc3 1789 .byte 0xf3,0xc3
1784 1790
1785 1791
1786 .globl _bn_gather5 1792 .globl _bn_gather5
1793 .private_extern _bn_gather5
1787 1794
1788 .p2align 4 1795 .p2align 4
1789 _bn_gather5: 1796 _bn_gather5:
1790 movl %ecx,%r11d 1797 movl %ecx,%r11d
1791 shrl $3,%ecx 1798 shrl $3,%ecx
1792 andq $7,%r11 1799 andq $7,%r11
1793 notl %ecx 1800 notl %ecx
1794 leaq L$magic_masks(%rip),%rax 1801 leaq L$magic_masks(%rip),%rax
1795 andl $3,%ecx 1802 andl $3,%ecx
1796 leaq 128(%rdx,%r11,8),%rdx 1803 leaq 128(%rdx,%r11,8),%rdx
(...skipping 24 matching lines...) Expand all
1821 jnz L$gather 1828 jnz L$gather
1822 .byte 0xf3,0xc3 1829 .byte 0xf3,0xc3
1823 L$SEH_end_bn_gather5: 1830 L$SEH_end_bn_gather5:
1824 1831
1825 .p2align 6 1832 .p2align 6
1826 L$magic_masks: 1833 L$magic_masks:
1827 .long 0,0, 0,0, 0,0, -1,-1 1834 .long 0,0, 0,0, 0,0, -1,-1
1828 .long 0,0, 0,0, 0,0, 0,0 1835 .long 0,0, 0,0, 0,0, 0,0
1829 .byte 77,111,110,116,103,111,109,101,114,121,32,77,117,108,116,105,112,108,105 ,99,97,116,105,111,110,32,119,105,116,104,32,115,99,97,116,116,101,114,47,103,97 ,116,104,101,114,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 1836 .byte 77,111,110,116,103,111,109,101,114,121,32,77,117,108,116,105,112,108,105 ,99,97,116,105,111,110,32,119,105,116,104,32,115,99,97,116,116,101,114,47,103,97 ,116,104,101,114,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
1830 #endif 1837 #endif
OLDNEW
« no previous file with comments | « third_party/boringssl/mac-x86_64/crypto/bn/x86_64-mont.S ('k') | third_party/boringssl/mac-x86_64/crypto/cpu-x86_64-asm.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698