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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [alpha/] [osf/] [tst/] [struct.sbk] - Blame information for rev 146

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

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

powered by: WebSVN 2.1.0

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