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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [mips/] [irix/] [tst/] [struct.sbk] - Blame information for rev 157

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

Line No. Rev Author Line
1 4 hellwig
.set reorder
2
.globl addpoint
3
.text
4
.text
5
.align 2
6
.ent addpoint
7
addpoint:
8
.frame $sp,0,$31
9
.set noreorder
10
.cpload $25
11
.set reorder
12
sw $5,4($sp)
13
sw $6,8($sp)
14
sw $7,12($sp)
15
lw $24,4+0($sp)
16
lw $15,12+0($sp)
17
addu $24,$24,$15
18
sw $24,4+0($sp)
19
lw $24,8+0($sp)
20
lw $15,16+0($sp)
21
addu $24,$24,$15
22
sw $24,8+0($sp)
23
la $8,4+0($sp)
24
lw $3,0($8)
25
lw $9,4($8)
26
sw $3,0($4)
27
sw $9,4($4)
28
L.1:
29
j $31
30
.end addpoint
31
.globl canonrect
32
.text
33
.align 2
34
.ent canonrect
35
canonrect:
36
.frame $sp,32,$31
37
.set noreorder
38
.cpload $25
39
.set reorder
40
addu $sp,$sp,-32
41
.mask 0x40e00000,-20
42
sw $21,0($sp)
43
sw $22,4($sp)
44
sw $23,8($sp)
45
sw $30,12($sp)
46
sw $5,36($sp)
47
sw $6,40($sp)
48
sw $7,44($sp)
49
lw $24,4+32($sp)
50
lw $15,12+32($sp)
51
bge $24,$15,L.10
52
lw $30,4+32($sp)
53
b L.11
54
L.10:
55
lw $30,12+32($sp)
56
L.11:
57
sw $30,-16+32($sp)
58
lw $24,8+32($sp)
59
lw $15,16+32($sp)
60
bge $24,$15,L.20
61
lw $23,8+32($sp)
62
b L.21
63
L.20:
64
lw $23,16+32($sp)
65
L.21:
66
sw $23,-12+32($sp)
67
lw $24,4+32($sp)
68
lw $15,12+32($sp)
69
ble $24,$15,L.26
70
lw $22,4+32($sp)
71
b L.27
72
L.26:
73
lw $22,12+32($sp)
74
L.27:
75
sw $22,-8+32($sp)
76
lw $24,8+32($sp)
77
lw $15,16+32($sp)
78
ble $24,$15,L.37
79
lw $21,8+32($sp)
80
b L.38
81
L.37:
82
lw $21,16+32($sp)
83
L.38:
84
sw $21,-4+32($sp)
85
la $8,-16+32($sp)
86
lw $3,0($8)
87
lw $9,4($8)
88
sw $3,0($4)
89
sw $9,4($4)
90
lw $3,8($8)
91
lw $9,12($8)
92
sw $3,8($4)
93
sw $9,12($4)
94
L.5:
95
lw $21,0($sp)
96
lw $22,4($sp)
97
lw $23,8($sp)
98
lw $30,12($sp)
99
addu $sp,$sp,32
100
j $31
101
.end canonrect
102
.globl makepoint
103
.text
104
.align 2
105
.ent makepoint
106
makepoint:
107
.frame $sp,16,$31
108
.set noreorder
109
.cpload $25
110
.set reorder
111
addu $sp,$sp,-16
112
sw $5,-8+16($sp)
113
sw $6,-4+16($sp)
114
la $8,-8+16($sp)
115
lw $3,0($8)
116
lw $9,4($8)
117
sw $3,0($4)
118
sw $9,4($4)
119
L.39:
120
addu $sp,$sp,16
121
j $31
122
.end makepoint
123
.globl makerect
124
.text
125
.align 2
126
.ent makerect
127
makerect:
128
.frame $sp,48,$31
129
.set noreorder
130
.cpload $25
131
.set reorder
132
addu $sp,$sp,-48
133
.mask 0x82000000,-24
134
.cprestore 20
135
sw $31,24($sp)
136
sw $4,48($sp)
137
sw $5,52($sp)
138
sw $6,56($sp)
139
sw $7,60($sp)
140
la $24,-16+48($sp)
141
la $8,4+48($sp)
142
lw $3,0($8)
143
lw $9,4($8)
144
sw $3,0($24)
145
sw $9,4($24)
146
la $24,-8+48($sp)
147
la $8,12+48($sp)
148
lw $3,0($8)
149
lw $9,4($8)
150
sw $3,0($24)
151
sw $9,4($24)
152
lw $4,0+48($sp)
153
la $8,-16+48($sp)
154
lw $3,0($8)
155
lw $9,4($8)
156
sw $3,4($29)
157
sw $9,8($29)
158
lw $3,8($8)
159
lw $9,12($8)
160
sw $3,12($29)
161
sw $9,16($29)
162
lw $5,4($sp)
163
lw $6,8($sp)
164
lw $7,12($sp)
165
jal canonrect
166
L.42:
167
lw $25,20($sp)
168
lw $31,24($sp)
169
addu $sp,$sp,48
170
j $31
171
.end makerect
172
.globl ptinrect
173
.text
174
.align 2
175
.ent ptinrect
176
ptinrect:
177
.frame $sp,16,$31
178
.set noreorder
179
.cpload $25
180
.set reorder
181
addu $sp,$sp,-16
182
.mask 0x40000000,-16
183
sw $30,0($sp)
184
sw $4,16($sp)
185
sw $5,20($sp)
186
sw $6,24($sp)
187
sw $7,28($sp)
188
lw $24,0+16($sp)
189
lw $15,8+16($sp)
190
blt $24,$15,L.53
191
lw $15,16+16($sp)
192
bge $24,$15,L.53
193
lw $24,4+16($sp)
194
lw $15,12+16($sp)
195
blt $24,$15,L.53
196
lw $24,4+16($sp)
197
lw $15,20+16($sp)
198
bge $24,$15,L.53
199
la $30,1
200
b L.54
201
L.53:
202
move $30,$0
203
L.54:
204
move $2,$30
205
L.45:
206
lw $30,0($sp)
207
addu $sp,$sp,16
208
j $31
209
.end ptinrect
210
.globl y
211
.sdata
212
.align 0
213
y:
214
.byte 97
215
.byte 98
216
.byte 0
217
.globl odd
218
.text
219
.text
220
.align 2
221
.ent odd
222
odd:
223
.frame $sp,32,$31
224
.set noreorder
225
.cpload $25
226
.set reorder
227
addu $sp,$sp,-32
228
.mask 0x82000000,-12
229
.cprestore 16
230
sw $31,20($sp)
231
sw $4,32($sp)
232
la $24,-3+32($sp)
233
la $8,0+32($sp)
234
ulhu $3,0($8)
235
ush $3,0($24)
236
lbu $3,2($8)
237
sb $3,2($24)
238
la $4,L.56
239
la $5,-3+32($sp)
240
jal printf
241
move $2,$0
242
L.55:
243
lw $25,16($sp)
244
lw $31,20($sp)
245
addu $sp,$sp,32
246
j $31
247
.end odd
248
.rdata
249
.align 2
250
L.58:
251
.word 0x0
252
.word 0x0
253
.align 2
254
L.59:
255
.word 0x140
256
.word 0x140
257
.align 2
258
L.60:
259
.word 0xffffffff
260
.word 0xffffffff
261
.word 0x1
262
.word 0x1
263
.word 0x14
264
.word 0x12c
265
.word 0x1f4
266
.word 0x190
267
.globl main
268
.text
269
.text
270
.align 2
271
.ent main
272
main:
273
.frame $sp,144,$31
274
.set noreorder
275
.cpload $25
276
.set reorder
277
addu $sp,$sp,-144
278
.mask 0xc2000000,-112
279
.cprestore 24
280
sw $30,28($sp)
281
sw $31,32($sp)
282
la $24,-64+144($sp)
283
la $8,L.58
284
lw $3,0($8)
285
lw $9,4($8)
286
sw $3,0($24)
287
sw $9,4($24)
288
la $24,-72+144($sp)
289
la $8,L.59
290
lw $3,0($8)
291
lw $9,4($8)
292
sw $3,0($24)
293
sw $9,4($24)
294
la $24,-32+144($sp)
295
la $8,L.60
296
addu $8,$8,32
297
addu $10,$24,32
298
L.76:
299
addu $8,$8,-8
300
addu $10,$10,-8
301
lw $3,0($8)
302
lw $9,4($8)
303
sw $3,0($10)
304
sw $9,4($10)
305
bltu $24,$10,L.76
306
la $4,-80+144($sp)
307
la $24,-10
308
move $5,$24
309
move $6,$24
310
jal makepoint
311
la $4,-88+144($sp)
312
la $8,-72+144($sp)
313
lw $3,0($8)
314
lw $9,4($8)
315
sw $3,4($29)
316
sw $9,8($29)
317
lw $5,4($sp)
318
lw $6,8($sp)
319
la $8,-80+144($sp)
320
lw $3,0($8)
321
lw $9,4($8)
322
sw $3,12($29)
323
sw $9,16($29)
324
lw $7,12($sp)
325
jal addpoint
326
la $4,-96+144($sp)
327
la $24,10
328
move $5,$24
329
move $6,$24
330
jal makepoint
331
la $4,-104+144($sp)
332
la $8,-64+144($sp)
333
lw $3,0($8)
334
lw $9,4($8)
335
sw $3,4($29)
336
sw $9,8($29)
337
lw $5,4($sp)
338
lw $6,8($sp)
339
la $8,-96+144($sp)
340
lw $3,0($8)
341
lw $9,4($8)
342
sw $3,12($29)
343
sw $9,16($29)
344
lw $7,12($sp)
345
jal addpoint
346
la $4,-48+144($sp)
347
la $8,-88+144($sp)
348
lw $3,0($8)
349
lw $9,4($8)
350
sw $3,4($29)
351
sw $9,8($29)
352
lw $5,4($sp)
353
lw $6,8($sp)
354
la $8,-104+144($sp)
355
lw $3,0($8)
356
lw $9,4($8)
357
sw $3,12($29)
358
sw $9,16($29)
359
lw $7,12($sp)
360
jal makerect
361
move $30,$0
362
b L.64
363
L.61:
364
la $4,-56+144($sp)
365
sll $24,$30,3
366
la $15,-32+144($sp)
367
addu $15,$24,$15
368
lw $5,($15)
369
la $15,-28+144($sp)
370
addu $24,$24,$15
371
lw $6,($24)
372
jal makepoint
373
la $4,L.65
374
sll $24,$30,3
375
la $15,-32+144($sp)
376
addu $24,$24,$15
377
lw $5,($24)
378
lw $6,-52+144($sp)
379
jal printf
380
la $8,-56+144($sp)
381
lw $3,0($8)
382
lw $9,4($8)
383
sw $3,0($29)
384
sw $9,4($29)
385
lw $4,0($sp)
386
lw $5,4($sp)
387
la $8,-48+144($sp)
388
lw $3,0($8)
389
lw $9,4($8)
390
sw $3,8($29)
391
sw $9,12($29)
392
lw $3,8($8)
393
lw $9,12($8)
394
sw $3,16($29)
395
sw $9,20($29)
396
lw $6,8($sp)
397
lw $7,12($sp)
398
jal ptinrect
399
bne $2,$0,L.68
400
la $4,L.70
401
jal printf
402
L.68:
403
la $4,L.71
404
lw $5,-48+144($sp)
405
lw $6,-44+144($sp)
406
lw $7,-40+144($sp)
407
lw $24,-36+144($sp)
408
sw $24,16($sp)
409
jal printf
410
L.62:
411
la $30,1($30)
412
L.64:
413
move $24,$30
414
la $15,4
415
bltu $24,$15,L.61
416
la $8,y
417
ulhu $3,0($8)
418
sh $3,0($29)
419
lbu $3,2($8)
420
sb $3,2($29)
421
lw $4,0($sp)
422
jal odd
423
move $4,$0
424
jal exit
425
move $2,$0
426
L.57:
427
lw $25,24($sp)
428
lw $30,28($sp)
429
lw $31,32($sp)
430
addu $sp,$sp,144
431
j $31
432
.end main
433
.rdata
434
.align 0
435
L.71:
436
.byte 119
437
.byte 105
438
.byte 116
439
.byte 104
440
.byte 105
441
.byte 110
442
.byte 32
443
.byte 91
444
.byte 37
445
.byte 100
446
.byte 44
447
.byte 37
448
.byte 100
449
.byte 59
450
.byte 32
451
.byte 37
452
.byte 100
453
.byte 44
454
.byte 37
455
.byte 100
456
.byte 93
457
.byte 10
458
.byte 0
459
.align 0
460
L.70:
461
.byte 110
462
.byte 111
463
.byte 116
464
.byte 32
465
.byte 0
466
.align 0
467
L.65:
468
.byte 40
469
.byte 37
470
.byte 100
471
.byte 44
472
.byte 37
473
.byte 100
474
.byte 41
475
.byte 32
476
.byte 105
477
.byte 115
478
.byte 32
479
.byte 0
480
.align 0
481
L.56:
482
.byte 37
483
.byte 115
484
.byte 10
485
.byte 0

powered by: WebSVN 2.1.0

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