OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mep/] [allinsn.s] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
 .data
2
foodata: .word 42
3
 .text
4
footext:
5
        .text
6
        .global sb
7
sb:
8
        sb $7,($fp)
9
        sb $5,($9)
10
        sb $7,($14)
11
        sb $14,($fp)
12
        sb $15,($14)
13
        .text
14
        .global sh
15
sh:
16
        sh $3,($fp)
17
        sh $12,($1)
18
        sh $13,($2)
19
        sh $2,($8)
20
        sh $12,($10)
21
        .text
22
        .global sw
23
sw:
24
        sw $11,($0)
25
        sw $3,($7)
26
        sw $13,($14)
27
        sw $8,($9)
28
        sw $gp,($fp)
29
        .text
30
        .global lb
31
lb:
32
        lb $12,($11)
33
        lb $9,($2)
34
        lb $fp,($11)
35
        lb $gp,($2)
36
        lb $2,($12)
37
        .text
38
        .global lh
39
lh:
40
        lh $15,($8)
41
        lh $3,($10)
42
        lh $9,($sp)
43
        lh $6,($sp)
44
        lh $15,($11)
45
        .text
46
        .global lw
47
lw:
48
        lw $12,($10)
49
        lw $9,($13)
50
        lw $12,($gp)
51
        lw $12,($11)
52
        lw $13,($10)
53
        .text
54
        .global lbu
55
lbu:
56
        lbu $14,($14)
57
        lbu $12,($fp)
58
        lbu $gp,($1)
59
        lbu $fp,($12)
60
        lbu $12,($1)
61
        .text
62
        .global lhu
63
lhu:
64
        lhu $15,($4)
65
        lhu $14,($4)
66
        lhu $5,($4)
67
        lhu $sp,($tp)
68
        lhu $4,($15)
69
        .text
70
        .global sw_sp
71
sw_sp:
72
        sw $9,3($8)
73
        sw $10,4($5)
74
        sw $0,3($gp)
75
        sw $0,2($8)
76
        sw $15,1($8)
77
        .text
78
        .global lw_sp
79
lw_sp:
80
        lw $tp,1($5)
81
        lw $15,1($0)
82
        lw $0,4($12)
83
        lw $11,1($tp)
84
        lw $9,3($4)
85
        .text
86
        .global sb_tp
87
sb_tp:
88
        sb $5,1($1)
89
        sb $10,1($9)
90
        sb $5,3($3)
91
        sb $5,1($3)
92
        sb $10,4($4)
93
        .text
94
        .global sh_tp
95
sh_tp:
96
        sh $3,1($0)
97
        sh $tp,1($9)
98
        sh $9,4($10)
99
        sh $15,3($14)
100
        sh $14,4($9)
101
        .text
102
        .global sw_tp
103
sw_tp:
104
        sw $6,2($13)
105
        sw $6,1($15)
106
        sw $2,2($3)
107
        sw $6,2($12)
108
        sw $3,1($11)
109
        .text
110
        .global lb_tp
111
lb_tp:
112
        lb $tp,4($11)
113
        lb $13,4($8)
114
        lb $5,4($5)
115
        lb $sp,2($gp)
116
        lb $3,2($3)
117
        .text
118
        .global lh_tp
119
lh_tp:
120
        lh $7,2($fp)
121
        lh $4,3($8)
122
        lh $14,1($sp)
123
        lh $9,1($0)
124
        lh $13,2($0)
125
        .text
126
        .global lw_tp
127
lw_tp:
128
        lw $8,4($15)
129
        lw $11,4($9)
130
        lw $gp,1($2)
131
        lw $9,2($14)
132
        lw $8,1($12)
133
        .text
134
        .global lbu_tp
135
lbu_tp:
136
        lbu $12,1($9)
137
        lbu $11,1($9)
138
        lbu $14,3($8)
139
        lbu $0,2($sp)
140
        lbu $13,1($11)
141
        .text
142
        .global lhu_tp
143
lhu_tp:
144
        lhu $14,2($10)
145
        lhu $11,1($8)
146
        lhu $1,1($0)
147
        lhu $7,2($15)
148
        lhu $3,2($tp)
149
        .text
150
        .global sb16
151
sb16:
152
        sb $7,-1($11)
153
        sb $tp,1($gp)
154
        sb $3,1($gp)
155
        sb $14,2($6)
156
        sb $14,1($7)
157
        .text
158
        .global sh16
159
sh16:
160
        sh $12,-1($4)
161
        sh $sp,1($1)
162
        sh $2,-2($12)
163
        sh $9,2($11)
164
        sh $9,-2($12)
165
        .text
166
        .global sw16
167
sw16:
168
        sw $11,-1($gp)
169
        sw $4,4($15)
170
        sw $2,-2($3)
171
        sw $6,-1($2)
172
        sw $fp,-2($tp)
173
        .text
174
        .global lb16
175
lb16:
176
        lb $10,-2($2)
177
        lb $3,-2($11)
178
        lb $12,1($5)
179
        lb $5,1($5)
180
        lb $11,2($13)
181
        .text
182
        .global lh16
183
lh16:
184
        lh $sp,-1($11)
185
        lh $tp,-2($11)
186
        lh $2,1($10)
187
        lh $8,-1($7)
188
        lh $14,-1($11)
189
        .text
190
        .global lw16
191
lw16:
192
        lw $0,-1($5)
193
        lw $12,-2($7)
194
        lw $1,-2($3)
195
        lw $1,2($7)
196
        lw $4,1($fp)
197
        .text
198
        .global lbu16
199
lbu16:
200
        lbu $12,-1($4)
201
        lbu $14,1($11)
202
        lbu $1,-1($13)
203
        lbu $9,-1($tp)
204
        lbu $8,1($15)
205
        .text
206
        .global lhu16
207
lhu16:
208
        lhu $tp,-1($15)
209
        lhu $gp,2($fp)
210
        lhu $15,-1($12)
211
        lhu $3,-1($0)
212
        lhu $3,-2($12)
213
        .text
214
        .global sw24
215
sw24:
216
        sw $11,(4)
217
        sw $sp,(4)
218
        sw $7,(8)
219
        sw $10,(16)
220
        sw $8,(160)
221
        .text
222
        .global lw24
223
lw24:
224
        lw $4,(4)
225
        lw $sp,(4)
226
        lw $4,(16)
227
        lw $fp,(0)
228
        lw $tp,(8)
229
        .text
230
        .global extb
231
extb:
232
        extb $13
233
        extb $tp
234
        extb $6
235
        extb $14
236
        extb $10
237
        .text
238
        .global exth
239
exth:
240
        exth $15
241
        exth $2
242
        exth $5
243
        exth $10
244
        exth $4
245
        .text
246
        .global extub
247
extub:
248
        extub $2
249
        extub $tp
250
        extub $3
251
        extub $9
252
        extub $gp
253
        .text
254
        .global extuh
255
extuh:
256
        extuh $8
257
        extuh $8
258
        extuh $4
259
        extuh $0
260
        extuh $0
261
        .text
262
        .global ssarb
263
ssarb:
264
        ssarb 2($fp)
265
        ssarb 2($13)
266
        ssarb 1($13)
267
        ssarb 2($5)
268
        ssarb 0($9)
269
        .text
270
        .global mov
271
mov:
272
        mov $2,$3
273
        mov $3,$11
274
        mov $15,$10
275
        mov $15,$0
276
        mov $3,$tp
277
        .text
278
        .global movi8
279
movi8:
280
        mov $11,-1
281
        mov $6,2
282
        mov $sp,-1
283
        mov $sp,1
284
        mov $gp,-1
285
        .text
286
        .global movi16
287
movi16:
288
        mov $15,0
289
        mov $0,2
290
        mov $8,-1
291
        mov $12,1
292
        mov $7,-1
293
        .text
294
        .global movu24
295
movu24:
296
        movu $2,1
297
        movu $10,4
298
        movu $9,0
299
        movu $4,3
300
        movu $14,1
301
        .text
302
        .global movu16
303
movu16:
304
        movu $sp,1
305
        movu $6,3
306
        movu $0,3
307
        movu $gp,3
308
        movu $10,2
309
        .text
310
        .global movh
311
movh:
312
        movh $8,2
313
        movh $13,1
314
        movh $gp,2
315
        movh $12,0
316
        movh $11,2
317
        .text
318
        .global add3
319
add3:
320
        add3 $6,$11,$3
321
        add3 $14,$13,$5
322
        add3 $3,$11,$7
323
        add3 $13,$14,$13
324
        add3 $0,$14,$8
325
        .text
326
        .global add
327
add:
328
        add $12,2
329
        add $12,-1
330
        add $4,1
331
        add $6,1
332
        add $6,2
333
        .text
334
        .global add3i
335
add3i:
336
        add3 $11,$sp,4
337
        add3 $4,$sp,1
338
        add3 $0,$sp,0
339
        add3 $13,$sp,3
340
        add3 $11,$sp,0
341
        .text
342
        .global advck3
343
advck3:
344
        advck3 $0,$gp,$10
345
        advck3 $0,$tp,$0
346
        advck3 $0,$gp,$13
347
        advck3 $0,$7,$fp
348
        advck3 $0,$1,$2
349
        .text
350
        .global sub
351
sub:
352
        sub $8,$14
353
        sub $1,$9
354
        sub $13,$7
355
        sub $15,$3
356
        sub $2,$7
357
        .text
358
        .global sbvck3
359
sbvck3:
360
        sbvck3 $0,$3,$gp
361
        sbvck3 $0,$3,$7
362
        sbvck3 $0,$10,$10
363
        sbvck3 $0,$4,$tp
364
        sbvck3 $0,$10,$15
365
        .text
366
        .global neg
367
neg:
368
        neg $14,$7
369
        neg $1,$7
370
        neg $2,$11
371
        neg $13,$fp
372
        neg $14,$13
373
        .text
374
        .global slt3
375
slt3:
376
        slt3 $0,$14,$8
377
        slt3 $0,$4,$13
378
        slt3 $0,$10,$14
379
        slt3 $0,$14,$5
380
        slt3 $0,$3,$12
381
        .text
382
        .global sltu3
383
sltu3:
384
        sltu3 $0,$2,$8
385
        sltu3 $0,$gp,$11
386
        sltu3 $0,$2,$tp
387
        sltu3 $0,$9,$fp
388
        sltu3 $0,$6,$9
389
        .text
390
        .global slt3i
391
slt3i:
392
        slt3 $0,$6,2
393
        slt3 $0,$11,1
394
        slt3 $0,$15,0
395
        slt3 $0,$3,0
396
        slt3 $0,$tp,0
397
        .text
398
        .global sltu3i
399
sltu3i:
400
        sltu3 $0,$14,4
401
        sltu3 $0,$tp,3
402
        sltu3 $0,$3,1
403
        sltu3 $0,$12,0
404
        sltu3 $0,$1,3
405
        .text
406
        .global sl1ad3
407
sl1ad3:
408
        sl1ad3 $0,$fp,$gp
409
        sl1ad3 $0,$4,$2
410
        sl1ad3 $0,$sp,$12
411
        sl1ad3 $0,$9,$1
412
        sl1ad3 $0,$fp,$2
413
        .text
414
        .global sl2ad3
415
sl2ad3:
416
        sl2ad3 $0,$8,$13
417
        sl2ad3 $0,$2,$3
418
        sl2ad3 $0,$8,$9
419
        sl2ad3 $0,$7,$12
420
        sl2ad3 $0,$4,$12
421
        .text
422
        .global add3x
423
add3x:
424
        add3 $tp,$11,1
425
        add3 $tp,$4,-1
426
        add3 $2,$13,1
427
        add3 $3,$gp,1
428
        add3 $10,$15,2
429
        .text
430
        .global slt3x
431
slt3x:
432
        slt3 $fp,$1,-1
433
        slt3 $0,$3,-2
434
        slt3 $9,$15,-1
435
        slt3 $3,$fp,2
436
        slt3 $tp,$14,0
437
        .text
438
        .global sltu3x
439
sltu3x:
440
        sltu3 $15,$11,2
441
        sltu3 $6,$0,1
442
        sltu3 $9,$11,3
443
        sltu3 $0,$4,0
444
        sltu3 $13,$gp,4
445
        .text
446
        .global or
447
or:
448
        or $sp,$gp
449
        or $fp,$3
450
        or $0,$sp
451
        or $tp,$0
452
        or $8,$6
453
        .text
454
        .global and
455
and:
456
        and $15,$sp
457
        and $6,$14
458
        and $4,$2
459
        and $5,$fp
460
        and $7,$14
461
        .text
462
        .global xor
463
xor:
464
        xor $1,$12
465
        xor $12,$tp
466
        xor $10,$8
467
        xor $sp,$11
468
        xor $12,$8
469
        .text
470
        .global nor
471
nor:
472
        nor $9,$5
473
        nor $8,$2
474
        nor $15,$9
475
        nor $5,$sp
476
        nor $sp,$14
477
        .text
478
        .global or3
479
or3:
480
        or3 $13,$sp,2
481
        or3 $sp,$tp,3
482
        or3 $0,$10,4
483
        or3 $9,$15,3
484
        or3 $9,$sp,0
485
        .text
486
        .global and3
487
and3:
488
        and3 $5,$8,1
489
        and3 $11,$gp,3
490
        and3 $6,$0,0
491
        and3 $sp,$sp,0
492
        and3 $1,$10,3
493
        .text
494
        .global xor3
495
xor3:
496
        xor3 $0,$0,2
497
        xor3 $15,$6,0
498
        xor3 $13,$5,0
499
        xor3 $15,$7,0
500
        xor3 $15,$sp,2
501
        .text
502
        .global sra
503
sra:
504
        sra $4,$1
505
        sra $fp,$15
506
        sra $1,$1
507
        sra $0,$5
508
        sra $9,$1
509
        .text
510
        .global srl
511
srl:
512
        srl $2,$11
513
        srl $15,$7
514
        srl $1,$7
515
        srl $3,$13
516
        srl $14,$1
517
        .text
518
        .global sll
519
sll:
520
        sll $11,$0
521
        sll $tp,$fp
522
        sll $8,$9
523
        sll $13,$15
524
        sll $sp,$sp
525
        .text
526
        .global srai
527
srai:
528
        sra $1,2
529
        sra $15,3
530
        sra $sp,3
531
        sra $6,4
532
        sra $sp,3
533
        .text
534
        .global srli
535
srli:
536
        srl $10,0
537
        srl $9,3
538
        srl $6,4
539
        srl $10,2
540
        srl $8,3
541
        .text
542
        .global slli
543
slli:
544
        sll $0,0
545
        sll $4,0
546
        sll $13,2
547
        sll $11,2
548
        sll $6,0
549
        .text
550
        .global sll3
551
sll3:
552
        sll3 $0,$tp,4
553
        sll3 $0,$14,0
554
        sll3 $0,$8,2
555
        sll3 $0,$3,2
556
        sll3 $0,$fp,0
557
        .text
558
        .global fsft
559
fsft:
560
        fsft $gp,$10
561
        fsft $gp,$9
562
        fsft $15,$13
563
        fsft $11,$3
564
        fsft $5,$3
565
        .text
566
        .global bra
567
bra:
568
        bra 2
569
        bra -2
570
        bra 2
571
        bra 0
572
        bra 2
573
        .text
574
        .global beqz
575
beqz:
576
        beqz $1,-2
577
        beqz $sp,2
578
        beqz $4,4
579
        beqz $4,0
580
        beqz $9,-2
581
        .text
582
        .global bnez
583
bnez:
584
        bnez $8,2
585
        bnez $13,2
586
        bnez $gp,0
587
        bnez $6,2
588
        bnez $8,-4
589
        .text
590
        .global beqi
591
beqi:
592
        beqi $tp,3,0
593
        beqi $0,4,-2
594
        beqi $sp,4,-2
595
        beqi $13,2,0
596
        beqi $4,2,-8
597
        .text
598
        .global bnei
599
bnei:
600
        bnei $8,1,0
601
        bnei $5,1,2
602
        bnei $5,0,8
603
        bnei $9,4,-2
604
        bnei $0,4,-8
605
        .text
606
        .global blti
607
blti:
608
        blti $7,3,0
609
        blti $1,1,0
610
        blti $8,2,2
611
        blti $11,2,2
612
        blti $15,3,-2
613
        .text
614
        .global bgei
615
bgei:
616
        bgei $4,3,-8
617
        bgei $7,0,2
618
        bgei $13,1,0
619
        bgei $5,2,-2
620
        bgei $12,4,-8
621
        .text
622
        .global beq
623
beq:
624
        beq $7,$2,-2
625
        beq $1,$3,-8
626
        beq $2,$0,2
627
        beq $sp,$fp,2
628
        beq $3,$0,0
629
        .text
630
        .global bne
631
bne:
632
        bne $6,$3,0
633
        bne $sp,$3,-8
634
        bne $8,$0,2
635
        bne $gp,$sp,8
636
        bne $sp,$4,2
637
        .text
638
        .global bsr12
639
bsr12:
640
        bsr 2
641
        bsr -8
642
        bsr -16
643
        bsr -2
644
        bsr -8
645
        .text
646
        .global bsr24
647
bsr24:
648
        bsr 4
649
        bsr -2
650
        bsr -4
651
        bsr 0
652
        bsr 2
653
        .text
654
        .global jmp
655
jmp:
656
        jmp $2
657
        jmp $tp
658
        jmp $5
659
        jmp $sp
660
        jmp $fp
661
        .text
662
        .global jmp24
663
jmp24:
664
        jmp 4
665
        jmp 2
666
        jmp 0
667
        jmp 2
668
        jmp 4
669
        .text
670
        .global jsr
671
jsr:
672
        jsr $15
673
        jsr $13
674
        jsr $13
675
        jsr $6
676
        jsr $6
677
        .text
678
        .global ret
679
ret:
680
        ret
681
        .text
682
        .global repeat
683
repeat:
684
        repeat $4,2
685
        repeat $fp,4
686
        repeat $0,8
687
        repeat $6,2
688
        repeat $4,2
689
        .text
690
        .global erepeat
691
erepeat:
692
        erepeat 2
693
        erepeat 0
694
        erepeat 2
695
        erepeat -2
696
        erepeat 0
697
        .text
698
        .global stc
699
stc:
700
        stc $13,$mb1
701
        stc $tp,$ccfg
702
        stc $11,$dbg
703
        stc $10,$ccfg
704
        stc $9,$epc
705
        .text
706
        .global ldc
707
ldc:
708
        ldc $tp,$lo
709
        ldc $8,$npc
710
        ldc $9,$mb0
711
        ldc $15,$sar
712
        ldc $9,$ccfg
713
        .text
714
        .global di
715
di:
716
        di
717
        .text
718
        .global ei
719
ei:
720
        ei
721
        .text
722
        .global reti
723
reti:
724
        reti
725
        .text
726
        .global halt
727
halt:
728
        halt
729
        .text
730
        .global swi
731
swi:
732
        swi 2
733
        swi 0
734
        swi 2
735
        swi 3
736
        swi 1
737
        .text
738
        .global break
739
break:
740
        break
741
        .text
742
        .global sycnm
743
syncm:
744
        syncm
745
        .text
746
        .global stcb
747
stcb:
748
        stcb $5,4
749
        stcb $5,1
750
        stcb $gp,0
751
        stcb $15,4
752
        stcb $11,2
753
        .text
754
        .global ldcb
755
ldcb:
756
        ldcb $2,3
757
        ldcb $2,4
758
        ldcb $9,1
759
        ldcb $10,4
760
        ldcb $1,4
761
        .text
762
        .global bsetm
763
bsetm:
764
        bsetm ($10),0
765
        bsetm ($sp),0
766
        bsetm ($1),2
767
        bsetm ($sp),4
768
        bsetm ($8),4
769
        .text
770
        .global bclrm
771
bclrm:
772
        bclrm ($5),0
773
        bclrm ($5),2
774
        bclrm ($8),0
775
        bclrm ($9),2
776
        bclrm ($5),3
777
        .text
778
        .global bnotm
779
bnotm:
780
        bnotm ($14),4
781
        bnotm ($11),4
782
        bnotm ($10),0
783
        bnotm ($tp),4
784
        bnotm ($fp),0
785
        .text
786
        .global btstm
787
btstm:
788
        btstm $0,($14),0
789
        btstm $0,($14),1
790
        btstm $0,($11),0
791
        btstm $0,($14),3
792
        btstm $0,($fp),2
793
        .text
794
        .global tas
795
tas:
796
        tas $7,($tp)
797
        tas $7,($12)
798
        tas $3,($fp)
799
        tas $2,($5)
800
        tas $6,($10)
801
        .text
802
        .global cache
803
cache:
804
        cache 1,($13)
805
        cache 3,($12)
806
        cache 3,($9)
807
        cache 4,($2)
808
        cache 4,($7)
809
        .text
810
        .global mul
811
mul:
812
        mul $8,$14
813
        mul $2,$9
814
        mul $14,$15
815
        mul $9,$7
816
        mul $7,$11
817
        .text
818
        .global mulu
819
mulu:
820
        mulu $2,$5
821
        mulu $6,$gp
822
        mulu $gp,$sp
823
        mulu $11,$14
824
        mulu $3,$9
825
        .text
826
        .global mulr
827
mulr:
828
        mulr $12,$6
829
        mulr $13,$8
830
        mulr $7,$10
831
        mulr $gp,$1
832
        mulr $0,$15
833
        .text
834
        .global mulru
835
mulru:
836
        mulru $4,$2
837
        mulru $14,$1
838
        mulru $15,$4
839
        mulru $10,$6
840
        mulru $0,$gp
841
        .text
842
        .global madd
843
madd:
844
        madd $4,$11
845
        madd $15,$14
846
        madd $14,$sp
847
        madd $4,$tp
848
        madd $1,$gp
849
        .text
850
        .global maddu
851
maddu:
852
        maddu $0,$1
853
        maddu $7,$6
854
        maddu $9,$5
855
        maddu $gp,$15
856
        maddu $7,$13
857
        .text
858
        .global maddr
859
maddr:
860
        maddr $6,$fp
861
        maddr $9,$14
862
        maddr $8,$gp
863
        maddr $3,$2
864
        maddr $1,$11
865
        .text
866
        .global maddru
867
maddru:
868
        maddru $10,$3
869
        maddru $15,$12
870
        maddru $8,$fp
871
        maddru $14,$3
872
        maddru $fp,$15
873
        .text
874
        .global div
875
div:
876
        div $9,$3
877
        div $4,$14
878
        div $2,$12
879
        div $fp,$tp
880
        div $tp,$6
881
        .text
882
        .global divu
883
divu:
884
        divu $9,$5
885
        divu $8,$13
886
        divu $0,$14
887
        divu $9,$5
888
        divu $0,$5
889
        .text
890
        .global dret
891
dret:
892
        dret
893
        .text
894
        .global dbreak
895
dbreak:
896
        dbreak
897
        .text
898
        .global ldz
899
ldz:
900
        ldz $gp,$4
901
        ldz $10,$11
902
        ldz $9,$9
903
        ldz $15,$tp
904
        ldz $gp,$3
905
        .text
906
        .global abs
907
abs:
908
        abs $sp,$9
909
        abs $5,$4
910
        abs $tp,$13
911
        abs $0,$3
912
        abs $3,$14
913
        .text
914
        .global ave
915
ave:
916
        ave $11,$10
917
        ave $fp,$10
918
        ave $14,$2
919
        ave $10,$12
920
        ave $15,$8
921
        .text
922
        .global min
923
min:
924
        min $8,$3
925
        min $7,$0
926
        min $2,$2
927
        min $5,$6
928
        min $11,$5
929
        .text
930
        .global max
931
max:
932
        max $11,$sp
933
        max $gp,$0
934
        max $12,$sp
935
        max $gp,$2
936
        max $14,$sp
937
        .text
938
        .global minu
939
minu:
940
        minu $11,$8
941
        minu $7,$5
942
        minu $fp,$14
943
        minu $11,$4
944
        minu $2,$sp
945
        .text
946
        .global maxu
947
maxu:
948
        maxu $3,$3
949
        maxu $13,$0
950
        maxu $4,$fp
951
        maxu $gp,$2
952
        maxu $12,$fp
953
        .text
954
        .global clip
955
clip:
956
        clip $10,1
957
        clip $15,4
958
        clip $4,3
959
        clip $15,3
960
        clip $1,0
961
        .text
962
        .global clipu
963
clipu:
964
        clipu $10,4
965
        clipu $13,1
966
        clipu $5,4
967
        clipu $14,0
968
        clipu $5,1
969
        .text
970
        .global sadd
971
sadd:
972
        sadd $5,$0
973
        sadd $15,$3
974
        sadd $0,$10
975
        sadd $sp,$12
976
        sadd $4,$2
977
        .text
978
        .global ssub
979
ssub:
980
        ssub $1,$10
981
        ssub $4,$7
982
        ssub $fp,$3
983
        ssub $7,$gp
984
        ssub $13,$4
985
        .text
986
        .global saddu
987
saddu:
988
        saddu $9,$14
989
        saddu $0,$10
990
        saddu $7,$12
991
        saddu $5,$15
992
        saddu $13,$3
993
        .text
994
        .global ssubu
995
ssubu:
996
        ssubu $15,$gp
997
        ssubu $0,$15
998
        ssubu $3,$10
999
        ssubu $sp,$13
1000
        ssubu $2,$9
1001
        .text
1002
        .global swcp
1003
swcp:
1004
        swcp $c3,($13)
1005
        swcp $c15,($13)
1006
        swcp $c13,($0)
1007
        swcp $c12,($12)
1008
        swcp $c9,($gp)
1009
        .text
1010
        .global lwcp
1011
lwcp:
1012
        lwcp $c7,($3)
1013
        lwcp $c6,($3)
1014
        lwcp $c0,($2)
1015
        lwcp $c8,($fp)
1016
        lwcp $c11,($13)
1017
        .text
1018
        .global smcp
1019
smcp:
1020
        smcp $c14,($9)
1021
        smcp $c2,($fp)
1022
        smcp $c14,($15)
1023
        smcp $c10,($8)
1024
        smcp $c2,($8)
1025
        .text
1026
        .global lmcp
1027
lmcp:
1028
        lmcp $c11,($1)
1029
        lmcp $c8,($8)
1030
        lmcp $c11,($13)
1031
        lmcp $c8,($0)
1032
        lmcp $c8,($14)
1033
        .text
1034
        .global swcpi
1035
swcpi:
1036
        swcpi $c7,($0+)
1037
        swcpi $c6,($gp+)
1038
        swcpi $c12,($8+)
1039
        swcpi $c14,($15+)
1040
        swcpi $c6,($0+)
1041
        .text
1042
        .global lwcpi
1043
lwcpi:
1044
        lwcpi $c8,($2+)
1045
        lwcpi $c9,($0+)
1046
        lwcpi $c3,($14+)
1047
        lwcpi $c13,($5+)
1048
        lwcpi $c11,($gp+)
1049
        .text
1050
        .global smcpi
1051
smcpi:
1052
        smcpi $c8,($2+)
1053
        smcpi $c11,($9+)
1054
        smcpi $c4,($3+)
1055
        smcpi $c14,($2+)
1056
        smcpi $c9,($3+)
1057
        .text
1058
        .global lmcpi
1059
lmcpi:
1060
        lmcpi $c6,($14+)
1061
        lmcpi $c9,($5+)
1062
        lmcpi $c10,($6+)
1063
        lmcpi $c1,($6+)
1064
        lmcpi $c2,($8+)
1065
        .text
1066
        .global swcp16
1067
swcp16:
1068
        swcp $c0,-1($2)
1069
        swcp $c5,1($10)
1070
        swcp $c8,2($12)
1071
        swcp $c14,-1($1)
1072
        swcp $c12,2($3)
1073
        .text
1074
        .global lwcp16
1075
lwcp16:
1076
        lwcp $c8,-1($5)
1077
        lwcp $c12,1($15)
1078
        lwcp $c1,2($0)
1079
        lwcp $c4,1($13)
1080
        lwcp $c6,2($11)
1081
        .text
1082
        .global smcp16
1083
smcp16:
1084
        smcp $c9,-1($10)
1085
        smcp $c14,1($gp)
1086
        smcp $c3,2($sp)
1087
        smcp $c15,-2($8)
1088
        smcp $c13,1($13)
1089
        .text
1090
        .global lmcp16
1091
lmcp16:
1092
        lmcp $c0,1($15)
1093
        lmcp $c15,1($fp)
1094
        lmcp $c2,-1($8)
1095
        lmcp $c14,1($fp)
1096
        lmcp $c1,-1($10)
1097
        .text
1098
        .global sbcpa
1099
sbcpa:
1100
        sbcpa $c14,($sp+),2
1101
        sbcpa $c2,($4+),-2
1102
        sbcpa $c8,($1+),0
1103
        sbcpa $c11,($3+),0
1104
        sbcpa $c9,($14+),-2
1105
        .text
1106
        .global lbcpa
1107
lbcpa:
1108
        lbcpa $c7,($2+),-2
1109
        lbcpa $c12,($sp+),2
1110
        lbcpa $c5,($4+),-2
1111
        lbcpa $c7,($4+),-2
1112
        lbcpa $c8,($15+),0
1113
        .text
1114
        .global shcpa
1115
shcpa:
1116
        shcpa $c0,($14+),0
1117
        shcpa $c12,($sp+),16
1118
        shcpa $c1,($4+),4
1119
        shcpa $c5,($4+),-32
1120
        shcpa $c1,($15+),0
1121
        .text
1122
        .global lhcpa
1123
lhcpa:
1124
        lhcpa $c4,($4+),0
1125
        lhcpa $c6,($5+),48
1126
        lhcpa $c3,($6+),-52
1127
        lhcpa $c8,($6+),-24
1128
        lhcpa $c0,($9+),0
1129
        .text
1130
        .global swcpa
1131
swcpa:
1132
        swcpa $c1,($9+),16
1133
        swcpa $c7,($sp+),32
1134
        swcpa $c3,($12+),48
1135
        swcpa $c10,($9+),8
1136
        swcpa $c14,($8+),4
1137
        .text
1138
        .global lwcpa
1139
lwcpa:
1140
        lwcpa $c6,($gp+),-8
1141
        lwcpa $c4,($7+),4
1142
        lwcpa $c11,($gp+),-16
1143
        lwcpa $c10,($sp+),-32
1144
        lwcpa $c2,($2+),8
1145
        .text
1146
        .global smcpa
1147
smcpa:
1148
        smcpa $c13,($15+),-8
1149
        smcpa $c6,($7+),-8
1150
        smcpa $c5,($3+),16
1151
        smcpa $c13,($15+),16
1152
        smcpa $c3,($12+),48
1153
        .text
1154
        .global lmcpa
1155
lmcpa:
1156
        lmcpa $c9,($4+),0
1157
        lmcpa $c3,($sp+),-16
1158
        lmcpa $c15,($13+),8
1159
        lmcpa $c8,($8+),-8
1160
        lmcpa $c10,($9+),0
1161
        .text
1162
        .global sbcpm0
1163
sbcpm0:
1164
        sbcpm0 $c10,($13+),8
1165
        sbcpm0 $c13,($5+),-8
1166
        sbcpm0 $c4,($5+),-8
1167
        sbcpm0 $c10,($tp+),16
1168
        sbcpm0 $c4,($5+),-24
1169
        .text
1170
        .global lbcpm0
1171
lbcpm0:
1172
        lbcpm0 $c0,($4+),0
1173
        lbcpm0 $c9,($7+),-8
1174
        lbcpm0 $c12,($fp+),24
1175
        lbcpm0 $c8,($12+),16
1176
        lbcpm0 $c7,($fp+),16
1177
        .text
1178
        .global shcpm0
1179
shcpm0:
1180
        shcpm0 $c2,($13+),2
1181
        shcpm0 $c7,($15+),-2
1182
        shcpm0 $c8,($2+),2
1183
        shcpm0 $c13,($5+),0
1184
        shcpm0 $c3,($14+),8
1185
        .text
1186
        .global lhcpm0
1187
lhcpm0:
1188
        lhcpm0 $c7,($4+),8
1189
        lhcpm0 $c3,($3+),-2
1190
        lhcpm0 $c3,($1+),0
1191
        lhcpm0 $c2,($gp+),0
1192
        lhcpm0 $c12,($6+),2
1193
        .text
1194
        .global swcpm0
1195
swcpm0:
1196
        swcpm0 $c8,($fp+),32
1197
        swcpm0 $c9,($sp+),0
1198
        swcpm0 $c9,($2+),-16
1199
        swcpm0 $c0,($14+),48
1200
        swcpm0 $c15,($1+),8
1201
        .text
1202
        .global lwcpm0
1203
lwcpm0:
1204
        lwcpm0 $c14,($10+),-4
1205
        lwcpm0 $c11,($sp+),-4
1206
        lwcpm0 $c5,($7+),-8
1207
        lwcpm0 $c2,($12+),32
1208
        lwcpm0 $c2,($gp+),16
1209
        .text
1210
        .global smcpm0
1211
smcpm0:
1212
        smcpm0 $c1,($12+),8
1213
        smcpm0 $c8,($4+),-16
1214
        smcpm0 $c10,($11+),0
1215
        smcpm0 $c1,($3+),-16
1216
        smcpm0 $c11,($sp+),-8
1217
        .text
1218
        .global lmcpm0
1219
lmcpm0:
1220
        lmcpm0 $c14,($10+),0
1221
        lmcpm0 $c6,($15+),-16
1222
        lmcpm0 $c13,($1+),8
1223
        lmcpm0 $c10,($tp+),-24
1224
        lmcpm0 $c7,($14+),-24
1225
        .text
1226
        .global sbcpm1
1227
sbcpm1:
1228
        sbcpm1 $c9,($fp+),0
1229
        sbcpm1 $c7,($12+),-24
1230
        sbcpm1 $c15,($5+),-24
1231
        sbcpm1 $c5,($tp+),16
1232
        sbcpm1 $c6,($1+),-128
1233
        .text
1234
        .global lbcpm1
1235
lbcpm1:
1236
        lbcpm1 $c6,($gp+),2
1237
        lbcpm1 $c7,($tp+),-2
1238
        lbcpm1 $c4,($13+),1
1239
        lbcpm1 $c12,($2+),-2
1240
        lbcpm1 $c11,($7+),1
1241
        .text
1242
        .global shcpm1
1243
shcpm1:
1244
        shcpm1 $c4,($fp+),24
1245
        shcpm1 $c11,($6+),-16
1246
        shcpm1 $c7,($8+),8
1247
        shcpm1 $c5,($12+),16
1248
        shcpm1 $c0,($8+),-32
1249
        .text
1250
        .global lhcpm1
1251
lhcpm1:
1252
        lhcpm1 $c11,($0+),0
1253
        lhcpm1 $c7,($tp+),-2
1254
        lhcpm1 $c10,($8+),8
1255
        lhcpm1 $c3,($tp+),0
1256
        lhcpm1 $c9,($6+),2
1257
        .text
1258
        .global swcpm1
1259
swcpm1:
1260
        swcpm1 $c9,($8+),24
1261
        swcpm1 $c9,($14+),0
1262
        swcpm1 $c9,($fp+),16
1263
        swcpm1 $c14,($1+),0
1264
        swcpm1 $c2,($sp+),8
1265
        .text
1266
        .global lwcpm1
1267
lwcpm1:
1268
        lwcpm1 $c8,($fp+),0
1269
        lwcpm1 $c3,($14+),-16
1270
        lwcpm1 $c7,($6+),-8
1271
        lwcpm1 $c14,($fp+),-24
1272
        lwcpm1 $c3,($fp+),24
1273
        .text
1274
        .global smcpm1
1275
smcpm1:
1276
        smcpm1 $c10,($4+),0
1277
        smcpm1 $c6,($sp+),-16
1278
        smcpm1 $c13,($7+),-24
1279
        smcpm1 $c3,($gp+),-8
1280
        smcpm1 $c0,($2+),8
1281
        .text
1282
        .global lmcpm1
1283
lmcpm1:
1284
        lmcpm1 $c12,($1+),0
1285
        lmcpm1 $c0,($6+),8
1286
        lmcpm1 $c6,($2+),-8
1287
        lmcpm1 $c12,($gp+),-16
1288
        lmcpm1 $c14,($15+),48
1289
/*
1290
        .text
1291
        .global cmov1
1292
cmov1:
1293
        cmov $c11,$10
1294
        cmov $c14,$3
1295
        cmov $c3,$15
1296
        cmov $c6,$5
1297
        cmov $c6,$10
1298
        .text
1299
        .global cmov2
1300
cmov2:
1301
        cmov $11,$c2
1302
        cmov $10,$c2
1303
        cmov $tp,$c10
1304
        cmov $12,$c9
1305
        cmov $15,$c3
1306
        .text
1307
        .global cmovc1
1308
cmovc1:
1309
        cmovc $ccr9,$sp
1310
        cmovc $ccr12,$fp
1311
        cmovc $ccr1,$4
1312
        cmovc $ccr11,$sp
1313
        cmovc $ccr14,$7
1314
        .text
1315
        .global cmovc2
1316
cmovc2:
1317
        cmovc $fp,$ccr6
1318
        cmovc $fp,$ccr6
1319
        cmovc $7,$ccr8
1320
        cmovc $sp,$ccr12
1321
        cmovc $sp,$ccr5
1322
        .text
1323
        .global cmovh1
1324
cmovh1:
1325
        cmovh $c8,$1
1326
        cmovh $c12,$sp
1327
        cmovh $c11,$5
1328
        cmovh $c4,$4
1329
        cmovh $c3,$gp
1330
        .text
1331
        .global cmovh2
1332
cmovh2:
1333
        cmovh $4,$c7
1334
        cmovh $gp,$c8
1335
        cmovh $6,$c10
1336
        cmovh $2,$c8
1337
        cmovh $10,$c4
1338
*/
1339
        .text
1340
        .global bcpeq
1341
bcpeq:
1342
        bcpeq 4,0
1343
        bcpeq 0,-2
1344
        bcpeq 4,-2
1345
        bcpeq 1,2
1346
        bcpeq 2,2
1347
        .text
1348
        .global bcpne
1349
bcpne:
1350
        bcpne 2,0
1351
        bcpne 4,0
1352
        bcpne 1,0
1353
        bcpne 4,0
1354
        bcpne 1,2
1355
        .text
1356
        .global bcpat
1357
bcpat:
1358
        bcpat 1,-2
1359
        bcpat 0,2
1360
        bcpat 0,-2
1361
        bcpat 2,0
1362
        bcpat 1,-2
1363
        .text
1364
        .global bcpaf
1365
bcpaf:
1366
        bcpaf 4,0
1367
        bcpaf 3,0
1368
        bcpaf 4,0
1369
        bcpaf 1,2
1370
        bcpaf 4,2
1371
        .text
1372
        .global synccp
1373
synccp:
1374
        synccp
1375
        .text
1376
        .global jsrv
1377
jsrv:
1378
        jsrv $11
1379
        jsrv $5
1380
        jsrv $10
1381
        jsrv $12
1382
        jsrv $10
1383
        .text
1384
        .global bsrv
1385
bsrv:
1386
        bsrv -2
1387
        bsrv -2
1388
        bsrv -2
1389
        bsrv 2
1390
        bsrv 0
1391
        .text
1392
        .global case106341
1393
case106341:
1394
        stc $10,7
1395
        ldc $0, (4 + 4)
1396
case106821:
1397
        /* Actual 16 bit form */
1398
        sb      $0,($0)
1399
        sh      $0,($0)
1400
        sw      $0,($0)
1401
        lb      $0,($0)
1402
        lh      $0,($0)
1403
        lw      $0,($0)
1404
        lbu     $0,($0)
1405
        lhu     $0,($0)
1406
        /* Should use 16 bit form */
1407
        sb      $0,0($0)
1408
        sb      $0,%lo(0)($0)
1409
        sb      $0,%hi(0)($0)
1410
        sb      $0,%uhi(0)($0)
1411
        sb      $0,%sdaoff(0)($0)
1412
        sb      $0,%tpoff(0)($0)
1413
        sh      $0,0($0)
1414
        sh      $0,%lo(0)($0)
1415
        sh      $0,%hi(0)($0)
1416
        sh      $0,%uhi(0)($0)
1417
        sh      $0,%sdaoff(0)($0)
1418
        sh      $0,%tpoff(0)($0)
1419
        sw      $0,0($0)
1420
        sw      $0,%lo(0)($0)
1421
        sw      $0,%hi(0)($0)
1422
        sw      $0,%uhi(0)($0)
1423
        sw      $0,%sdaoff(0)($0)
1424
        sw      $0,%tpoff(0)($0)
1425
        lb      $0,0($0)
1426
        lb      $0,%lo(0)($0)
1427
        lb      $0,%hi(0)($0)
1428
        lb      $0,%uhi(0)($0)
1429
        lb      $0,%sdaoff(0)($0)
1430
        lb      $0,%tpoff(0)($0)
1431
        lh      $0,0($0)
1432
        lh      $0,%lo(0)($0)
1433
        lh      $0,%hi(0)($0)
1434
        lh      $0,%uhi(0)($0)
1435
        lh      $0,%sdaoff(0)($0)
1436
        lh      $0,%tpoff(0)($0)
1437
        lw      $0,0($0)
1438
        lw      $0,%lo(0)($0)
1439
        lw      $0,%hi(0)($0)
1440
        lw      $0,%uhi(0)($0)
1441
        lw      $0,%sdaoff(0)($0)
1442
        lw      $0,%tpoff(0)($0)
1443
        lbu     $0,0($0)
1444
        lbu     $0,%lo(0)($0)
1445
        lbu     $0,%hi(0)($0)
1446
        lbu     $0,%uhi(0)($0)
1447
        lbu     $0,%sdaoff(0)($0)
1448
        lbu     $0,%tpoff(0)($0)
1449
        lhu     $0,0($0)
1450
        lhu     $0,%lo(0)($0)
1451
        lhu     $0,%hi(0)($0)
1452
        lhu     $0,%uhi(0)($0)
1453
        lhu     $0,%sdaoff(0)($0)
1454
        lhu     $0,%tpoff(0)($0)
1455
        /* Should use 32 bit form */
1456
        sb      $0,1($0)
1457
        sb      $0,%lo(1)($0)
1458
        sb      $0,%hi(1)($0)
1459
        sb      $0,%uhi(1)($0)
1460
        sb      $0,%sdaoff(1)($0)
1461
        sb      $0,%tpoff(1)($0)
1462
        sh      $0,1($0)
1463
        sh      $0,%lo(1)($0)
1464
        sh      $0,%hi(1)($0)
1465
        sh      $0,%uhi(1)($0)
1466
        sh      $0,%sdaoff(1)($0)
1467
        sh      $0,%tpoff(1)($0)
1468
        sw      $0,1($0)
1469
        sw      $0,%lo(1)($0)
1470
        sw      $0,%hi(1)($0)
1471
        sw      $0,%uhi(1)($0)
1472
        sw      $0,%sdaoff(1)($0)
1473
        sw      $0,%tpoff(1)($0)
1474
        lb      $0,1($0)
1475
        lb      $0,%lo(1)($0)
1476
        lb      $0,%hi(1)($0)
1477
        lb      $0,%uhi(1)($0)
1478
        lb      $0,%sdaoff(1)($0)
1479
        lb      $0,%tpoff(1)($0)
1480
        lh      $0,1($0)
1481
        lh      $0,%lo(1)($0)
1482
        lh      $0,%hi(1)($0)
1483
        lh      $0,%uhi(1)($0)
1484
        lh      $0,%sdaoff(1)($0)
1485
        lh      $0,%tpoff(1)($0)
1486
        lw      $0,1($0)
1487
        lw      $0,%lo(1)($0)
1488
        lw      $0,%hi(1)($0)
1489
        lw      $0,%uhi(1)($0)
1490
        lw      $0,%sdaoff(1)($0)
1491
        lw      $0,%tpoff(1)($0)
1492
        lbu     $0,1($0)
1493
        lbu     $0,%lo(1)($0)
1494
        lbu     $0,%hi(1)($0)
1495
        lbu     $0,%uhi(1)($0)
1496
        lbu     $0,%sdaoff(1)($0)
1497
        lbu     $0,%tpoff(1)($0)
1498
        lhu     $0,1($0)
1499
        lhu     $0,%lo(1)($0)
1500
        lhu     $0,%hi(1)($0)
1501
        lhu     $0,%uhi(1)($0)
1502
        lhu     $0,%sdaoff(1)($0)
1503
        lhu     $0,%tpoff(1)($0)
1504
        /* Should use 32 bit form */
1505
        sb      $0,case106821($0)
1506
        sb      $0,%lo(case106821)($0)
1507
        sb      $0,%hi(case106821)($0)
1508
        sb      $0,%uhi(case106821)($0)
1509
        sh      $0,case106821($0)
1510
        sh      $0,%lo(case106821)($0)
1511
        sh      $0,%hi(case106821)($0)
1512
        sh      $0,%uhi(case106821)($0)
1513
        sw      $0,case106821($0)
1514
        sw      $0,%lo(case106821)($0)
1515
        sw      $0,%hi(case106821)($0)
1516
        sw      $0,%uhi(case106821)($0)
1517
        lb      $0,case106821($0)
1518
        lb      $0,%lo(case106821)($0)
1519
        lb      $0,%hi(case106821)($0)
1520
        lb      $0,%uhi(case106821)($0)
1521
        lh      $0,case106821($0)
1522
        lh      $0,%lo(case106821)($0)
1523
        lh      $0,%hi(case106821)($0)
1524
        lh      $0,%uhi(case106821)($0)
1525
        lw      $0,case106821($0)
1526
        lw      $0,%lo(case106821)($0)
1527
        lw      $0,%hi(case106821)($0)
1528
        lw      $0,%uhi(case106821)($0)
1529
        lbu     $0,case106821($0)
1530
        lbu     $0,%lo(case106821)($0)
1531
        lbu     $0,%hi(case106821)($0)
1532
        lbu     $0,%uhi(case106821)($0)
1533
        lhu     $0,case106821($0)
1534
        lhu     $0,%lo(case106821)($0)
1535
        lhu     $0,%hi(case106821)($0)
1536
        lhu     $0,%uhi(case106821)($0)

powered by: WebSVN 2.1.0

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