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