• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated from a similarly-named Perl script in the BoringSSL
2# source tree. Do not edit by hand.
3
4#if defined(__i386__)
5#if defined(BORINGSSL_PREFIX)
6#include <boringssl_prefix_symbols_asm.h>
7#endif
8.text
9.globl	_abi_test_trampoline
10.private_extern	_abi_test_trampoline
11.align	4
12_abi_test_trampoline:
13L_abi_test_trampoline_begin:
14	pushl	%ebp
15	pushl	%ebx
16	pushl	%esi
17	pushl	%edi
18	movl	24(%esp),%ecx
19	movl	(%ecx),%esi
20	movl	4(%ecx),%edi
21	movl	8(%ecx),%ebx
22	movl	12(%ecx),%ebp
23	subl	$44,%esp
24	movl	72(%esp),%eax
25	xorl	%ecx,%ecx
26L000loop:
27	cmpl	76(%esp),%ecx
28	jae	L001loop_done
29	movl	(%eax,%ecx,4),%edx
30	movl	%edx,(%esp,%ecx,4)
31	addl	$1,%ecx
32	jmp	L000loop
33L001loop_done:
34	call	*64(%esp)
35	addl	$44,%esp
36	movl	24(%esp),%ecx
37	movl	%esi,(%ecx)
38	movl	%edi,4(%ecx)
39	movl	%ebx,8(%ecx)
40	movl	%ebp,12(%ecx)
41	popl	%edi
42	popl	%esi
43	popl	%ebx
44	popl	%ebp
45	ret
46.globl	_abi_test_get_and_clear_direction_flag
47.private_extern	_abi_test_get_and_clear_direction_flag
48.align	4
49_abi_test_get_and_clear_direction_flag:
50L_abi_test_get_and_clear_direction_flag_begin:
51	pushfl
52	popl	%eax
53	andl	$1024,%eax
54	shrl	$10,%eax
55	cld
56	ret
57.globl	_abi_test_set_direction_flag
58.private_extern	_abi_test_set_direction_flag
59.align	4
60_abi_test_set_direction_flag:
61L_abi_test_set_direction_flag_begin:
62	std
63	ret
64.globl	_abi_test_clobber_eax
65.private_extern	_abi_test_clobber_eax
66.align	4
67_abi_test_clobber_eax:
68L_abi_test_clobber_eax_begin:
69	xorl	%eax,%eax
70	ret
71.globl	_abi_test_clobber_ebx
72.private_extern	_abi_test_clobber_ebx
73.align	4
74_abi_test_clobber_ebx:
75L_abi_test_clobber_ebx_begin:
76	xorl	%ebx,%ebx
77	ret
78.globl	_abi_test_clobber_ecx
79.private_extern	_abi_test_clobber_ecx
80.align	4
81_abi_test_clobber_ecx:
82L_abi_test_clobber_ecx_begin:
83	xorl	%ecx,%ecx
84	ret
85.globl	_abi_test_clobber_edx
86.private_extern	_abi_test_clobber_edx
87.align	4
88_abi_test_clobber_edx:
89L_abi_test_clobber_edx_begin:
90	xorl	%edx,%edx
91	ret
92.globl	_abi_test_clobber_edi
93.private_extern	_abi_test_clobber_edi
94.align	4
95_abi_test_clobber_edi:
96L_abi_test_clobber_edi_begin:
97	xorl	%edi,%edi
98	ret
99.globl	_abi_test_clobber_esi
100.private_extern	_abi_test_clobber_esi
101.align	4
102_abi_test_clobber_esi:
103L_abi_test_clobber_esi_begin:
104	xorl	%esi,%esi
105	ret
106.globl	_abi_test_clobber_ebp
107.private_extern	_abi_test_clobber_ebp
108.align	4
109_abi_test_clobber_ebp:
110L_abi_test_clobber_ebp_begin:
111	xorl	%ebp,%ebp
112	ret
113.globl	_abi_test_clobber_xmm0
114.private_extern	_abi_test_clobber_xmm0
115.align	4
116_abi_test_clobber_xmm0:
117L_abi_test_clobber_xmm0_begin:
118	pxor	%xmm0,%xmm0
119	ret
120.globl	_abi_test_clobber_xmm1
121.private_extern	_abi_test_clobber_xmm1
122.align	4
123_abi_test_clobber_xmm1:
124L_abi_test_clobber_xmm1_begin:
125	pxor	%xmm1,%xmm1
126	ret
127.globl	_abi_test_clobber_xmm2
128.private_extern	_abi_test_clobber_xmm2
129.align	4
130_abi_test_clobber_xmm2:
131L_abi_test_clobber_xmm2_begin:
132	pxor	%xmm2,%xmm2
133	ret
134.globl	_abi_test_clobber_xmm3
135.private_extern	_abi_test_clobber_xmm3
136.align	4
137_abi_test_clobber_xmm3:
138L_abi_test_clobber_xmm3_begin:
139	pxor	%xmm3,%xmm3
140	ret
141.globl	_abi_test_clobber_xmm4
142.private_extern	_abi_test_clobber_xmm4
143.align	4
144_abi_test_clobber_xmm4:
145L_abi_test_clobber_xmm4_begin:
146	pxor	%xmm4,%xmm4
147	ret
148.globl	_abi_test_clobber_xmm5
149.private_extern	_abi_test_clobber_xmm5
150.align	4
151_abi_test_clobber_xmm5:
152L_abi_test_clobber_xmm5_begin:
153	pxor	%xmm5,%xmm5
154	ret
155.globl	_abi_test_clobber_xmm6
156.private_extern	_abi_test_clobber_xmm6
157.align	4
158_abi_test_clobber_xmm6:
159L_abi_test_clobber_xmm6_begin:
160	pxor	%xmm6,%xmm6
161	ret
162.globl	_abi_test_clobber_xmm7
163.private_extern	_abi_test_clobber_xmm7
164.align	4
165_abi_test_clobber_xmm7:
166L_abi_test_clobber_xmm7_begin:
167	pxor	%xmm7,%xmm7
168	ret
169#endif
170