Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / iq2000 / allinsn.s
1  .data
2 foodata: .word 42
3  .text
4 footext:
5         .text
6         .global add
7 add:
8         add %0,%0,%0
9         .text
10         .global addi
11 addi:
12         addi %0,%0,-4
13         .text
14         .global addiu
15 addiu:
16         addiu %0,%0,4
17         .text
18         .global addu
19 addu:
20         addu %0,%0,%0
21         .text
22         .global ado16
23 ado16:
24         ado16 %0,%0,%0
25         .text
26         .global and
27 and:
28         and %0,%0,%0
29         .text
30         .global andi
31 andi:
32         andi %0,%0,0xdead
33         .text
34         .global andoi
35 andoi:
36         andoi %0,%0,0
37         .text
38         .global andoui
39 andoui:
40         andoui %0,%0,0
41         .text
42         .global mrgb
43 mrgb:
44         mrgb %0,%0,%0,0
45         .text
46         .global nor
47 nor:
48         nor %0,%0,%0
49         .text
50         .global or
51 or:
52         or %0,%0,%0
53         .text
54         .global ori
55 ori:
56         ori %0,%0,-1
57         .text
58         .global orui
59 orui:
60         orui %0,%0,0
61         .text
62         .global ram
63 ram:
64         ram %0,%0,0,0,0
65         .text
66         .global sll
67 sll:
68         sll %0,%0,0
69         .text
70         .global sllv
71 sllv:
72         sllv %0,%0,%0
73         .text
74         .global slmv
75 slmv:
76         slmv %0,%0,%0,0
77         .text
78         .global slt
79 slt:
80         slt %0,%0,%0
81         .text
82         .global slti
83 slti:
84         slti %0,%0,0
85         .text
86         .global sltiu
87 sltiu:
88         sltiu %0,%0,0
89         .text
90         .global sltu
91 sltu:
92         sltu %0,%0,%0
93         .text
94         .global sra
95 sra:
96         sra %0,%0,0
97         .text
98         .global srav
99 srav:
100         srav %0,%0,%0
101         .text
102         .global srl
103 srl:
104         srl %0,%0,0
105         .text
106         .global srlv
107 srlv:
108         srlv %0,%0,%0
109         .text
110         .global srmv
111 srmv:
112         srmv %0,%0,%0,0
113         .text
114         .global sub
115 sub:
116         sub %0,%0,%0
117         .text
118         .global subu
119 subu:
120         subu %0,%0,%0
121         .text
122         .global xor
123 xor:
124         xor %0,%0,%0
125         .text
126         .global xori
127 xori:
128         xori %0,%0,0
129         .text
130         .global bbi
131 bbi:
132         bbi %0(0),footext
133         .text
134         .global bbin
135 bbin:
136         bbin %0(0),footext
137         .text
138         .global bbv
139 bbv:
140         bbv %0,%0,footext
141         .text
142         .global bbvn
143 bbvn:
144         bbvn %0,%0,footext
145         .text
146         .global beq
147 beq:
148         beq %0,%0,footext
149         .text
150         .global beql
151 beql:
152         beql %0,%0,footext
153         .text
154         .global bgez
155 bgez:
156         bgez %0,footext
157         .text
158         .global bgezal
159 bgezal:
160         bgezal %0,footext
161         .text
162         .global bgezall
163 bgezall:
164         bgezall %0,footext
165         .text
166         .global bgezl
167 bgezl:
168         bgezl %0,footext
169         .text
170         .global bgtz
171 bgtz:
172         bgtz %0,footext
173         .text
174         .global bgtzl
175 bgtzl:
176         bgtzl %0,footext
177         .text
178         .global blez
179 blez:
180         blez %0,footext
181         .text
182         .global blezl
183 blezl:
184         blezl %0,footext
185         .text
186         .global bltz
187 bltz:
188         bltz %0,footext
189         .text
190         .global bltzl
191 bltzl:
192         bltzl %0,footext
193         .text
194         .global bltzal
195 bltzal:
196         bltzal %0,footext
197         .text
198         .global bltzall
199 bltzall:
200         bltzall %0,footext
201         .text
202         .global bmb
203 bmb:
204         bmb %0,%0,footext
205         .text
206         .global bmb0
207 bmb0:
208         bmb0 %0,%0,footext
209         .text
210         .global bmb1
211 bmb1:
212         bmb1 %0,%0,footext
213         .text
214         .global bmb2
215 bmb2:
216         bmb2 %0,%0,footext
217         .text
218         .global bmb3
219 bmb3:
220         bmb3 %0,%0,footext
221         .text
222         .global bne
223 bne:
224         bne %0,%0,footext
225         .text
226         .global bnel
227 bnel:
228         bnel %0,%0,footext
229         .text
230         .global bctxt
231 bctxt:
232         bctxt %0,footext
233         .text
234         .global bc0f
235 bc0f:
236         bc0f footext
237         .text
238         .global bc0fl
239 bc0fl:
240         bc0fl footext
241         .text
242         .global bc3f
243 bc3f:
244         bc3f footext
245         .text
246         .global bc3fl
247 bc3fl:
248         bc3fl footext
249         .text
250         .global bc0t
251 bc0t:
252         bc0t footext
253         .text
254         .global bc0tl
255 bc0tl:
256         bc0tl footext
257         .text
258         .global bc3t
259 bc3t:
260         bc3t footext
261         .text
262         .global bc3tl
263 bc3tl:
264         bc3tl footext
265         .text
266         .global break
267 break:
268         break
269         .text
270         .global cfc0
271 cfc0:
272         cfc0 %0,%0
273         .text
274         .global cfc1
275 cfc1:
276         cfc1 %0,%0
277         .text
278         .global cfc2
279 cfc2:
280         cfc2 %0,%0
281         .text
282         .global cfc3
283 cfc3:
284         cfc3 %0,%0
285         .text
286         .global chkhdr
287 chkhdr:
288         chkhdr %0,%0
289         .text
290         .global ctc0
291 ctc0:
292         ctc0 %0,%0
293         .text
294         .global ctc1
295 ctc1:
296         ctc1 %0,%0
297         .text
298         .global ctc2
299 ctc2:
300         ctc2 %0,%0
301         .text
302         .global ctc3
303 ctc3:
304         ctc3 %0,%0
305         .text
306         .global jcr
307 jcr:
308         jcr %0
309         .text
310         .global luc32
311         nop
312 luc32:
313         # insert a nop here to pacify the assembler (luc32 may not follow jcr).
314         luc32 %0,%0
315         .text
316         .global luc32l
317 luc32l:
318         luc32l %0,%0
319         .text
320         .global luc64
321 luc64:
322         luc64 %0,%0
323         .text
324         .global luc64l
325 luc64l:
326         luc64l %0,%0
327         .text
328         .global luk
329 luk:
330         luk %0,%0
331         .text
332         .global lulck
333 lulck:
334         lulck %0
335         .text
336         .global lum32
337 lum32:
338         lum32 %0,%0
339         .text
340         .global lum32l
341 lum32l:
342         lum32l %0,%0
343         .text
344         .global lum64
345 lum64:
346         lum64 %0,%0
347         .text
348         .global lum64l
349 lum64l:
350         lum64l %0,%0
351         .text
352         .global lur
353 lur:
354         lur %0,%0
355         .text
356         .global lurl
357 lurl:
358         lurl %0,%0
359         .text
360         .global luulck
361 luulck:
362         luulck %0
363         .text
364         .global mfc0
365 mfc0:
366         mfc0 %0,%0
367         .text
368         .global mfc1
369 mfc1:
370         mfc1 %0,%0
371         .text
372         .global mfc2
373 mfc2:
374         mfc2 %0,%0
375         .text
376         .global mfc3
377 mfc3:
378         mfc3 %0,%0
379         .text
380         .global mtc0
381 mtc0:
382         mtc0 %0,%0
383         .text
384         .global mtc1
385 mtc1:
386         mtc1 %0,%0
387         .text
388         .global mtc2
389 mtc2:
390         mtc2 %0,%0
391         .text
392         .global mtc3
393 mtc3:
394         mtc3 %0,%0
395         .text
396         .global rb
397 rb:
398         rb %0,%0
399         .text
400         .global rbr1
401 rbr1:
402         rbr1 %0,0,0
403         .text
404         .global rbr30
405 rbr30:
406         rbr30 %0,0,0
407         .text
408         .global rfe
409 rfe:
410         rfe
411         .text
412         .global rx
413 rx:
414         rx %0,%0
415         .text
416         .global rxr1
417 rxr1:
418         rxr1 %0,0,0
419         .text
420         .global rxr30
421 rxr30:
422         rxr30 %0,0,0
423         .text
424         .global sleep
425 sleep:
426         sleep
427         .text
428         .global srrd
429 srrd:
430         srrd %0
431         .text
432         .global srrdl
433 srrdl:
434         srrdl %0
435         .text
436         .global srulck
437 srulck:
438         srulck %0
439         .text
440         .global srwr
441 srwr:
442         srwr %0,%0
443         .text
444         .global srwru
445 srwru:
446         srwru %0,%0
447         .text
448         .global syscall
449 syscall:
450         syscall
451         .text
452         .global trapqfl
453 trapqfl:
454         trapqfl
455         .text
456         .global trapqne
457 trapqne:
458         trapqne
459         .text
460         .global wb
461 wb:
462         wb %0,%0
463         .text
464         .global wbu
465 wbu:
466         wbu %0,%0
467         .text
468         .global wbr1
469 wbr1:
470         wbr1 %3,0,0
471         .text
472         .global wbr1u
473 wbr1u:
474         wbr1u %0,0,0
475         .text
476         .global wbr30
477 wbr30:
478         wbr30 %0,0,0
479         .text
480         .global wbr30u
481 wbr30u:
482         wbr30u %0,0,0
483         .text
484         .global wx
485 wx:
486         wx %0,%0
487         .text
488         .global wxu
489 wxu:
490         wxu %0,%0
491         .text
492         .global wxr1
493 wxr1:
494         wxr1 %0,0,0
495         .text
496         .global wxr1u
497 wxr1u:
498         wxr1u %0,0,0
499         .text
500         .global wxr30
501 wxr30:
502         wxr30 %0,0,0
503         .text
504         .global wxr30u
505 wxr30u:
506         wxr30u %0,0,0
507         .text
508         .global j
509 j:
510         j footext
511         .text
512         .global jal
513 jal:
514         jal footext
515         .text
516         .global jalr
517 jalr:
518         jalr %0,%0
519         .text
520         .global jr
521 jr:
522         jr %0
523         .text
524         .global lb
525 lb:
526         lb %0,0x1024(%0)
527         .text
528         .global lbu
529 lbu:
530         lbu %0,0x1024(%0)
531         .text
532         .global ldw
533 ldw:
534         ldw %0,0x1024(%0)
535         .text
536         .global lh
537 lh:
538         lh %0,0x1024(%0)
539         .text
540         .global lhu
541 lhu:
542         lhu %0,0x1024(%0)
543         .text
544         .global lui
545 lui:
546         lui %0,-1
547         .text
548         .global lw
549 lw:
550         lw %0,0x1024(%0)
551         .text
552         .global sb
553 sb:
554         sb %0,0x1024(%0)
555         .text
556         .global sdw
557 sdw:
558         sdw %0,0x1024(%0)
559         .text
560         .global sh
561 sh:
562         sh %0,0x1024(%0)
563         .text
564         .global sw
565 sw:
566         sw %0,0x1024(%0)
567         .text
568         .global traprel
569 traprel:
570         traprel %0
571         .text
572         .global pkrl
573 pkrl:
574         pkrl %0,%1
575         .text
576         .global pkrlr1
577 pkrlr1:
578         pkrlr1 %0,0,0
579         .text
580         .global pkrlr30
581 pkrlr30:
582         pkrlr30 %0,0,0