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

Subversion Repositories eco32

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

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

Line No. Rev Author Line
1 4 hellwig
.globl main
2
.text
3
.text
4
.ent main
5
main:
6
ldgp $gp,0($27)
7
lda $sp,-80($sp)
8
.mask 0x4006000,-64
9
.frame $sp,80,$26,48
10
stq $13,0($sp)
11
stq $14,8($sp)
12
stq $26,16($sp)
13
.prologue 1
14
lda $14,L.6
15
br L.5
16
L.2:
17
ldb $16,($14)
18
jsr $26,backslash
19
ldgp $gp,0($26)
20
mov $0,$27
21
lda $16,L.7
22
ldb $17,($14)
23
mov $27,$18
24
jsr $26,printf
25
ldgp $gp,0($26)
26
L.3:
27
lda $14,1($14)
28
L.5:
29
ldb $27,($14)
30
cmpeq $27,$31,$23
31
beq $23,L.2
32
jsr $26,f
33
ldgp $gp,0($26)
34
jsr $26,g
35
ldgp $gp,0($26)
36
jsr $26,h
37
ldgp $gp,0($26)
38
lda $13,16777216
39
br L.11
40
L.8:
41
mov $13,$16
42
jsr $26,big
43
ldgp $gp,0($26)
44
L.9:
45
lda $13,16777216($13)
46
L.11:
47
and $13,117440512,$27
48
addl $27,0,$27
49
cmpeq $27,$31,$23
50
beq $23,L.8
51
jsr $26,limit
52
ldgp $gp,0($26)
53
mov $31,$0
54
L.1:
55
ldq $13,0($sp)
56
ldq $14,8($sp)
57
ldq $26,16($sp)
58
lda $sp,80($sp)
59
ret
60
.end main
61
.globl backslash
62
.text
63
.ent backslash
64
backslash:
65
ldgp $gp,0($27)
66
lda $sp,-64($sp)
67
.frame $sp,64,$26,48
68
.prologue 1
69
lda $27,102
70
cmpeq $16,$27,$23
71
bne $23,L.16
72
cmple $16,$27,$23
73
beq $23,L.22
74
L.21:
75
lda $27,98
76
cmpeq $16,$27,$23
77
bne $23,L.15
78
br L.13
79
L.22:
80
lda $27,110
81
cmpeq $16,$27,$23
82
bne $23,L.17
83
cmplt $16,$27,$23
84
bne $23,L.13
85
L.23:
86
lda $27,114
87
cmpeq $16,$27,$23
88
bne $23,L.18
89
lda $27,116
90
cmpeq $16,$27,$23
91
bne $23,L.19
92
lda $27,118
93
cmpeq $16,$27,$23
94
bne $23,L.20
95
br L.13
96
L.15:
97
lda $0,8
98
br L.12
99
L.16:
100
lda $0,12
101
br L.12
102
L.17:
103
lda $0,10
104
br L.12
105
L.18:
106
lda $0,13
107
br L.12
108
L.19:
109
lda $0,9
110
br L.12
111
L.20:
112
lda $0,11
113
br L.12
114
L.13:
115
mov $16,$0
116
L.12:
117
lda $sp,64($sp)
118
ret
119
.end backslash
120
.globl f
121
.text
122
.ent f
123
f:
124
ldgp $gp,0($27)
125
lda $sp,-96($sp)
126
.mask 0x4007000,-72
127
.frame $sp,96,$26,48
128
stq $12,0($sp)
129
stq $13,8($sp)
130
stq $14,16($sp)
131
stq $26,24($sp)
132
.prologue 1
133
mov $31,$13
134
lda $16,L.25
135
jsr $26,printf
136
ldgp $gp,0($26)
137
mov $31,$14
138
L.26:
139
mov $14,$12
140
cmplt $14,1,$23
141
bne $23,L.30
142
cmple $14,20,$23
143
beq $23,L.30
144
subl $14,1,$27
145
sll $27,3,$27
146
ldq $27,L.42($27)
147
jmp ($27)
148
.rdata
149
.align 3
150
L.42:
151
.quad L.32
152
.quad L.33
153
.quad L.30
154
.quad L.30
155
.quad L.30
156
.quad L.30
157
.quad L.34
158
.quad L.35
159
.quad L.36
160
.quad L.30
161
.quad L.30
162
.quad L.30
163
.quad L.30
164
.quad L.30
165
.quad L.30
166
.quad L.37
167
.quad L.38
168
.quad L.39
169
.quad L.40
170
.quad L.41
171
.text
172
L.32:
173
mov $14,$13
174
br L.31
175
L.33:
176
mov $14,$13
177
br L.31
178
L.34:
179
mov $14,$13
180
br L.31
181
L.35:
182
mov $14,$13
183
br L.31
184
L.36:
185
mov $14,$13
186
br L.31
187
L.37:
188
mov $14,$13
189
br L.31
190
L.38:
191
mov $14,$13
192
br L.31
193
L.39:
194
mov $14,$13
195
br L.31
196
L.40:
197
mov $14,$13
198
br L.31
199
L.41:
200
mov $14,$13
201
L.30:
202
L.31:
203
lda $16,L.43
204
mov $13,$17
205
jsr $26,printf
206
ldgp $gp,0($26)
207
L.27:
208
lda $14,1($14)
209
cmple $14,20,$23
210
bne $23,L.26
211
mov $31,$0
212
L.24:
213
ldq $12,0($sp)
214
ldq $13,8($sp)
215
ldq $14,16($sp)
216
ldq $26,24($sp)
217
lda $sp,96($sp)
218
ret
219
.end f
220
.globl g
221
.text
222
.ent g
223
g:
224
ldgp $gp,0($27)
225
lda $sp,-80($sp)
226
.mask 0x4004000,-72
227
.frame $sp,80,$26,48
228
stq $14,0($sp)
229
stq $26,8($sp)
230
.prologue 1
231
lda $16,L.45
232
jsr $26,printf
233
ldgp $gp,0($26)
234
lda $14,1
235
L.46:
236
lda $27,1001
237
cmplt $14,$27,$23
238
bne $23,L.63
239
lda $27,1004
240
cmple $14,$27,$23
241
beq $23,L.64
242
subl $14,1001,$27
243
sll $27,3,$27
244
ldq $27,L.65($27)
245
jmp ($27)
246
.rdata
247
.align 3
248
L.65:
249
.quad L.59
250
.quad L.59
251
.quad L.59
252
.quad L.59
253
.text
254
L.63:
255
cmplt $14,1,$23
256
bne $23,L.50
257
cmple $14,8,$23
258
beq $23,L.50
259
subl $14,1,$27
260
sll $27,3,$27
261
ldq $27,L.66($27)
262
jmp ($27)
263
.rdata
264
.align 3
265
L.66:
266
.quad L.52
267
.quad L.52
268
.quad L.54
269
.quad L.54
270
.quad L.54
271
.quad L.56
272
.quad L.56
273
.quad L.56
274
.text
275
L.64:
276
lda $27,3001
277
cmplt $14,$27,$23
278
bne $23,L.50
279
lda $27,3004
280
cmple $14,$27,$23
281
beq $23,L.50
282
subl $14,3001,$27
283
sll $27,3,$27
284
ldq $27,L.67($27)
285
jmp ($27)
286
.rdata
287
.align 3
288
L.67:
289
.quad L.61
290
.quad L.61
291
.quad L.61
292
.quad L.61
293
.text
294
L.52:
295
lda $16,L.53
296
mov $14,$17
297
jsr $26,printf
298
ldgp $gp,0($26)
299
br L.51
300
L.54:
301
lda $16,L.55
302
mov $14,$17
303
jsr $26,printf
304
ldgp $gp,0($26)
305
br L.51
306
L.56:
307
lda $16,L.57
308
mov $14,$17
309
jsr $26,printf
310
ldgp $gp,0($26)
311
L.50:
312
lda $16,L.58
313
mov $14,$17
314
jsr $26,printf
315
ldgp $gp,0($26)
316
br L.51
317
L.59:
318
lda $16,L.60
319
mov $14,$17
320
jsr $26,printf
321
ldgp $gp,0($26)
322
br L.51
323
L.61:
324
lda $16,L.62
325
mov $14,$17
326
jsr $26,printf
327
ldgp $gp,0($26)
328
L.51:
329
L.47:
330
lda $14,1($14)
331
cmple $14,10,$23
332
bne $23,L.46
333
mov $31,$0
334
L.44:
335
ldq $14,0($sp)
336
ldq $26,8($sp)
337
lda $sp,80($sp)
338
ret
339
.end g
340
.globl h
341
.text
342
.ent h
343
h:
344
ldgp $gp,0($27)
345
lda $sp,-80($sp)
346
.mask 0x4006000,-64
347
.frame $sp,80,$26,48
348
stq $13,0($sp)
349
stq $14,8($sp)
350
stq $26,16($sp)
351
.prologue 1
352
mov $31,$13
353
lda $16,L.69
354
jsr $26,printf
355
ldgp $gp,0($26)
356
lda $14,1
357
L.70:
358
lda $27,264
359
cmpeq $14,$27,$23
360
bne $23,L.82
361
cmple $14,$27,$23
362
beq $23,L.90
363
L.89:
364
lda $27,120
365
cmpeq $14,$27,$23
366
bne $23,L.80
367
cmple $14,$27,$23
368
beq $23,L.92
369
L.91:
370
cmpeq $14,8,$23
371
bne $23,L.79
372
cmplt $14,8,$23
373
bne $23,L.74
374
L.93:
375
cmpeq $14,16,$23
376
bne $23,L.78
377
br L.74
378
L.92:
379
lda $27,128
380
cmpeq $14,$27,$23
381
bne $23,L.76
382
cmplt $14,$27,$23
383
bne $23,L.74
384
L.94:
385
lda $27,248
386
cmpeq $14,$27,$23
387
bne $23,L.83
388
br L.74
389
L.90:
390
lda $27,288
391
cmpeq $14,$27,$23
392
bne $23,L.87
393
cmple $14,$27,$23
394
beq $23,L.96
395
L.95:
396
lda $27,272
397
cmpeq $14,$27,$23
398
bne $23,L.84
399
cmplt $14,$27,$23
400
bne $23,L.74
401
L.97:
402
lda $27,280
403
cmpeq $14,$27,$23
404
bne $23,L.81
405
br L.74
406
L.96:
407
lda $27,304
408
cmpeq $14,$27,$23
409
bne $23,L.85
410
cmple $14,$27,$23
411
beq $23,L.99
412
L.98:
413
lda $27,296
414
cmpeq $14,$27,$23
415
bne $23,L.86
416
br L.74
417
L.99:
418
lda $27,312
419
cmpeq $14,$27,$23
420
bne $23,L.88
421
br L.74
422
L.74:
423
lda $13,1($13)
424
br L.71
425
L.76:
426
lda $16,L.77
427
mov $14,$17
428
jsr $26,printf
429
ldgp $gp,0($26)
430
br L.75
431
L.78:
432
lda $16,L.77
433
mov $14,$17
434
jsr $26,printf
435
ldgp $gp,0($26)
436
br L.75
437
L.79:
438
lda $16,L.77
439
mov $14,$17
440
jsr $26,printf
441
ldgp $gp,0($26)
442
br L.75
443
L.80:
444
lda $16,L.77
445
mov $14,$17
446
jsr $26,printf
447
ldgp $gp,0($26)
448
br L.75
449
L.81:
450
lda $16,L.77
451
mov $14,$17
452
jsr $26,printf
453
ldgp $gp,0($26)
454
br L.75
455
L.82:
456
lda $16,L.77
457
mov $14,$17
458
jsr $26,printf
459
ldgp $gp,0($26)
460
br L.75
461
L.83:
462
lda $16,L.77
463
mov $14,$17
464
jsr $26,printf
465
ldgp $gp,0($26)
466
br L.75
467
L.84:
468
lda $16,L.77
469
mov $14,$17
470
jsr $26,printf
471
ldgp $gp,0($26)
472
br L.75
473
L.85:
474
lda $16,L.77
475
mov $14,$17
476
jsr $26,printf
477
ldgp $gp,0($26)
478
br L.75
479
L.86:
480
lda $16,L.77
481
mov $14,$17
482
jsr $26,printf
483
ldgp $gp,0($26)
484
br L.75
485
L.87:
486
lda $16,L.77
487
mov $14,$17
488
jsr $26,printf
489
ldgp $gp,0($26)
490
br L.75
491
L.88:
492
lda $16,L.77
493
mov $14,$17
494
jsr $26,printf
495
ldgp $gp,0($26)
496
L.75:
497
L.71:
498
lda $14,1($14)
499
lda $27,500
500
cmple $14,$27,$23
501
bne $23,L.70
502
lda $16,L.100
503
mov $13,$17
504
jsr $26,printf
505
ldgp $gp,0($26)
506
mov $31,$0
507
L.68:
508
ldq $13,0($sp)
509
ldq $14,8($sp)
510
ldq $26,16($sp)
511
lda $sp,80($sp)
512
ret
513
.end h
514
.globl big
515
.text
516
.ent big
517
big:
518
ldgp $gp,0($27)
519
lda $sp,-80($sp)
520
.mask 0x4004000,-72
521
.frame $sp,80,$26,48
522
stq $14,0($sp)
523
stq $26,8($sp)
524
stq $16,32($sp)
525
.prologue 1
526
ldl $27,-48+80($sp)
527
zap $27,240,$27
528
and $27,0x6000000,$14
529
lda $25,33554432
530
cmpeq $14,$25,$23
531
bne $23,L.107
532
cmple $14,$25,$23
533
beq $23,L.111
534
L.110:
535
lda $25,-2
536
cmpeq $14,$25,$23
537
bne $23,L.105
538
lda $25,-1
539
cmpeq $14,$25,$23
540
bne $23,L.105
541
cmpeq $14,$31,$23
542
bne $23,L.105
543
br L.102
544
L.111:
545
mov $14,$27
546
lda $25,67108864
547
cmpeq $27,$25,$23
548
bne $23,L.108
549
br L.102
550
L.105:
551
lda $16,L.106
552
ldl $17,-48+80($sp)
553
zap $17,240,$17
554
jsr $26,printf
555
ldgp $gp,0($26)
556
br L.103
557
L.107:
558
lda $16,L.106
559
ldl $17,-48+80($sp)
560
zap $17,240,$17
561
jsr $26,printf
562
ldgp $gp,0($26)
563
br L.103
564
L.108:
565
lda $16,L.106
566
ldl $17,-48+80($sp)
567
zap $17,240,$17
568
jsr $26,printf
569
ldgp $gp,0($26)
570
br L.103
571
L.102:
572
lda $16,L.109
573
ldl $17,-48+80($sp)
574
zap $17,240,$17
575
jsr $26,printf
576
ldgp $gp,0($26)
577
L.103:
578
mov $31,$0
579
L.101:
580
ldq $14,0($sp)
581
ldq $26,8($sp)
582
lda $sp,80($sp)
583
ret
584
.end big
585
.globl limit
586
.text
587
.ent limit
588
limit:
589
ldgp $gp,0($27)
590
lda $sp,-80($sp)
591
.mask 0x4004000,-72
592
.frame $sp,80,$26,48
593
stq $14,0($sp)
594
stq $26,8($sp)
595
.prologue 1
596
lda $14,-2147483648
597
L.113:
598
lda $27,-2147483648
599
cmplt $14,$27,$23
600
bne $23,L.117
601
lda $27,-2147483644
602
cmple $14,$27,$23
603
beq $23,L.117
604
subl $14,-2147483648,$27
605
sll $27,3,$27
606
ldq $27,L.130($27)
607
jmp ($27)
608
.rdata
609
.align 3
610
L.130:
611
.quad L.119
612
.quad L.121
613
.quad L.123
614
.quad L.125
615
.quad L.127
616
.text
617
L.119:
618
lda $16,L.120
619
jsr $26,printf
620
ldgp $gp,0($26)
621
br L.118
622
L.121:
623
lda $16,L.122
624
jsr $26,printf
625
ldgp $gp,0($26)
626
br L.118
627
L.123:
628
lda $16,L.124
629
jsr $26,printf
630
ldgp $gp,0($26)
631
br L.118
632
L.125:
633
lda $16,L.126
634
jsr $26,printf
635
ldgp $gp,0($26)
636
br L.118
637
L.127:
638
lda $16,L.128
639
jsr $26,printf
640
ldgp $gp,0($26)
641
br L.118
642
L.117:
643
lda $16,L.129
644
jsr $26,printf
645
ldgp $gp,0($26)
646
L.118:
647
L.114:
648
lda $14,1($14)
649
lda $27,-2147483643
650
cmple $14,$27,$23
651
bne $23,L.113
652
lda $14,2147483647
653
L.131:
654
lda $27,2147483643
655
cmplt $14,$27,$23
656
bne $23,L.135
657
lda $27,2147483647
658
cmple $14,$27,$23
659
beq $23,L.135
660
subl $14,2147483643,$27
661
sll $27,3,$27
662
ldq $27,L.142($27)
663
jmp ($27)
664
.rdata
665
.align 3
666
L.142:
667
.quad L.141
668
.quad L.140
669
.quad L.139
670
.quad L.138
671
.quad L.137
672
.text
673
L.137:
674
lda $16,L.120
675
jsr $26,printf
676
ldgp $gp,0($26)
677
br L.136
678
L.138:
679
lda $16,L.122
680
jsr $26,printf
681
ldgp $gp,0($26)
682
br L.136
683
L.139:
684
lda $16,L.124
685
jsr $26,printf
686
ldgp $gp,0($26)
687
br L.136
688
L.140:
689
lda $16,L.126
690
jsr $26,printf
691
ldgp $gp,0($26)
692
br L.136
693
L.141:
694
lda $16,L.128
695
jsr $26,printf
696
ldgp $gp,0($26)
697
br L.136
698
L.135:
699
lda $16,L.129
700
jsr $26,printf
701
ldgp $gp,0($26)
702
L.136:
703
L.132:
704
subl $14,1,$14
705
lda $27,2147483642
706
cmplt $14,$27,$23
707
beq $23,L.131
708
mov $31,$0
709
L.112:
710
ldq $14,0($sp)
711
ldq $26,8($sp)
712
lda $sp,80($sp)
713
ret
714
.end limit
715
.rdata
716
.align 0
717
L.129:
718
.byte 53
719
.byte 10
720
.byte 0
721
.align 0
722
L.128:
723
.byte 52
724
.byte 10
725
.byte 0
726
.align 0
727
L.126:
728
.byte 51
729
.byte 10
730
.byte 0
731
.align 0
732
L.124:
733
.byte 50
734
.byte 10
735
.byte 0
736
.align 0
737
L.122:
738
.byte 49
739
.byte 10
740
.byte 0
741
.align 0
742
L.120:
743
.byte 48
744
.byte 10
745
.byte 0
746
.align 0
747
L.109:
748
.byte 120
749
.byte 32
750
.byte 61
751
.byte 32
752
.byte 48
753
.byte 120
754
.byte 37
755
.byte 120
756
.byte 32
757
.byte 40
758
.byte 100
759
.byte 101
760
.byte 102
761
.byte 97
762
.byte 117
763
.byte 108
764
.byte 116
765
.byte 41
766
.byte 10
767
.byte 0
768
.align 0
769
L.106:
770
.byte 120
771
.byte 32
772
.byte 61
773
.byte 32
774
.byte 48
775
.byte 120
776
.byte 37
777
.byte 120
778
.byte 10
779
.byte 0
780
.align 0
781
L.100:
782
.byte 37
783
.byte 100
784
.byte 32
785
.byte 100
786
.byte 101
787
.byte 102
788
.byte 97
789
.byte 117
790
.byte 108
791
.byte 116
792
.byte 115
793
.byte 10
794
.byte 0
795
.align 0
796
L.77:
797
.byte 105
798
.byte 32
799
.byte 61
800
.byte 32
801
.byte 37
802
.byte 100
803
.byte 10
804
.byte 0
805
.align 0
806
L.69:
807
.byte 104
808
.byte 58
809
.byte 10
810
.byte 0
811
.align 0
812
L.62:
813
.byte 54
814
.byte 32
815
.byte 37
816
.byte 100
817
.byte 10
818
.byte 0
819
.align 0
820
L.60:
821
.byte 53
822
.byte 32
823
.byte 37
824
.byte 100
825
.byte 10
826
.byte 0
827
.align 0
828
L.58:
829
.byte 100
830
.byte 32
831
.byte 37
832
.byte 100
833
.byte 10
834
.byte 0
835
.align 0
836
L.57:
837
.byte 51
838
.byte 32
839
.byte 37
840
.byte 100
841
.byte 10
842
.byte 0
843
.align 0
844
L.55:
845
.byte 50
846
.byte 32
847
.byte 37
848
.byte 100
849
.byte 10
850
.byte 0
851
.align 0
852
L.53:
853
.byte 49
854
.byte 32
855
.byte 37
856
.byte 100
857
.byte 10
858
.byte 0
859
.align 0
860
L.45:
861
.byte 103
862
.byte 58
863
.byte 10
864
.byte 0
865
.align 0
866
L.43:
867
.byte 120
868
.byte 32
869
.byte 61
870
.byte 32
871
.byte 37
872
.byte 100
873
.byte 10
874
.byte 0
875
.align 0
876
L.25:
877
.byte 102
878
.byte 58
879
.byte 10
880
.byte 0
881
.align 0
882
L.7:
883
.byte 37
884
.byte 99
885
.byte 32
886
.byte 61
887
.byte 32
888
.byte 48
889
.byte 120
890
.byte 37
891
.byte 120
892
.byte 10
893
.byte 0
894
.align 0
895
L.6:
896
.byte 98
897
.byte 102
898
.byte 110
899
.byte 114
900
.byte 116
901
.byte 118
902
.byte 120
903
.byte 0

powered by: WebSVN 2.1.0

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