Power10 Copy/Paste Extensions
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / armv8-ar-bad.s
CommitLineData
59d09be6
MGD
1 .syntax unified
2 .text
59d09be6
MGD
3
4 // SWP
5 .arm
6 swp r0, r1, [r2]
dcbd0d71
MGD
7
8 // deprecated MCRs
9 mcr p15, 0, r0, c7, c5, 4
10 mcr p15, 0, r1, c7, c10, 4
11 mcr p15, 0, r2, c7, c10, 5
12 mrc p14, 6, r1, c0, c0, 0
13 mrc p14, 6, r0, c1, c0, 0
12e37cbc
MGD
14
15 // deprecated SETEND
16 setend be
17
18 .thumb
19 setend le
8884b720
MGD
20
21 // HLT A32
22 .arm
23 hlt 0x10000
24 hltne 0x1
25
26 // HLT T32
27 .thumb
28 hlt 64
29 it ne
30 hltne 0
9eb6c0f1 31
4b8c8c02 32 // STL A32
9eb6c0f1 33 .arm
4b8c8c02
RE
34 stlb pc, [r0]
35 stlb r0, [pc]
36 stlh pc, [r0]
37 stlh r0, [pc]
38 stl pc, [r0]
39 stl r0, [pc]
40 stlexb r1, pc, [r0]
41 stlexb r1, r0, [pc]
42 stlexb pc, r0, [r1]
43 stlexb r0, r0, [r1]
44 stlexb r0, r1, [r0]
45 stlexh r1, pc, [r0]
46 stlexh r1, r0, [pc]
47 stlexh pc, r0, [r1]
48 stlexh r0, r0, [r1]
49 stlexh r0, r1, [r0]
50 stlex r1, pc, [r0]
51 stlex r1, r0, [pc]
52 stlex pc, r0, [r1]
53 stlex r0, r0, [r1]
54 stlex r0, r1, [r0]
55 stlexd r1, lr, [r0]
56 stlexd r1, r0, [pc]
57 stlexd pc, r0, [r1]
58 stlexd r0, r0, [r1]
59 stlexd r0, r2, [r0]
60 stlexd r0, r1, [r2]
9eb6c0f1 61
4b8c8c02 62 // STL T32
9eb6c0f1 63 .thumb
4b8c8c02
RE
64 stlb pc, [r0]
65 stlb r0, [pc]
66 stlh pc, [r0]
67 stlh r0, [pc]
68 stl pc, [r0]
69 stl r0, [pc]
70 stlexb r1, pc, [r0]
71 stlexb r1, r0, [pc]
72 stlexb pc, r0, [r1]
73 stlexb r0, r0, [r1]
74 stlexb r0, r1, [r0]
75 stlexh r1, pc, [r0]
76 stlexh r1, r0, [pc]
77 stlexh pc, r0, [r1]
78 stlexh r0, r0, [r1]
79 stlexh r0, r1, [r0]
80 stlex r1, pc, [r0]
81 stlex r1, r0, [pc]
82 stlex pc, r0, [r1]
83 stlex r0, r0, [r1]
84 stlex r0, r1, [r0]
85 stlexd r1, lr, [r0]
86 stlexd r1, r0, [pc]
87 stlexd pc, r0, [r1]
88 stlexd r0, r0, [r1]
89 stlexd r0, r2, [r0]
90 stlexd r0, r1, [r2]
9eb6c0f1 91
4b8c8c02 92 // LDA A32
9eb6c0f1 93 .arm
4b8c8c02
RE
94 ldab pc, [r0]
95 ldab r0, [pc]
96 ldah pc, [r0]
97 ldah r0, [pc]
98 lda pc, [r0]
99 lda r0, [pc]
100 ldaexb pc, [r0]
101 ldaexb r0, [pc]
102 ldaexh pc, [r0]
103 ldaexh r0, [pc]
104 ldaex pc, [r0]
105 ldaex r0, [pc]
106 ldaexd lr, [r0]
107 ldaexd r0, [pc]
108 ldaexd r1, [r2]
9eb6c0f1 109
4b8c8c02 110 // LDA T32
9eb6c0f1 111 .thumb
4b8c8c02
RE
112 ldab pc, [r0]
113 ldab r0, [pc]
114 ldah pc, [r0]
115 ldah r0, [pc]
116 lda pc, [r0]
117 lda r0, [pc]
118 ldaexb pc, [r0]
119 ldaexb r0, [pc]
120 ldaexh pc, [r0]
121 ldaexh r0, [pc]
122 ldaex pc, [r0]
123 ldaex r0, [pc]
124 ldaexd r0, pc, [r0]
125 ldaexd pc, r0, [r0]
126 ldaexd r1, r0, [pc]
This page took 0.699825 seconds and 4 git commands to generate.