OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [x86/] [linux/] [tst/] [spill.sbk] - Blame information for rev 79

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
.globl main
2
.text
3
.align 16
4
.type main,@function
5
main:
6
pushl %ebp
7
pushl %ebx
8
pushl %esi
9
pushl %edi
10
movl %esp,%ebp
11
mov $0,%eax
12
.LC1:
13
movl %ebp,%esp
14
popl %edi
15
popl %esi
16
popl %ebx
17
popl %ebp
18
ret
19
.Lf2:
20
.size main,.Lf2-main
21
.globl f
22
.align 16
23
.type f,@function
24
f:
25
pushl %ebp
26
pushl %ebx
27
pushl %esi
28
pushl %edi
29
movl %esp,%ebp
30
call f
31
movl %eax,%edi
32
call f
33
leal (%eax,%edi),%edi
34
movl %edi,20(%ebp)
35
mov $0,%eax
36
.LC3:
37
movl %ebp,%esp
38
popl %edi
39
popl %esi
40
popl %ebx
41
popl %ebp
42
ret
43
.Lf4:
44
.size f,.Lf4-f
45
.globl f2
46
.align 16
47
.type f2,@function
48
f2:
49
pushl %ebp
50
pushl %ebx
51
pushl %esi
52
pushl %edi
53
movl %esp,%ebp
54
subl $4,%esp
55
call f
56
movl %eax,%edi
57
cmpl $0,20(%ebp)
58
je .LC7
59
call f
60
movl %eax,%esi
61
movl %esi,-4(%ebp)
62
jmp .LC8
63
.LC7:
64
movl $1,-4(%ebp)
65
.LC8:
66
movl -4(%ebp),%esi
67
leal (%esi,%edi),%edi
68
movl %edi,20(%ebp)
69
mov $0,%eax
70
.LC5:
71
movl %ebp,%esp
72
popl %edi
73
popl %esi
74
popl %ebx
75
popl %ebp
76
ret
77
.Lf9:
78
.size f2,.Lf9-f2
79
.globl f3
80
.align 16
81
.type f3,@function
82
f3:
83
pushl %ebp
84
pushl %ebx
85
pushl %esi
86
pushl %edi
87
movl %esp,%ebp
88
subl $44,%esp
89
movl $0,-4(%ebp)
90
movl $0,-8(%ebp)
91
movl $0,-12(%ebp)
92
movl $0,-16(%ebp)
93
movl $0,-20(%ebp)
94
movl $0,-24(%ebp)
95
movl $0,-28(%ebp)
96
movl $0,-32(%ebp)
97
movl $0,-36(%ebp)
98
movl $0,-40(%ebp)
99
movl 24(%ebp),%edi
100
leal 4(%edi),%esi
101
movl %esi,24(%ebp)
102
cmpl $0,20(%ebp)
103
je .LC12
104
call f
105
movl %eax,%esi
106
movl %esi,-44(%ebp)
107
jmp .LC13
108
.LC12:
109
movl $0,-44(%ebp)
110
.LC13:
111
movl -44(%ebp),%esi
112
movl %esi,(,%edi)
113
mov $0,%eax
114
.LC10:
115
movl %ebp,%esp
116
popl %edi
117
popl %esi
118
popl %ebx
119
popl %ebp
120
ret
121
.Lf14:
122
.size f3,.Lf14-f3
123
.globl f4
124
.align 16
125
.type f4,@function
126
f4:
127
pushl %ebp
128
pushl %ebx
129
pushl %esi
130
pushl %edi
131
movl %esp,%ebp
132
subl $52,%esp
133
movl $0,-4(%ebp)
134
movl $0,-8(%ebp)
135
movl $0,-12(%ebp)
136
movl $0,-16(%ebp)
137
movl $0,-20(%ebp)
138
movl $0,-24(%ebp)
139
movl i,%edi
140
leal (,%edi,8),%esi
141
fldl a(%esi)
142
fstpl -36(%ebp)
143
fldl b(%esi)
144
fstpl -44(%ebp)
145
fldl -36(%ebp)
146
faddl -44(%ebp)
147
fldl .LC19
148
fcompp
149
fstsw %ax
150
sahf
151
jp 1f
152
je .LC17
153
1:
154
cmpl $0,%edi
155
je .LC17
156
fldl -36(%ebp)
157
fsubl -44(%ebp)
158
fldl .LC19
159
fcompp
160
fstsw %ax
161
sahf
162
jp 1f
163
je .LC17
164
1:
165
movl $1,-28(%ebp)
166
jmp .LC18
167
.LC17:
168
movl $0,-28(%ebp)
169
.LC18:
170
movl -28(%ebp),%edi
171
movl %edi,i
172
mov $0,%eax
173
.LC15:
174
movl %ebp,%esp
175
popl %edi
176
popl %esi
177
popl %ebx
178
popl %ebp
179
ret
180
.Lf20:
181
.size f4,.Lf20-f4
182
.globl f5
183
.align 16
184
.type f5,@function
185
f5:
186
pushl %ebp
187
pushl %ebx
188
pushl %esi
189
pushl %edi
190
movl %esp,%ebp
191
movl k,%edi
192
movl m,%esi
193
movl A,%ebx
194
movl %edi,%edx
195
imull %esi,%edx
196
leal (%ebx,%edx,8),%edx
197
movl j,%ecx
198
movl %ecx,%eax
199
imull %esi,%eax
200
leal (%ebx,%eax,8),%esi
201
movl n,%ebx
202
movl B,%eax
203
imull %ebx,%edi
204
leal (%eax,%edi,8),%edi
205
imull %ebx,%ecx
206
leal (%eax,%ecx,8),%ebx
207
fldl (,%edx)
208
fmull (,%esi)
209
fldl (,%edi)
210
fmull (,%ebx)
211
faddp %st,%st(1)
212
fstpl x
213
fldl (,%edx)
214
fmull (,%ebx)
215
fldl (,%edi)
216
fmull (,%esi)
217
fsubrp %st,%st(1)
218
fstpl x
219
mov $0,%eax
220
.LC21:
221
movl %ebp,%esp
222
popl %edi
223
popl %esi
224
popl %ebx
225
popl %ebp
226
ret
227
.Lf22:
228
.size f5,.Lf22-f5
229
.bss
230
.globl x
231
.align 4
232
.type x,@object
233
.size x,8
234
.comm x,8
235
.globl B
236
.align 4
237
.type B,@object
238
.size B,4
239
.comm B,4
240
.globl A
241
.align 4
242
.type A,@object
243
.size A,4
244
.comm A,4
245
.globl n
246
.align 4
247
.type n,@object
248
.size n,4
249
.comm n,4
250
.globl m
251
.align 4
252
.type m,@object
253
.size m,4
254
.comm m,4
255
.globl k
256
.align 4
257
.type k,@object
258
.size k,4
259
.comm k,4
260
.globl j
261
.align 4
262
.type j,@object
263
.size j,4
264
.comm j,4
265
.globl i
266
.align 4
267
.type i,@object
268
.size i,4
269
.comm i,4
270
.globl b
271
.align 4
272
.type b,@object
273
.size b,80
274
.comm b,80
275
.globl a
276
.align 4
277
.type a,@object
278
.size a,80
279
.comm a,80
280
.data
281
.align 4
282
.LC19:
283
.long 0
284
.long 0
285
.text
286
.ident "LCC: 4.1"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.