1 # RUN: llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext,+mve -show-encoding -disassemble < %s 2> %t | FileCheck --check-prefix=CHECK %s
2 # RUN: FileCheck --check-prefix=STDERR < %t %s
4 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
5 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
8 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
9 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
12 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
13 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
16 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
17 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
20 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
21 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
24 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
25 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
28 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
29 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
32 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
33 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
36 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
37 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
40 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
41 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
44 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
45 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
48 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
49 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
52 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
53 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
56 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
57 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
60 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
61 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
64 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
65 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
68 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
69 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
72 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
73 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
76 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
77 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
80 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
81 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
84 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
85 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
88 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
89 # CHECK: vmsr fpscr, r0 @ encoding: [0xe1,0xee,0x10,0x0a]
92 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
93 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
96 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
97 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
100 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
101 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
102 [0xf1,0xee,0x13,0x0a]
104 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
105 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
106 [0xf1,0xee,0x14,0x0a]
108 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
109 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
110 [0xf1,0xee,0x15,0x0a]
112 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
113 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
114 [0xf1,0xee,0x16,0x0a]
116 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
117 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
118 [0xf1,0xee,0x17,0x0a]
120 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
121 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
122 [0xf1,0xee,0x18,0x0a]
124 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
125 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
126 [0xf1,0xee,0x19,0x0a]
128 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
129 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
130 [0xf1,0xee,0x1a,0x0a]
132 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
133 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
134 [0xf1,0xee,0x1b,0x0a]
136 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
137 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
138 [0xf1,0xee,0x1c,0x0a]
140 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
141 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
142 [0xf1,0xee,0x1d,0x0a]
144 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
145 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
146 [0xf1,0xee,0x1e,0x0a]
148 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
149 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
150 [0xf1,0xee,0x1f,0x0a]
152 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
153 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
154 [0xf1,0xee,0x30,0x0a]
156 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
157 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
158 [0xf1,0xee,0x50,0x0a]
160 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
161 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
162 [0xf1,0xee,0x70,0x0a]
164 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
165 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
166 [0xf1,0xee,0x90,0x0a]
168 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
169 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
170 [0xf1,0xee,0xb0,0x0a]
172 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
173 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
174 [0xf1,0xee,0xd0,0x0a]
176 # STDERR: [[@LINE+2]]:2: warning: potentially undefined instruction encoding
177 # CHECK: vmrs r0, fpscr @ encoding: [0xf1,0xee,0x10,0x0a]
178 [0xf1,0xee,0xf0,0x0a]