Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / sh / sh2a.s
1         .text
2
3 # New instructions
4
5         band.b  #7,@(4095,r3)
6
7         bandnot.b       #7,@(4095,r3)
8
9         bclr.b  #7,@(4095,r3)
10         bclr    #7,r3
11
12         bld.b   #7,@(4095,r3)
13         bld     #7,r3
14
15         bldnot.b        #7,@(4095,r3)
16
17         bor.b   #7,@(4095,r3)
18
19         bornot.b        #7,@(4095,r3)
20
21         bset.b  #7,@(4095,r3)
22         bset    #7,r3
23
24         bst.b   #7,@(4095,r3)
25         bst     #7,r3
26
27         bxor.b  #7,@(4095,r3)
28
29         clips.b r3
30         clips.w r3
31         clipu.b r3
32         clipu.w r3
33
34         divs    r0,r3
35         divu    r0,r3
36
37         fmov.s  fr3,@(4095*4,r3)
38         fmov.d  dr2,@(4095*8,r3)
39         fmov.s  @(4095*4,r3),fr3
40         fmov.d  @(4095*8,r3),dr2
41
42         jsr/n   @r3
43         jsr/n   @@(255*4,tbr)
44
45         ldbank  @r3,r0
46
47         ldc     r3,tbr
48
49         mov.b   r3,@(4095,r4)
50         mov.w   r3,@(4095*2,r4)
51         mov.l   r3,@(4095*4,r4)
52         mov.b   @(4095,r4),r5
53         mov.w   @(4095*2,r4),r5
54         mov.l   @(4095*4,r4),r5
55
56         mov.b   r0,@r3+
57         mov.w   r0,@r3+
58         mov.l   r0,@r3+
59         mov.b   @-r3,r0
60         mov.w   @-r3,r0
61         mov.l   @-r3,r0
62
63         movi20  #524287,r3
64         movi20  #-524288,r3
65         movi20s #524287*256,r3
66         movi20s #-524288*256,r3
67
68         movml.l r3,@-r15
69         movml.l @r15+,r3
70
71         movmu.l r3,@-r15
72         movmu.l @r15+,r3
73
74         movrt   r3
75
76         movu.b  @(4095,r3),r4
77         movu.w  @(4095*2,r3),r4
78
79         mulr    r0,r4
80
81         nott
82
83         pref    @r5
84
85         resbank
86
87         rts/n
88
89         rtv/n   r3
90
91         shad    r3,r4
92         shld    r3,r4
93
94         stbank  r0,@r5
95
96         stc     tbr,r4