Commit | Line | Data |
---|---|---|
65263ce3 TS |
1 | # source file to test assembly of MIPS DSP ASE for MIPS64 instructions |
2 | ||
3 | .set noreorder | |
4 | .set nomacro | |
5 | .set noat | |
6 | ||
7 | .text | |
8 | text_label: | |
9 | ||
10 | absq_s.pw $0,$1 | |
11 | absq_s.qh $30,$31 | |
12 | addq.pw $5,$6,$7 | |
13 | addq_s.pw $6,$7,$8 | |
14 | addq.qh $2,$3,$4 | |
15 | addq_s.qh $3,$4,$5 | |
16 | addu.ob $9,$10,$11 | |
17 | addu_s.ob $10,$11,$12 | |
18 | bposge64 text_label | |
19 | nop | |
20 | cmp.eq.pw $20,$21 | |
21 | cmp.lt.pw $21,$22 | |
22 | cmp.le.pw $22,$23 | |
23 | cmp.eq.qh $17,$18 | |
24 | cmp.lt.qh $18,$19 | |
25 | cmp.le.qh $19,$20 | |
26 | cmpu.eq.ob $14,$15 | |
27 | cmpu.lt.ob $15,$16 | |
28 | cmpu.le.ob $16,$17 | |
29 | cmpgu.eq.ob $8,$9,$10 | |
30 | cmpgu.lt.ob $9,$10,$11 | |
31 | cmpgu.le.ob $10,$11,$12 | |
32 | dextpdp $31,$ac3,0 | |
33 | dextpdp $31,$ac3,1 | |
34 | dextpdp $31,$ac3,31 | |
35 | dextpdpv $0,$ac0,$1 | |
36 | dextp $29,$ac1,0 | |
37 | dextp $29,$ac1,1 | |
38 | dextp $29,$ac1,31 | |
39 | dextpv $30,$ac2,$31 | |
40 | dextr.l $3,$ac3,0 | |
41 | dextr.l $3,$ac3,1 | |
42 | dextr.l $3,$ac3,31 | |
43 | dextr_r.l $4,$ac0,0 | |
44 | dextr_r.l $4,$ac0,1 | |
45 | dextr_r.l $4,$ac0,31 | |
46 | dextr_rs.l $5,$ac1,0 | |
47 | dextr_rs.l $5,$ac1,1 | |
48 | dextr_rs.l $5,$ac1,31 | |
49 | dextr_r.w $1,$ac1,0 | |
50 | dextr_r.w $1,$ac1,1 | |
51 | dextr_r.w $1,$ac1,31 | |
52 | dextr_rs.w $2,$ac2,0 | |
53 | dextr_rs.w $2,$ac2,1 | |
54 | dextr_rs.w $2,$ac2,31 | |
55 | dextr_s.h $2,$ac2,0 | |
56 | dextr_s.h $2,$ac2,1 | |
57 | dextr_s.h $2,$ac2,31 | |
58 | dextr.w $0,$ac0,0 | |
59 | dextr.w $0,$ac0,1 | |
60 | dextr.w $0,$ac0,31 | |
61 | dextrv.w $11,$ac3,$12 | |
62 | dextrv_r.w $12,$ac0,$13 | |
63 | dextrv_rs.w $13,$ac1,$14 | |
64 | dextrv.l $14,$ac2,$15 | |
65 | dextrv_r.l $15,$ac3,$16 | |
66 | dextrv_rs.l $16,$ac0,$17 | |
67 | dinsv $26,$27 | |
68 | dmadd $ac1,$20,$21 | |
69 | dmaddu $ac2,$21,$22 | |
70 | dmsub $ac3,$22,$23 | |
71 | dmsubu $ac0,$23,$24 | |
72 | dmthlip $4,$ac2 | |
73 | dpaq_sa.l.pw $ac1,$0,$1 | |
74 | dpaq_s.w.qh $ac2,$21,$22 | |
75 | dpau.h.obl $ac0,$15,$16 | |
76 | dpau.h.obr $ac1,$16,$17 | |
77 | dpsq_sa.l.pw $ac0,$3,$4 | |
78 | dpsq_s.w.qh $ac1,$24,$25 | |
79 | dpsu.h.obl $ac2,$17,$18 | |
80 | dpsu.h.obr $ac3,$18,$19 | |
81 | dshilo $ac3,-64 | |
82 | dshilo $ac3,63 | |
83 | dshilov $ac0,$2 | |
84 | ldx $16,$17($18) | |
85 | maq_sa.w.qhll $ac3,$10,$11 | |
86 | maq_sa.w.qhlr $ac0,$11,$12 | |
87 | maq_sa.w.qhrl $ac1,$12,$13 | |
88 | maq_sa.w.qhrr $ac2,$13,$14 | |
89 | maq_s.l.pwl $ac1,$16,$17 | |
90 | maq_s.l.pwr $ac2,$17,$18 | |
91 | maq_s.w.qhll $ac3,$10,$11 | |
92 | maq_s.w.qhlr $ac0,$11,$12 | |
93 | maq_s.w.qhrl $ac1,$12,$13 | |
94 | maq_s.w.qhrr $ac2,$13,$14 | |
95 | muleq_s.pw.qhl $11,$12,$13 | |
96 | muleq_s.pw.qhr $12,$13,$14 | |
97 | muleu_s.qh.obl $4,$5,$6 | |
98 | muleu_s.qh.obr $5,$6,$7 | |
99 | mulq_rs.ph $6,$7,$8 | |
100 | mulq_rs.qh $8,$9,$10 | |
101 | mulsaq_s.w.qh $ac0,$27,$28 | |
102 | mulsaq_s.l.pw $ac2,$29,$30 | |
103 | packrl.pw $28,$29,$30 | |
104 | pick.ob $25,$26,$27 | |
105 | pick.qh $26,$27,$28 | |
106 | pick.pw $27,$28,$29 | |
107 | preceq.pw.qhl $14,$15 | |
108 | preceq.pw.qhr $15,$16 | |
109 | preceq.pw.qhla $16,$17 | |
110 | preceq.pw.qhra $17,$18 | |
111 | preceq.s.l.pwl $18,$19 | |
112 | preceq.s.l.pwr $19,$20 | |
113 | precequ.pw.qhl $24,$25 | |
114 | precequ.pw.qhr $25,$26 | |
115 | precequ.pw.qhla $26,$27 | |
116 | precequ.pw.qhra $27,$28 | |
117 | preceu.qh.obl $28,$29 | |
118 | preceu.qh.obr $29,$30 | |
119 | preceu.qh.obla $30,$31 | |
120 | preceu.qh.obra $31,$0 | |
121 | precrq.ob.qh $4,$5,$6 | |
122 | precrq.pw.l $7,$8,$9 | |
123 | precrq.qh.pw $5,$6,$7 | |
124 | precrq_rs.qh.pw $6,$7,$8 | |
125 | precrqu_s.ob.qh $9,$10,$11 | |
126 | raddu.l.ob $26,$27 | |
127 | repl.ob $29,0 | |
128 | repl.ob $29,255 | |
129 | replv.ob $30,$31 | |
130 | repl.qh $1,-512 | |
131 | repl.qh $1,511 | |
132 | replv.qh $2,$3 | |
133 | repl.pw $3,-512 | |
134 | repl.pw $3,511 | |
135 | replv.pw $4,$5 | |
136 | shll.ob $2,$3,0 | |
137 | shll.ob $2,$3,7 | |
138 | shllv.ob $3,$4,$5 | |
139 | shll.qh $8,$9,0 | |
140 | shll.qh $8,$9,15 | |
141 | shllv.qh $9,$10,$11 | |
142 | shll_s.qh $10,$11,0 | |
143 | shll_s.qh $10,$11,15 | |
144 | shllv_s.qh $11,$12,$13 | |
145 | shll.pw $14,$15,0 | |
146 | shll.pw $14,$15,31 | |
147 | shllv.pw $15,$16,$17 | |
148 | shll_s.pw $16,$17,0 | |
149 | shll_s.pw $16,$17,31 | |
150 | shllv_s.pw $17,$18,$19 | |
151 | shra.qh $28,$29,0 | |
152 | shra.qh $28,$29,15 | |
153 | shrav.qh $29,$30,$31 | |
154 | shra_r.qh $30,$31,0 | |
155 | shra_r.qh $30,$31,15 | |
156 | shrav_r.qh $31,$0,$1 | |
157 | shra.pw $0,$1,0 | |
158 | shra.pw $0,$1,31 | |
159 | shrav.pw $1,$2,$3 | |
160 | shra_r.pw $2,$3,0 | |
161 | shra_r.pw $2,$3,31 | |
162 | shrav_r.pw $3,$4,$5 | |
163 | shrl.ob $20,$21,0 | |
164 | shrl.ob $20,$21,7 | |
165 | shrlv.ob $21,$22,$23 | |
166 | subq.qh $16,$17,$18 | |
167 | subq_s.qh $17,$18,$19 | |
168 | subq.pw $18,$19,$20 | |
169 | subq_s.pw $19,$20,$21 | |
170 | subu.ob $20,$21,$22 | |
171 | subu_s.ob $21,$22,$23 | |
172 | ||
173 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
174 | .space 8 |