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

Subversion Repositories eco32

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

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

Line No. Rev Author Line
1 4 hellwig
.globl print
2
.text
3
.text
4
.ent print
5
print:
6
ldgp $gp,0($27)
7
lda $sp,-112($sp)
8
.mask 0x4000000,-64
9
.frame $sp,112,$26,48
10
stq $26,48($sp)
11
.prologue 1
12
lda $16,L.2
13
lda $27,c
14
ldb $17,($27)
15
lda $27,s
16
ldw $18,($27)
17
ldl $19,i
18
ldq $20,l
19
lda $27,C
20
ldbu $21,($27)
21
lda $27,S
22
ldwu $27,($27)
23
stq $27,0($sp)
24
ldl $27,I
25
zap $27,240,$27
26
stq $27,8($sp)
27
ldq $27,L
28
stq $27,16($sp)
29
lds $f30,f
30
cvtst $f30,$f30
31
stt $f30,24($sp)
32
ldt $f30,d
33
stt $f30,32($sp)
34
ldt $f30,D
35
stt $f30,40($sp)
36
jsr $26,printf
37
ldgp $gp,0($26)
38
L.1:
39
ldq $26,48($sp)
40
lda $sp,112($sp)
41
ret
42
.end print
43
.globl main
44
.text
45
.ent main
46
main:
47
ldgp $gp,0($27)
48
lda $sp,-160($sp)
49
.mask 0x5007e00,-104
50
.frame $sp,160,$26,48
51
stq $9,0($sp)
52
stq $10,8($sp)
53
stq $11,16($sp)
54
stq $12,24($sp)
55
stq $13,32($sp)
56
stq $14,40($sp)
57
stq $24,48($sp)
58
stq $26,56($sp)
59
.prologue 1
60
lda $27,c
61
lda $25,1
62
stb $25,c
63
ldb $27,($27)
64
mov $27,$25
65
stw $25,s
66
stl $27,i
67
sll $27,8*(8-4),$25
68
sra $25,8*(8-4),$25
69
stq $25,l
70
mov $27,$25
71
mov $25,$22
72
stb $22,C
73
mov $25,$22
74
stw $22,S
75
stl $25,I
76
mov $27,$25
77
stq $25,L
78
stq $27,-56+160($sp)
79
ldt $f30,-56+160($sp)
80
cvtqs $f30,$f30
81
sts $f30,f
82
stq $27,-56+160($sp)
83
ldt $f30,-56+160($sp)
84
cvtqt $f30,$f30
85
stt $f30,d
86
stt $f30,D
87
jsr $26,print
88
ldgp $gp,0($26)
89
lda $27,s
90
lda $25,2
91
stw $25,s
92
ldw $27,($27)
93
mov $27,$25
94
stb $25,c
95
stl $27,i
96
sll $27,8*(8-4),$25
97
sra $25,8*(8-4),$25
98
stq $25,l
99
mov $27,$25
100
mov $25,$22
101
stb $22,C
102
mov $25,$22
103
stw $22,S
104
stl $25,I
105
mov $27,$25
106
stq $25,L
107
stq $27,-56+160($sp)
108
ldt $f30,-56+160($sp)
109
cvtqs $f30,$f30
110
sts $f30,f
111
stq $27,-56+160($sp)
112
ldt $f30,-56+160($sp)
113
cvtqt $f30,$f30
114
stt $f30,d
115
stt $f30,D
116
jsr $26,print
117
ldgp $gp,0($26)
118
lda $27,3
119
stl $27,i
120
ldl $27,i
121
mov $27,$25
122
stb $25,c
123
mov $27,$25
124
stw $25,s
125
sll $27,8*(8-4),$25
126
sra $25,8*(8-4),$25
127
stq $25,l
128
mov $27,$25
129
mov $25,$22
130
stb $22,C
131
mov $25,$22
132
stw $22,S
133
stl $25,I
134
mov $27,$25
135
stq $25,L
136
stq $27,-56+160($sp)
137
ldt $f30,-56+160($sp)
138
cvtqs $f30,$f30
139
sts $f30,f
140
stq $27,-56+160($sp)
141
ldt $f30,-56+160($sp)
142
cvtqt $f30,$f30
143
stt $f30,d
144
stt $f30,D
145
jsr $26,print
146
ldgp $gp,0($26)
147
lda $27,4
148
stq $27,l
149
ldq $27,l
150
mov $27,$25
151
stb $25,c
152
mov $27,$25
153
stw $25,s
154
mov $27,$25
155
stl $25,i
156
mov $27,$25
157
mov $25,$22
158
stb $22,C
159
mov $25,$22
160
stw $22,S
161
stl $25,I
162
mov $27,$25
163
stq $25,L
164
stq $27,-56+160($sp)
165
ldt $f30,-56+160($sp)
166
cvtqs $f30,$f30
167
sts $f30,f
168
stq $27,-56+160($sp)
169
ldt $f30,-56+160($sp)
170
cvtqt $f30,$f30
171
stt $f30,d
172
stt $f30,D
173
jsr $26,print
174
ldgp $gp,0($26)
175
lda $27,C
176
lda $25,5
177
stb $25,C
178
ldbu $27,($27)
179
mov $27,$25
180
stb $25,c
181
mov $27,$25
182
stw $25,s
183
stl $27,i
184
sll $27,8*(8-4),$25
185
sra $25,8*(8-4),$25
186
stq $25,l
187
mov $27,$25
188
mov $25,$22
189
stw $22,S
190
stl $25,I
191
mov $27,$25
192
stq $25,L
193
stq $27,-56+160($sp)
194
ldt $f30,-56+160($sp)
195
cvtqs $f30,$f30
196
sts $f30,f
197
stq $27,-56+160($sp)
198
ldt $f30,-56+160($sp)
199
cvtqt $f30,$f30
200
stt $f30,d
201
stt $f30,D
202
jsr $26,print
203
ldgp $gp,0($26)
204
lda $27,S
205
lda $25,6
206
stw $25,S
207
ldwu $27,($27)
208
mov $27,$25
209
stb $25,c
210
mov $27,$25
211
stw $25,s
212
stl $27,i
213
sll $27,8*(8-4),$25
214
sra $25,8*(8-4),$25
215
stq $25,l
216
mov $27,$25
217
mov $25,$22
218
stb $22,C
219
stl $25,I
220
mov $27,$25
221
stq $25,L
222
stq $27,-56+160($sp)
223
ldt $f30,-56+160($sp)
224
cvtqs $f30,$f30
225
sts $f30,f
226
stq $27,-56+160($sp)
227
ldt $f30,-56+160($sp)
228
cvtqt $f30,$f30
229
stt $f30,d
230
stt $f30,D
231
jsr $26,print
232
ldgp $gp,0($26)
233
lda $27,7
234
stl $27,I
235
ldl $27,I
236
zap $27,240,$27
237
mov $27,$25
238
mov $25,$22
239
stb $22,c
240
mov $25,$22
241
stw $22,s
242
stl $25,i
243
and $27,(1<<(8*4))-1,$25
244
stq $25,l
245
mov $27,$25
246
stb $25,C
247
mov $27,$25
248
stw $25,S
249
and $27,(1<<(8*4))-1,$25
250
stq $25,L
251
ldt $f30,L.4
252
srl $27,1,$25
253
stq $25,-56+160($sp)
254
ldt $f29,-56+160($sp)
255
cvtqt $f29,$f29
256
mult $f30,$f29,$f30
257
and $27,1,$27
258
stq $27,-56+160($sp)
259
ldt $f29,-56+160($sp)
260
cvtqt $f29,$f29
261
addt $f30,$f29,$f30
262
cvtts $f30,$f29
263
sts $f29,f
264
stt $f30,d
265
stt $f30,D
266
jsr $26,print
267
ldgp $gp,0($26)
268
lda $27,8
269
stq $27,L
270
ldq $27,L
271
mov $27,$25
272
mov $25,$22
273
stb $22,c
274
mov $25,$22
275
stw $22,s
276
stl $25,i
277
mov $27,$25
278
stq $25,l
279
mov $27,$25
280
stb $25,C
281
lda $25,S
282
mov $27,$22
283
stw $22,S
284
ldwu $25,($25)
285
stl $25,I
286
ldt $f30,L.4
287
srl $27,1,$25
288
stq $25,-56+160($sp)
289
ldt $f29,-56+160($sp)
290
cvtqt $f29,$f29
291
mult $f30,$f29,$f30
292
and $27,1,$27
293
stq $27,-56+160($sp)
294
ldt $f29,-56+160($sp)
295
cvtqt $f29,$f29
296
addt $f30,$f29,$f30
297
cvtts $f30,$f29
298
sts $f29,f
299
stt $f30,d
300
stt $f30,D
301
jsr $26,print
302
ldgp $gp,0($26)
303
lds $f30,L.5
304
sts $f30,f
305
lds $f30,f
306
cvttqc $f30,$f1
307
cvtql $f1,$f1
308
sts $f1,-56+160($sp)
309
ldl $27,-56+160($sp)
310
mov $27,$25
311
stb $25,c
312
mov $27,$25
313
stw $25,s
314
stl $27,i
315
cvttqc $f30,$f1
316
stt $f1,-56+160($sp)
317
ldq $27,-56+160($sp)
318
stq $27,l
319
lds $f29,L.9
320
cmptlt $f30,$f29,$f1
321
fbne $f1,L.7
322
subs $f30,$f29,$f29
323
cvttqc $f29,$f1
324
cvtql $f1,$f1
325
sts $f1,-56+160($sp)
326
ldl $27,-56+160($sp)
327
addl $27,0x80000000,$14
328
zap $14,240,$14
329
br L.8
330
L.7:
331
cvttqc $f30,$f1
332
cvtql $f1,$f1
333
sts $f1,-56+160($sp)
334
ldl $27,-56+160($sp)
335
mov $27,$14
336
L.8:
337
mov $14,$27
338
stb $27,C
339
lds $f30,f
340
lds $f29,L.9
341
cmptlt $f30,$f29,$f1
342
fbne $f1,L.11
343
subs $f30,$f29,$f29
344
cvttqc $f29,$f1
345
cvtql $f1,$f1
346
sts $f1,-56+160($sp)
347
ldl $27,-56+160($sp)
348
addl $27,0x80000000,$13
349
zap $13,240,$13
350
br L.12
351
L.11:
352
cvttqc $f30,$f1
353
cvtql $f1,$f1
354
sts $f1,-56+160($sp)
355
ldl $27,-56+160($sp)
356
mov $27,$13
357
L.12:
358
mov $13,$27
359
stw $27,S
360
lds $f30,f
361
lds $f29,L.9
362
cmptlt $f30,$f29,$f1
363
fbne $f1,L.14
364
subs $f30,$f29,$f29
365
cvttqc $f29,$f1
366
cvtql $f1,$f1
367
sts $f1,-56+160($sp)
368
ldl $27,-56+160($sp)
369
addl $27,0x80000000,$12
370
zap $12,240,$12
371
br L.15
372
L.14:
373
cvttqc $f30,$f1
374
cvtql $f1,$f1
375
sts $f1,-56+160($sp)
376
ldl $27,-56+160($sp)
377
mov $27,$12
378
L.15:
379
stl $12,I
380
lds $f30,f
381
lds $f29,L.19
382
cmptlt $f30,$f29,$f1
383
fbne $f1,L.17
384
subs $f30,$f29,$f29
385
cvttqc $f29,$f1
386
stt $f1,-56+160($sp)
387
ldq $27,-56+160($sp)
388
lda $11,0x8000000000000000($27)
389
br L.18
390
L.17:
391
cvttqc $f30,$f1
392
stt $f1,-56+160($sp)
393
ldq $27,-56+160($sp)
394
mov $27,$11
395
L.18:
396
stq $11,L
397
lds $f30,f
398
cvtst $f30,$f30
399
stt $f30,d
400
stt $f30,D
401
jsr $26,print
402
ldgp $gp,0($26)
403
ldt $f30,L.20
404
stt $f30,d
405
ldt $f30,d
406
cvttqc $f30,$f1
407
cvtql $f1,$f1
408
sts $f1,-56+160($sp)
409
ldl $27,-56+160($sp)
410
mov $27,$25
411
stb $25,c
412
mov $27,$25
413
stw $25,s
414
stl $27,i
415
cvttqc $f30,$f1
416
stt $f1,-56+160($sp)
417
ldq $27,-56+160($sp)
418
stq $27,l
419
ldt $f29,L.24
420
cmptlt $f30,$f29,$f1
421
fbne $f1,L.22
422
subt $f30,$f29,$f29
423
cvttqc $f29,$f1
424
cvtql $f1,$f1
425
sts $f1,-56+160($sp)
426
ldl $27,-56+160($sp)
427
addl $27,0x80000000,$10
428
zap $10,240,$10
429
br L.23
430
L.22:
431
cvttqc $f30,$f1
432
cvtql $f1,$f1
433
sts $f1,-56+160($sp)
434
ldl $27,-56+160($sp)
435
mov $27,$10
436
L.23:
437
mov $10,$27
438
stb $27,C
439
ldt $f30,d
440
ldt $f29,L.24
441
cmptlt $f30,$f29,$f1
442
fbne $f1,L.26
443
subt $f30,$f29,$f29
444
cvttqc $f29,$f1
445
cvtql $f1,$f1
446
sts $f1,-56+160($sp)
447
ldl $27,-56+160($sp)
448
addl $27,0x80000000,$9
449
zap $9,240,$9
450
br L.27
451
L.26:
452
cvttqc $f30,$f1
453
cvtql $f1,$f1
454
sts $f1,-56+160($sp)
455
ldl $27,-56+160($sp)
456
mov $27,$9
457
L.27:
458
mov $9,$27
459
stw $27,S
460
ldt $f30,d
461
ldt $f29,L.24
462
cmptlt $f30,$f29,$f1
463
fbne $f1,L.29
464
subt $f30,$f29,$f29
465
cvttqc $f29,$f1
466
cvtql $f1,$f1
467
sts $f1,-56+160($sp)
468
ldl $27,-56+160($sp)
469
addl $27,0x80000000,$27
470
zap $27,240,$27
471
stl $27,-60+160($sp)
472
br L.30
473
L.29:
474
cvttqc $f30,$f1
475
cvtql $f1,$f1
476
sts $f1,-56+160($sp)
477
ldl $27,-56+160($sp)
478
stl $27,-60+160($sp)
479
L.30:
480
ldl $27,-60+160($sp)
481
zap $27,240,$27
482
stl $27,I
483
ldt $f30,d
484
ldt $f29,L.34
485
cmptlt $f30,$f29,$f1
486
fbne $f1,L.32
487
subt $f30,$f29,$f29
488
cvttqc $f29,$f1
489
stt $f1,-56+160($sp)
490
ldq $27,-56+160($sp)
491
lda $27,0x8000000000000000($27)
492
stq $27,-72+160($sp)
493
br L.33
494
L.32:
495
cvttqc $f30,$f1
496
stt $f1,-56+160($sp)
497
ldq $27,-56+160($sp)
498
stq $27,-72+160($sp)
499
L.33:
500
ldq $27,-72+160($sp)
501
stq $27,L
502
ldt $f30,d
503
cvtts $f30,$f29
504
sts $f29,f
505
stt $f30,D
506
jsr $26,print
507
ldgp $gp,0($26)
508
ldt $f30,L.35
509
stt $f30,D
510
ldt $f30,D
511
cvttqc $f30,$f1
512
cvtql $f1,$f1
513
sts $f1,-56+160($sp)
514
ldl $27,-56+160($sp)
515
mov $27,$25
516
stb $25,c
517
mov $27,$25
518
stw $25,s
519
stl $27,i
520
cvttqc $f30,$f1
521
stt $f1,-56+160($sp)
522
ldq $27,-56+160($sp)
523
stq $27,l
524
ldt $f29,L.39
525
cmptlt $f30,$f29,$f1
526
fbne $f1,L.37
527
subt $f30,$f29,$f29
528
cvttqc $f29,$f1
529
cvtql $f1,$f1
530
sts $f1,-56+160($sp)
531
ldl $27,-56+160($sp)
532
addl $27,0x80000000,$27
533
zap $27,240,$27
534
stl $27,-76+160($sp)
535
br L.38
536
L.37:
537
cvttqc $f30,$f1
538
cvtql $f1,$f1
539
sts $f1,-56+160($sp)
540
ldl $27,-56+160($sp)
541
stl $27,-76+160($sp)
542
L.38:
543
ldl $27,-76+160($sp)
544
zap $27,240,$27
545
stb $27,C
546
ldt $f30,D
547
ldt $f29,L.39
548
cmptlt $f30,$f29,$f1
549
fbne $f1,L.41
550
subt $f30,$f29,$f29
551
cvttqc $f29,$f1
552
cvtql $f1,$f1
553
sts $f1,-56+160($sp)
554
ldl $27,-56+160($sp)
555
addl $27,0x80000000,$27
556
zap $27,240,$27
557
stl $27,-80+160($sp)
558
br L.42
559
L.41:
560
cvttqc $f30,$f1
561
cvtql $f1,$f1
562
sts $f1,-56+160($sp)
563
ldl $27,-56+160($sp)
564
stl $27,-80+160($sp)
565
L.42:
566
ldl $27,-80+160($sp)
567
zap $27,240,$27
568
stw $27,S
569
ldt $f30,D
570
ldt $f29,L.39
571
cmptlt $f30,$f29,$f1
572
fbne $f1,L.44
573
subt $f30,$f29,$f29
574
cvttqc $f29,$f1
575
cvtql $f1,$f1
576
sts $f1,-56+160($sp)
577
ldl $27,-56+160($sp)
578
addl $27,0x80000000,$27
579
zap $27,240,$27
580
stl $27,-84+160($sp)
581
br L.45
582
L.44:
583
cvttqc $f30,$f1
584
cvtql $f1,$f1
585
sts $f1,-56+160($sp)
586
ldl $27,-56+160($sp)
587
stl $27,-84+160($sp)
588
L.45:
589
ldl $27,-84+160($sp)
590
zap $27,240,$27
591
stl $27,I
592
ldt $f30,D
593
ldt $f29,L.49
594
cmptlt $f30,$f29,$f1
595
fbne $f1,L.47
596
subt $f30,$f29,$f29
597
cvttqc $f29,$f1
598
stt $f1,-56+160($sp)
599
ldq $27,-56+160($sp)
600
lda $27,0x8000000000000000($27)
601
stq $27,-96+160($sp)
602
br L.48
603
L.47:
604
cvttqc $f30,$f1
605
stt $f1,-56+160($sp)
606
ldq $27,-56+160($sp)
607
stq $27,-96+160($sp)
608
L.48:
609
ldq $27,-96+160($sp)
610
stq $27,L
611
ldt $f30,D
612
cvtts $f30,$f29
613
sts $f29,f
614
stt $f30,d
615
jsr $26,print
616
ldgp $gp,0($26)
617
stq $31,p
618
stq $31,p
619
stq $31,p
620
stq $31,p
621
ldq $27,P
622
stq $27,p
623
stq $31,P
624
stq $31,P
625
stq $31,P
626
stq $31,P
627
ldq $27,p
628
stq $27,P
629
mov $31,$0
630
L.3:
631
ldq $9,0($sp)
632
ldq $10,8($sp)
633
ldq $11,16($sp)
634
ldq $12,24($sp)
635
ldq $13,32($sp)
636
ldq $14,40($sp)
637
ldq $24,48($sp)
638
ldq $26,56($sp)
639
lda $sp,160($sp)
640
ret
641
.end main
642
.globl P
643
.comm P,8
644
.globl p
645
.comm p,8
646
.globl D
647
.comm D,8
648
.globl d
649
.comm d,8
650
.globl f
651
.comm f,4
652
.globl L
653
.comm L,8
654
.globl I
655
.comm I,4
656
.globl S
657
.comm S,2
658
.globl C
659
.comm C,1
660
.globl l
661
.comm l,8
662
.globl i
663
.comm i,4
664
.globl s
665
.comm s,2
666
.globl c
667
.comm c,1
668
.rdata
669
.align 3
670
L.49:
671
.long 0x0
672
.long 0x43e00000
673
.align 3
674
L.39:
675
.long 0x0
676
.long 0x41e00000
677
.align 3
678
L.35:
679
.long 0x0
680
.long 0x40260000
681
.align 3
682
L.34:
683
.long 0x0
684
.long 0x43e00000
685
.align 3
686
L.24:
687
.long 0x0
688
.long 0x41e00000
689
.align 3
690
L.20:
691
.long 0x0
692
.long 0x40240000
693
.align 2
694
L.19:
695
.long 0x5f000000
696
.align 2
697
L.9:
698
.long 0x4f000000
699
.align 2
700
L.5:
701
.long 0x41100000
702
.align 3
703
L.4:
704
.long 0x0
705
.long 0x40000000
706
.align 0
707
L.2:
708
.byte 37
709
.byte 100
710
.byte 32
711
.byte 37
712
.byte 100
713
.byte 32
714
.byte 37
715
.byte 100
716
.byte 32
717
.byte 37
718
.byte 108
719
.byte 100
720
.byte 32
721
.byte 37
722
.byte 117
723
.byte 32
724
.byte 37
725
.byte 117
726
.byte 32
727
.byte 37
728
.byte 117
729
.byte 32
730
.byte 37
731
.byte 108
732
.byte 117
733
.byte 32
734
.byte 37
735
.byte 102
736
.byte 32
737
.byte 37
738
.byte 102
739
.byte 32
740
.byte 37
741
.byte 108
742
.byte 102
743
.byte 10
744
.byte 0

powered by: WebSVN 2.1.0

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