|
2 | 2 | # RUN: | FileCheck %s --check-prefixes=CHECK-ERROR
|
3 | 3 |
|
4 | 4 | cv.lb t0, (0), 0
|
5 |
| -# CHECK-ERROR: operands must be register and register |
| 5 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
6 | 6 |
|
7 | 7 | cv.lb 0, (t1), 0
|
8 |
| -# CHECK-ERROR: invalid operand for instruction |
| 8 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
9 | 9 |
|
10 | 10 | cv.lb 0, (0), t2
|
11 |
| -# CHECK-ERROR: invalid operand for instruction |
| 11 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
12 | 12 |
|
13 | 13 | cv.lb t0, (t1), -2049
|
14 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 14 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
15 | 15 |
|
16 | 16 | cv.lb t0, (t1), 2048
|
17 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 17 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
18 | 18 |
|
19 | 19 | cv.lb t0, (0), t1
|
20 |
| -# CHECK-ERROR: operands must be register and register |
| 20 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
21 | 21 |
|
22 | 22 | cv.lb 0, (t1), t1
|
23 |
| -# CHECK-ERROR: invalid operand for instruction |
| 23 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
24 | 24 |
|
25 | 25 | cv.lb t0
|
26 |
| -# CHECK-ERROR: too few operands for instruction |
| 26 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
27 | 27 |
|
28 | 28 | cv.lb t0, (t2)
|
29 |
| -# CHECK-ERROR: too few operands for instruction |
| 29 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
30 | 30 |
|
31 | 31 | cv.lb t0, (t1), t2, t3
|
32 |
| -# CHECK-ERROR: invalid operand for instruction |
| 32 | +# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction |
33 | 33 |
|
34 | 34 | cv.lbu t0, (0), 0
|
35 |
| -# CHECK-ERROR: operands must be register and register |
| 35 | +# CHECK-ERROR: :[[@LINE-1]]:12: error: operands must be register and register |
36 | 36 |
|
37 | 37 | cv.lbu 0, (t1), 0
|
38 |
| -# CHECK-ERROR: invalid operand for instruction |
| 38 | +# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction |
39 | 39 |
|
40 | 40 | cv.lbu 0, (0), t0
|
41 |
| -# CHECK-ERROR: invalid operand for instruction |
| 41 | +# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction |
42 | 42 |
|
43 | 43 | cv.lbu t0, (t1), -2049
|
44 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 44 | +# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
45 | 45 |
|
46 | 46 | cv.lbu t0, (t1), 2048
|
47 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 47 | +# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
48 | 48 |
|
49 | 49 | cv.lbu t0, (0), t1
|
50 |
| -# CHECK-ERROR: operands must be register and register |
| 50 | +# CHECK-ERROR: :[[@LINE-1]]:12: error: operands must be register and register |
51 | 51 |
|
52 | 52 | cv.lbu 0, (t1), t1
|
53 |
| -# CHECK-ERROR: invalid operand for instruction |
| 53 | +# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction |
54 | 54 |
|
55 | 55 | cv.lbu t0
|
56 |
| -# CHECK-ERROR: too few operands for instruction |
| 56 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
57 | 57 |
|
58 | 58 | cv.lbu t0, (t2)
|
59 |
| -# CHECK-ERROR: too few operands for instruction |
| 59 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
60 | 60 |
|
61 | 61 | cv.lbu t0, (t1), t2, t3
|
62 |
| -# CHECK-ERROR: invalid operand for instruction |
| 62 | +# CHECK-ERROR: :[[@LINE-1]]:22: error: invalid operand for instruction |
63 | 63 |
|
64 | 64 | cv.lh t0, (0), 0
|
65 |
| -# CHECK-ERROR: operands must be register and register |
| 65 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
66 | 66 |
|
67 | 67 | cv.lh 0, (t1), 0
|
68 |
| -# CHECK-ERROR: invalid operand for instruction |
| 68 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
69 | 69 |
|
70 | 70 | cv.lh 0, (0), t2
|
71 |
| -# CHECK-ERROR: invalid operand for instruction |
| 71 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
72 | 72 |
|
73 | 73 | cv.lh t0, (t1), -2049
|
74 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 74 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
75 | 75 |
|
76 | 76 | cv.lh t0, (t1), 2048
|
77 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 77 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
78 | 78 |
|
79 | 79 | cv.lh t0, (0), t1
|
80 |
| -# CHECK-ERROR: operands must be register and register |
| 80 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
81 | 81 |
|
82 | 82 | cv.lh t0, t1(0)
|
83 |
| -# CHECK-ERROR: expected register |
| 83 | +# CHECK-ERROR: :[[@LINE-1]]:14: error: expected register |
84 | 84 |
|
85 | 85 | cv.lh 0, (t1), t1
|
86 |
| -# CHECK-ERROR: invalid operand for instruction |
| 86 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
87 | 87 |
|
88 | 88 | cv.lh t0
|
89 |
| -# CHECK-ERROR: too few operands for instruction |
| 89 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
90 | 90 |
|
91 | 91 | cv.lh t0, (t1)
|
92 |
| -# CHECK-ERROR: too few operands for instruction |
| 92 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
93 | 93 |
|
94 | 94 | cv.lh t0, (t1), t2, t3
|
95 |
| -# CHECK-ERROR: invalid operand for instruction |
| 95 | +# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction |
96 | 96 |
|
97 | 97 | cv.lhu t0, (0), 0
|
98 |
| -# CHECK-ERROR: operands must be register and register |
| 98 | +# CHECK-ERROR: :[[@LINE-1]]:12: error: operands must be register and register |
99 | 99 |
|
100 | 100 | cv.lhu 0, (t1), 0
|
101 |
| -# CHECK-ERROR: invalid operand for instruction |
| 101 | +# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction |
102 | 102 |
|
103 | 103 | cv.lhu 0, 0(t1)
|
104 |
| -# CHECK-ERROR: invalid operand for instruction |
| 104 | +# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction |
105 | 105 |
|
106 | 106 | cv.lhu t0, (t1), -2049
|
107 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 107 | +# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
108 | 108 |
|
109 | 109 | cv.lhu t0, (t1), 2048
|
110 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 110 | +# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
111 | 111 |
|
112 | 112 | cv.lhu t0, (0), t1
|
113 |
| -# CHECK-ERROR: operands must be register and register |
| 113 | +# CHECK-ERROR: :[[@LINE-1]]:12: error: operands must be register and register |
114 | 114 |
|
115 | 115 | cv.lhu t0, t1(0)
|
116 |
| -# CHECK-ERROR: expected register |
| 116 | +# CHECK-ERROR: :[[@LINE-1]]:15: error: expected register |
117 | 117 |
|
118 | 118 | cv.lhu 0, t0, t1
|
119 |
| -# CHECK-ERROR: expected '(' or invalid operand |
| 119 | +# CHECK-ERROR: :[[@LINE-1]]:13: error: expected '(' or invalid operand |
120 | 120 |
|
121 | 121 | cv.lhu t0
|
122 |
| -# CHECK-ERROR: too few operands for instruction |
| 122 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
123 | 123 |
|
124 | 124 | cv.lhu t0, (t1)
|
125 |
| -# CHECK-ERROR: too few operands for instruction |
| 125 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
126 | 126 |
|
127 | 127 | cv.lhu t0, (t1), t2, t3
|
128 |
| -# CHECK-ERROR: invalid operand for instruction |
| 128 | +# CHECK-ERROR: :[[@LINE-1]]:22: error: invalid operand for instruction |
129 | 129 |
|
130 | 130 | cv.lw t0, (0), 0
|
131 |
| -# CHECK-ERROR: operands must be register and register |
| 131 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
132 | 132 |
|
133 | 133 | cv.lw 0, (t1), 0
|
134 |
| -# CHECK-ERROR: invalid operand for instruction |
| 134 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
135 | 135 |
|
136 | 136 | cv.lw 0, (0), t2
|
137 |
| -# CHECK-ERROR: invalid operand for instruction |
| 137 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
138 | 138 |
|
139 | 139 | cv.lw t0, (t1), -2049
|
140 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 140 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
141 | 141 |
|
142 | 142 | cv.lw t0, (t1), 2048
|
143 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 143 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
144 | 144 |
|
145 | 145 | cv.lw t0, (0), t1
|
146 |
| -# CHECK-ERROR: operands must be register and register |
| 146 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
147 | 147 |
|
148 | 148 | cv.lw t0, t1(0)
|
149 |
| -# CHECK-ERROR: expected register |
| 149 | +# CHECK-ERROR: :[[@LINE-1]]:14: error: expected register |
150 | 150 |
|
151 | 151 | cv.lw 0, (t0), t1
|
152 |
| -# CHECK-ERROR: invalid operand for instruction |
| 152 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
153 | 153 |
|
154 | 154 | cv.lw t0
|
155 |
| -# CHECK-ERROR: too few operands for instruction |
| 155 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
156 | 156 |
|
157 | 157 | cv.lw t0, (t1)
|
158 |
| -# CHECK-ERROR: too few operands for instruction |
| 158 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
159 | 159 |
|
160 | 160 | cv.lw t0, (t1), t2, t3
|
161 |
| -# CHECK-ERROR: invalid operand for instruction |
| 161 | +# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction |
162 | 162 |
|
163 | 163 | cv.sb t0, (0), 0
|
164 |
| -# CHECK-ERROR: operands must be register and register |
| 164 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
165 | 165 |
|
166 | 166 | cv.sb 0, (t0), 0
|
167 |
| -# CHECK-ERROR: invalid operand for instruction |
| 167 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
168 | 168 |
|
169 | 169 | cv.sb t0, 0(t1)
|
170 |
| -# CHECK-ERROR: operands must be register and register |
| 170 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
171 | 171 |
|
172 | 172 | cv.sb t0, (t1), 2048
|
173 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 173 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
174 | 174 |
|
175 | 175 | cv.sb t0, (0), t1
|
176 |
| -# CHECK-ERROR: operands must be register and register |
| 176 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
177 | 177 |
|
178 | 178 | cv.sb 0, (t1), t1
|
179 |
| -# CHECK-ERROR: invalid operand for instruction |
| 179 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
180 | 180 |
|
181 | 181 | cv.sb t0
|
182 |
| -# CHECK-ERROR: too few operands for instruction |
| 182 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
183 | 183 |
|
184 | 184 | cv.sh t0, (0), 0
|
185 |
| -# CHECK-ERROR: operands must be register and register |
| 185 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
186 | 186 |
|
187 | 187 | cv.sh 0, (t1), 0
|
188 |
| -# CHECK-ERROR: invalid operand for instruction |
| 188 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
189 | 189 |
|
190 | 190 | cv.sh t0, 0(t1)
|
191 |
| -# CHECK-ERROR: operands must be register and register |
| 191 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
192 | 192 |
|
193 | 193 | cv.sh t0, (t1), 2048
|
194 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 194 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
195 | 195 |
|
196 | 196 | cv.sh t0, (0), t1
|
197 |
| -# CHECK-ERROR: operands must be register and register |
| 197 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
198 | 198 |
|
199 | 199 | cv.sh 0, (t1), t1
|
200 |
| -# CHECK-ERROR: invalid operand for instruction |
| 200 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
201 | 201 |
|
202 | 202 | cv.sh t0
|
203 |
| -# CHECK-ERROR: too few operands for instruction |
| 203 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
204 | 204 |
|
205 | 205 | cv.sw t0, (0), 0
|
206 |
| -# CHECK-ERROR: operands must be register and register |
| 206 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
207 | 207 |
|
208 | 208 | cv.sw 0, (t1), 0
|
209 |
| -# CHECK-ERROR: invalid operand for instruction |
| 209 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
210 | 210 |
|
211 | 211 | cv.sw t0, 0(t1)
|
212 |
| -# CHECK-ERROR: operands must be register and register |
| 212 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
213 | 213 |
|
214 | 214 | cv.sw t0, (t1), 2048
|
215 |
| -# CHECK-ERROR: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
| 215 | +# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] |
216 | 216 |
|
217 | 217 | cv.sw t0, (0), t1
|
218 |
| -# CHECK-ERROR: operands must be register and register |
| 218 | +# CHECK-ERROR: :[[@LINE-1]]:11: error: operands must be register and register |
219 | 219 |
|
220 | 220 | cv.sw 0, (t1), t1
|
221 |
| -# CHECK-ERROR: invalid operand for instruction |
| 221 | +# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction |
222 | 222 |
|
223 | 223 | cv.sw t0
|
224 |
| -# CHECK-ERROR: too few operands for instruction |
| 224 | +# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction |
0 commit comments