1 # Instructions that are available for the current ISA but should be rejected by
2 # the assembler (e.g. invalid set of operands or operand's restrictions not met).
4 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -mcpu=mips64r6 2>%t1
5 # RUN: FileCheck %s < %t1
11 align $
4, $
2, $
3, -1 # CHECK: :[[@LINE]]:29: error: expected 2-bit unsigned immediate
12 align $
4, $
2, $
3, 4 # CHECK: :[[@LINE]]:29: error: expected 2-bit unsigned immediate
13 aui $
4, $
4, 65536 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
14 aui $
4, $
4, -1 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
15 jalr.hb $
31 # CHECK: :[[@LINE]]:9: error: source and destination must be different
16 jalr.hb $
31, $
31 # CHECK: :[[@LINE]]:9: error: source and destination must be different
17 ldc2 $
8,-21181($at
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
18 break
-1 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
19 break
1024 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
20 break
-1, 5 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
21 break
1024, 5 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
22 break
7, -1 # CHECK: :[[@LINE]]:18: error: expected 10-bit unsigned immediate
23 break
7, 1024 # CHECK: :[[@LINE]]:18: error: expected 10-bit unsigned immediate
24 break
1024, 1024 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
25 dati $
2, $
3, 1 # CHECK: :[[@LINE]]:9: error: source and destination must match
26 dext $
2, $
3, -1, 1 # CHECK: :[[@LINE]]:22: error: expected 6-bit unsigned immediate
27 dext $
2, $
3, 64, 1 # CHECK: :[[@LINE]]:22: error: expected 6-bit unsigned immediate
28 dext $
2, $
3, 1, 0 # CHECK: :[[@LINE]]:25: error: expected immediate in range 1 .. 32
29 dext $
2, $
3, 32, 33 # CHECK: :[[@LINE]]:26: error: expected immediate in range 1 .. 32
30 dextm $
2, $
3, -1, 1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
31 dextm $
2, $
3, 32, 1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
32 dextm $
2, $
3, -1, 33 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
33 dextm $
2, $
3, 32, 33 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
34 dextm $
2, $
3, 1, 32 # CHECK: :[[@LINE]]:26: error: expected immediate in range 33 .. 64
35 dextm $
2, $
3, 1, 65 # CHECK: :[[@LINE]]:26: error: expected immediate in range 33 .. 64
36 dextm $
3, $
4, 31, 34 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: size plus position are not in the range 33 .. 64
37 dextu $
2, $
3, 31, 1 # CHECK: :[[@LINE]]:23: error: expected immediate in range 32 .. 63
38 dextu $
2, $
3, 64, 1 # CHECK: :[[@LINE]]:23: error: expected immediate in range 32 .. 63
39 dextu $
2, $
3, 32, 0 # CHECK: :[[@LINE]]:27: error: expected immediate in range 1 .. 32
40 dextu $
2, $
3, 32, 33 # CHECK: :[[@LINE]]:27: error: expected immediate in range 1 .. 32
41 dextu $
3, $
4, 33, 32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: size plus position are not in the range 33 .. 64
42 dins $
2, $
3, -1, 1 # CHECK: :[[@LINE]]:22: error: expected 6-bit unsigned immediate
43 dins $
2, $
3, 64, 1 # CHECK: :[[@LINE]]:22: error: expected 6-bit unsigned immediate
44 dins $
2, $
3, 1, -1 # CHECK: :[[@LINE]]:25: error: expected immediate in range 1 .. 32
45 dinsm $
2, $
3, -1, 1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
46 dinsm $
2, $
3, 32, 1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
47 dinsm $
2, $
3, 0, 1 # CHECK: :[[@LINE]]:26: error: expected immediate in range 2 .. 64
48 dinsm $
2, $
3, 0, 65 # CHECK: :[[@LINE]]:26: error: expected immediate in range 2 .. 64
49 dinsm $
4, $
5, 31, 34 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: size plus position are not in the range 33 .. 64
50 dinsu $
2, $
3, 31, 1 # CHECK: :[[@LINE]]:23: error: expected immediate in range 32 .. 63
51 dinsu $
2, $
3, 64, 1 # CHECK: :[[@LINE]]:23: error: expected immediate in range 32 .. 63
52 dinsu $
2, $
3, 32, 0 # CHECK: :[[@LINE]]:27: error: expected immediate in range 1 .. 32
53 dinsu $
2, $
3, 32, 33 # CHECK: :[[@LINE]]:27: error: expected immediate in range 1 .. 32
54 dinsu $
4, $
5, 33, 32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: size plus position are not in the range 33 .. 64
55 lh $
33, 8($
4) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
56 lhe $
34, 8($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
57 lhu $
35, 8($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
58 lhue $
36, 8($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
59 lh $
2, 8($
34) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
60 lhe $
4, 8($
33) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
61 lhu $
4, 8($
35) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
62 lhue $
4, 8($
37) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
63 lhe $
4, -512($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
64 lhe $
4, 512($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
65 lhue $
4, -512($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
66 lhue $
4, 512($
2) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
67 // FIXME
: Following tests are temporarily disabled
, until
"PredicateControl not in hierarchy" problem is resolved
68 bltl $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
69 bltul $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
70 blel $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
71 bleul $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
72 bgel $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
73 bgeul $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
74 bgtl $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
75 bgtul $
7, $
8, local_label
# -CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
76 beqc $
0, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
77 bnec $
0, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
78 bgec $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
79 bltc $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
80 bgeuc $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
81 bltuc $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
82 beqc $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
83 bnec $
2, $
2, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: registers must be different
84 blezc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
85 bgezc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
86 bgtzc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
87 bltzc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
88 beqzc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
89 bnezc $
0, local_label
# CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand ($zero) for instruction
90 bgec $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
91 bgec $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
92 bgec $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
93 bgec $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
94 bltc $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
95 bltc $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
96 bltc $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
97 bltc $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
98 bgeuc $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
99 bgeuc $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
100 bgeuc $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
101 bgeuc $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
102 bltuc $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
103 bltuc $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
104 bltuc $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
105 bltuc $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
106 beqc $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
107 beqc $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
108 beqc $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
109 beqc $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
110 bnec $
2, $
4, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
111 bnec $
2, $
4, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
112 bnec $
2, $
4, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
113 bnec $
2, $
4, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
114 blezc $
2, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
115 blezc $
2, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
116 blezc $
2, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
117 blezc $
2, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
118 bgezc $
2, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
119 bgezc $
2, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
120 bgezc $
2, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
121 bgezc $
2, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
122 bgtzc $
2, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
123 bgtzc $
2, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
124 bgtzc $
2, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
125 bgtzc $
2, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
126 bltzc $
2, -131076 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
127 bltzc $
2, -131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
128 bltzc $
2, 131072 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
129 bltzc $
2, 131071 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
130 beqzc $
2, -4194308 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
131 beqzc $
2, -4194303 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
132 beqzc $
2, 4194304 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
133 beqzc $
2, 4194303 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
134 bnezc $
2, -4194308 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
135 bnezc $
2, -4194303 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
136 bnezc $
2, 4194304 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
137 bnezc $
2, 4194303 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
138 cache
-1, 255($
7) # CHECK: :[[@LINE]]:15: error: expected 5-bit unsigned immediate
139 cache
32, 255($
7) # CHECK: :[[@LINE]]:15: error: expected 5-bit unsigned immediate
140 dahi $
4, $
4, 65536 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
141 dahi $
4, $
4, -1 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
142 dahi $
4, $
5, 1 # CHECK: :[[@LINE]]:9: error: source and destination must match
143 dalign $
4, $
2, $
3, -1 # CHECK: :[[@LINE]]:29: error: expected 3-bit unsigned immediate
144 dalign $
4, $
2, $
3, 8 # CHECK: :[[@LINE]]:29: error: expected 3-bit unsigned immediate
145 dati $
4, $
4, 65536 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
146 dati $
4, $
4, -1 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
147 dati $
4, $
5, 1 # CHECK: :[[@LINE]]:9: error: source and destination must match
148 daui $
4, $
0, 1 # CHECK: :[[@LINE]]:9: error: invalid operand ($zero) for instruction
149 daui $
4, $
4, 65536 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
150 daui $
4, $
4, -1 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
151 dati $
4, $
4, -1 # CHECK: :[[@LINE]]:25: error: expected 16-bit unsigned immediate
152 dati $
4, $
5, 1 # CHECK: :[[@LINE]]:9: error: source and destination must match
153 dlsa $
2, $
3, $
4, 0 # CHECK: :[[@LINE]]:29: error: expected immediate in range 1 .. 4
154 dlsa $
2, $
3, $
4, 5 # CHECK: :[[@LINE]]:29: error: expected immediate in range 1 .. 4
155 drotr32 $
2, $
3, -1 # CHECK: :[[@LINE]]:25: error: expected 5-bit unsigned immediate
156 drotr32 $
2, $
3, 32 # CHECK: :[[@LINE]]:25: error: expected 5-bit unsigned immediate
157 dvp $
17, $
3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
158 dvp $
17, 3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
159 dvp
3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
160 evp $
16, $
3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
161 evp $
16, 3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
162 evp
3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
163 jalr.hb $
31 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: source and destination must be different
164 jalr.hb $
31, $
31 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: source and destination must be different
165 lapc $
7, 1048576 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected both 19-bit signed immediate and multiple of 4
166 lapc $
6, -1048580 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected both 19-bit signed immediate and multiple of 4
167 lapc $
3, 3 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected both 19-bit signed immediate and multiple of 4
168 lapc $
3, -1 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected both 19-bit signed immediate and multiple of 4
169 lsa $
2, $
3, $
4, 0 # CHECK: :[[@LINE]]:29: error: expected immediate in range 1 .. 4
170 lsa $
2, $
3, $
4, 5 # CHECK: :[[@LINE]]:29: error: expected immediate in range 1 .. 4
171 pref
-1, 255($
7) # CHECK: :[[@LINE]]:14: error: expected 5-bit unsigned immediate
172 pref
32, 255($
7) # CHECK: :[[@LINE]]:14: error: expected 5-bit unsigned immediate
173 dmtc0 $
4, $
3, -1 # CHECK: :[[@LINE]]:24: error: expected 3-bit unsigned immediate
174 dmtc0 $
4, $
3, 8 # CHECK: :[[@LINE]]:24: error: expected 3-bit unsigned immediate
175 dmfc0 $
4, $
3, -1 # CHECK: :[[@LINE]]:24: error: expected 3-bit unsigned immediate
176 dmfc0 $
4, $
3, 8 # CHECK: :[[@LINE]]:24: error: expected 3-bit unsigned immediate
177 ld $
32, 65536($
32) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
178 lld $
32, 4096($
32) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
179 sd $
32, 65536($
32) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
180 dsrl $
2, $
4, 64 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected 6-bit unsigned immediate
181 dsrl $
2, $
4, -2 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected 6-bit unsigned immediate
182 dsrl $
32, $
32, 32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
183 dsrl32 $
2, $
4, 32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected 5-bit unsigned immediate
184 dsrl32 $
32, $
32, 32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
185 dsrlv $
2, $
4, 2 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
186 dsrlv $
32, $
32, $
32 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid register number
187 lb $
32, 8($
5) # CHECK: :[[@LINE]]:12: error: invalid register number
188 lb $
4, 8($
32) # CHECK: :[[@LINE]]:18: error: invalid register number
189 lbu $
32, 8($
5) # CHECK: :[[@LINE]]:13: error: invalid register number
190 lbu $
4, 8($
32) # CHECK: :[[@LINE]]:19: error: invalid register number
191 ldc1 $f32
, 300($
10) # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
192 ldc1 $
f7, -32769($
10) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
193 ldc1 $
f7, 32768($
10) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
194 ldc1 $
f7, 300($
32) # CHECK: :[[@LINE]]:23: error: invalid register number
195 sdc1 $f32
, 64($
10) # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
196 sdc1 $
f7, -32769($
10) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
197 sdc1 $
f7, 32768($
10) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
198 sdc1 $
f7, 64($
32) # CHECK: :[[@LINE]]:22: error: invalid register number
199 lwc1 $f32
, 32($
5) # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
200 lwc1 $
f2, -32769($
5) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
201 lwc1 $
f2, 32768($
5) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
202 lwc1 $
f2, 32($
32) # CHECK: :[[@LINE]]:22: error: invalid register number
203 swc1 $f32
, 369($
13) # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
204 swc1 $
f6, -32769($
13) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
205 swc1 $
f6, 32768($
13) # CHECK: :[[@LINE]]:19: error: expected memory with 16-bit signed offset
206 swc1 $
f6, 369($
32) # CHECK: :[[@LINE]]:23: error: invalid register number
207 ldc2 $
32, 1023($
12) # CHECK: :[[@LINE]]:14: error: invalid register number
208 ldc2 $
11, -1025($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
209 ldc2 $
11, 1024($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
210 sdc2 $
32, 8($
16) # CHECK: :[[@LINE]]:14: error: invalid register number
211 sdc2 $
11, -1025($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
212 sdc2 $
11, 1024($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
213 lwc2 $
32, 16($
4) # CHECK: :[[@LINE]]:14: error: invalid register number
214 lwc2 $
11, -1025($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
215 lwc2 $
11, 1024($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
216 swc2 $
32, 777($
17) # CHECK: :[[@LINE]]:14: error: invalid register number
217 swc2 $
11, -1025($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
218 swc2 $
11, 1024($
12) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled