1; This file is generated from a similarly-named Perl script in the BoringSSL 2; source tree. Do not edit by hand. 3 4%ifdef BORINGSSL_PREFIX 5%include "boringssl_prefix_symbols_nasm.inc" 6%endif 7%ifidn __OUTPUT_FORMAT__,obj 8section code use32 class=code align=64 9%elifidn __OUTPUT_FORMAT__,win32 10$@feat.00 equ 1 11section .text code align=64 12%else 13section .text code 14%endif 15global _abi_test_trampoline 16align 16 17_abi_test_trampoline: 18L$_abi_test_trampoline_begin: 19 push ebp 20 push ebx 21 push esi 22 push edi 23 mov ecx,DWORD [24+esp] 24 mov esi,DWORD [ecx] 25 mov edi,DWORD [4+ecx] 26 mov ebx,DWORD [8+ecx] 27 mov ebp,DWORD [12+ecx] 28 sub esp,44 29 mov eax,DWORD [72+esp] 30 xor ecx,ecx 31L$000loop: 32 cmp ecx,DWORD [76+esp] 33 jae NEAR L$001loop_done 34 mov edx,DWORD [ecx*4+eax] 35 mov DWORD [ecx*4+esp],edx 36 add ecx,1 37 jmp NEAR L$000loop 38L$001loop_done: 39 call DWORD [64+esp] 40 add esp,44 41 mov ecx,DWORD [24+esp] 42 mov DWORD [ecx],esi 43 mov DWORD [4+ecx],edi 44 mov DWORD [8+ecx],ebx 45 mov DWORD [12+ecx],ebp 46 pop edi 47 pop esi 48 pop ebx 49 pop ebp 50 ret 51global _abi_test_get_and_clear_direction_flag 52align 16 53_abi_test_get_and_clear_direction_flag: 54L$_abi_test_get_and_clear_direction_flag_begin: 55 pushfd 56 pop eax 57 and eax,1024 58 shr eax,10 59 cld 60 ret 61global _abi_test_set_direction_flag 62align 16 63_abi_test_set_direction_flag: 64L$_abi_test_set_direction_flag_begin: 65 std 66 ret 67global _abi_test_clobber_eax 68align 16 69_abi_test_clobber_eax: 70L$_abi_test_clobber_eax_begin: 71 xor eax,eax 72 ret 73global _abi_test_clobber_ebx 74align 16 75_abi_test_clobber_ebx: 76L$_abi_test_clobber_ebx_begin: 77 xor ebx,ebx 78 ret 79global _abi_test_clobber_ecx 80align 16 81_abi_test_clobber_ecx: 82L$_abi_test_clobber_ecx_begin: 83 xor ecx,ecx 84 ret 85global _abi_test_clobber_edx 86align 16 87_abi_test_clobber_edx: 88L$_abi_test_clobber_edx_begin: 89 xor edx,edx 90 ret 91global _abi_test_clobber_edi 92align 16 93_abi_test_clobber_edi: 94L$_abi_test_clobber_edi_begin: 95 xor edi,edi 96 ret 97global _abi_test_clobber_esi 98align 16 99_abi_test_clobber_esi: 100L$_abi_test_clobber_esi_begin: 101 xor esi,esi 102 ret 103global _abi_test_clobber_ebp 104align 16 105_abi_test_clobber_ebp: 106L$_abi_test_clobber_ebp_begin: 107 xor ebp,ebp 108 ret 109global _abi_test_clobber_xmm0 110align 16 111_abi_test_clobber_xmm0: 112L$_abi_test_clobber_xmm0_begin: 113 pxor xmm0,xmm0 114 ret 115global _abi_test_clobber_xmm1 116align 16 117_abi_test_clobber_xmm1: 118L$_abi_test_clobber_xmm1_begin: 119 pxor xmm1,xmm1 120 ret 121global _abi_test_clobber_xmm2 122align 16 123_abi_test_clobber_xmm2: 124L$_abi_test_clobber_xmm2_begin: 125 pxor xmm2,xmm2 126 ret 127global _abi_test_clobber_xmm3 128align 16 129_abi_test_clobber_xmm3: 130L$_abi_test_clobber_xmm3_begin: 131 pxor xmm3,xmm3 132 ret 133global _abi_test_clobber_xmm4 134align 16 135_abi_test_clobber_xmm4: 136L$_abi_test_clobber_xmm4_begin: 137 pxor xmm4,xmm4 138 ret 139global _abi_test_clobber_xmm5 140align 16 141_abi_test_clobber_xmm5: 142L$_abi_test_clobber_xmm5_begin: 143 pxor xmm5,xmm5 144 ret 145global _abi_test_clobber_xmm6 146align 16 147_abi_test_clobber_xmm6: 148L$_abi_test_clobber_xmm6_begin: 149 pxor xmm6,xmm6 150 ret 151global _abi_test_clobber_xmm7 152align 16 153_abi_test_clobber_xmm7: 154L$_abi_test_clobber_xmm7_begin: 155 pxor xmm7,xmm7 156 ret 157