@@ -22,191 +22,185 @@ error: invalid register `gp`: the global pointer cannot be used as an operand fo
2222LL | asm!("", out("gp") _);
2323 | ^^^^^^^^^^^
2424
25- error: invalid register `gp`: the global pointer cannot be used as an operand for inline asm
26- --> $DIR/bad-reg.rs:41:18
27- |
28- LL | asm!("", out("gp") _);
29- | ^^^^^^^^^^^
30-
3125error: invalid register `tp`: the thread pointer cannot be used as an operand for inline asm
32- --> $DIR/bad-reg.rs:43 :18
26+ --> $DIR/bad-reg.rs:41 :18
3327 |
3428LL | asm!("", out("tp") _);
3529 | ^^^^^^^^^^^
3630
3731error: invalid register `zero`: the zero register cannot be used as an operand for inline asm
38- --> $DIR/bad-reg.rs:45 :18
32+ --> $DIR/bad-reg.rs:43 :18
3933 |
4034LL | asm!("", out("zero") _);
4135 | ^^^^^^^^^^^^^
4236
4337error: register class `vreg` can only be used as a clobber, not as an input or output
44- --> $DIR/bad-reg.rs:96 :18
38+ --> $DIR/bad-reg.rs:94 :18
4539 |
4640LL | asm!("", in("v0") x);
4741 | ^^^^^^^^^^
4842
4943error: register class `vreg` can only be used as a clobber, not as an input or output
50- --> $DIR/bad-reg.rs:99 :18
44+ --> $DIR/bad-reg.rs:97 :18
5145 |
5246LL | asm!("", out("v0") x);
5347 | ^^^^^^^^^^^
5448
5549error: register class `vreg` can only be used as a clobber, not as an input or output
56- --> $DIR/bad-reg.rs:102 :26
50+ --> $DIR/bad-reg.rs:100 :26
5751 |
5852LL | asm!("/* {} */", in(vreg) x);
5953 | ^^^^^^^^^^
6054
6155error: register class `vreg` can only be used as a clobber, not as an input or output
62- --> $DIR/bad-reg.rs:105 :26
56+ --> $DIR/bad-reg.rs:103 :26
6357 |
6458LL | asm!("/* {} */", out(vreg) _);
6559 | ^^^^^^^^^^^
6660
6761error: cannot use register `x16`: register can't be used with the `e` target feature
68- --> $DIR/bad-reg.rs:48 :18
62+ --> $DIR/bad-reg.rs:46 :18
6963 |
7064LL | asm!("", out("x16") _);
7165 | ^^^^^^^^^^^^
7266
7367error: cannot use register `x17`: register can't be used with the `e` target feature
74- --> $DIR/bad-reg.rs:50 :18
68+ --> $DIR/bad-reg.rs:48 :18
7569 |
7670LL | asm!("", out("x17") _);
7771 | ^^^^^^^^^^^^
7872
7973error: cannot use register `x18`: register can't be used with the `e` target feature
80- --> $DIR/bad-reg.rs:52 :18
74+ --> $DIR/bad-reg.rs:50 :18
8175 |
8276LL | asm!("", out("x18") _);
8377 | ^^^^^^^^^^^^
8478
8579error: cannot use register `x19`: register can't be used with the `e` target feature
86- --> $DIR/bad-reg.rs:54 :18
80+ --> $DIR/bad-reg.rs:52 :18
8781 |
8882LL | asm!("", out("x19") _);
8983 | ^^^^^^^^^^^^
9084
9185error: cannot use register `x20`: register can't be used with the `e` target feature
92- --> $DIR/bad-reg.rs:56 :18
86+ --> $DIR/bad-reg.rs:54 :18
9387 |
9488LL | asm!("", out("x20") _);
9589 | ^^^^^^^^^^^^
9690
9791error: cannot use register `x21`: register can't be used with the `e` target feature
98- --> $DIR/bad-reg.rs:58 :18
92+ --> $DIR/bad-reg.rs:56 :18
9993 |
10094LL | asm!("", out("x21") _);
10195 | ^^^^^^^^^^^^
10296
10397error: cannot use register `x22`: register can't be used with the `e` target feature
104- --> $DIR/bad-reg.rs:60 :18
98+ --> $DIR/bad-reg.rs:58 :18
10599 |
106100LL | asm!("", out("x22") _);
107101 | ^^^^^^^^^^^^
108102
109103error: cannot use register `x23`: register can't be used with the `e` target feature
110- --> $DIR/bad-reg.rs:62 :18
104+ --> $DIR/bad-reg.rs:60 :18
111105 |
112106LL | asm!("", out("x23") _);
113107 | ^^^^^^^^^^^^
114108
115109error: cannot use register `x24`: register can't be used with the `e` target feature
116- --> $DIR/bad-reg.rs:64 :18
110+ --> $DIR/bad-reg.rs:62 :18
117111 |
118112LL | asm!("", out("x24") _);
119113 | ^^^^^^^^^^^^
120114
121115error: cannot use register `x25`: register can't be used with the `e` target feature
122- --> $DIR/bad-reg.rs:66 :18
116+ --> $DIR/bad-reg.rs:64 :18
123117 |
124118LL | asm!("", out("x25") _);
125119 | ^^^^^^^^^^^^
126120
127121error: cannot use register `x26`: register can't be used with the `e` target feature
128- --> $DIR/bad-reg.rs:68 :18
122+ --> $DIR/bad-reg.rs:66 :18
129123 |
130124LL | asm!("", out("x26") _);
131125 | ^^^^^^^^^^^^
132126
133127error: cannot use register `x27`: register can't be used with the `e` target feature
134- --> $DIR/bad-reg.rs:70 :18
128+ --> $DIR/bad-reg.rs:68 :18
135129 |
136130LL | asm!("", out("x27") _);
137131 | ^^^^^^^^^^^^
138132
139133error: cannot use register `x28`: register can't be used with the `e` target feature
140- --> $DIR/bad-reg.rs:72 :18
134+ --> $DIR/bad-reg.rs:70 :18
141135 |
142136LL | asm!("", out("x28") _);
143137 | ^^^^^^^^^^^^
144138
145139error: cannot use register `x29`: register can't be used with the `e` target feature
146- --> $DIR/bad-reg.rs:74 :18
140+ --> $DIR/bad-reg.rs:72 :18
147141 |
148142LL | asm!("", out("x29") _);
149143 | ^^^^^^^^^^^^
150144
151145error: cannot use register `x30`: register can't be used with the `e` target feature
152- --> $DIR/bad-reg.rs:76 :18
146+ --> $DIR/bad-reg.rs:74 :18
153147 |
154148LL | asm!("", out("x30") _);
155149 | ^^^^^^^^^^^^
156150
157151error: cannot use register `x31`: register can't be used with the `e` target feature
158- --> $DIR/bad-reg.rs:78 :18
152+ --> $DIR/bad-reg.rs:76 :18
159153 |
160154LL | asm!("", out("x31") _);
161155 | ^^^^^^^^^^^^
162156
163157error: register class `freg` requires at least one of the following target features: d, f
164- --> $DIR/bad-reg.rs:82 :26
158+ --> $DIR/bad-reg.rs:80 :26
165159 |
166160LL | asm!("/* {} */", in(freg) f);
167161 | ^^^^^^^^^^
168162
169163error: register class `freg` requires at least one of the following target features: d, f
170- --> $DIR/bad-reg.rs:84 :26
164+ --> $DIR/bad-reg.rs:82 :26
171165 |
172166LL | asm!("/* {} */", out(freg) _);
173167 | ^^^^^^^^^^^
174168
175169error: register class `freg` requires at least one of the following target features: d, f
176- --> $DIR/bad-reg.rs:86 :26
170+ --> $DIR/bad-reg.rs:84 :26
177171 |
178172LL | asm!("/* {} */", in(freg) d);
179173 | ^^^^^^^^^^
180174
181175error: register class `freg` requires at least one of the following target features: d, f
182- --> $DIR/bad-reg.rs:89 :26
176+ --> $DIR/bad-reg.rs:87 :26
183177 |
184178LL | asm!("/* {} */", out(freg) d);
185179 | ^^^^^^^^^^^
186180
187181error: type `i32` cannot be used with this register class
188- --> $DIR/bad-reg.rs:96 :27
182+ --> $DIR/bad-reg.rs:94 :27
189183 |
190184LL | asm!("", in("v0") x);
191185 | ^
192186 |
193187 = note: register class `vreg` supports these types:
194188
195189error: type `i32` cannot be used with this register class
196- --> $DIR/bad-reg.rs:99 :28
190+ --> $DIR/bad-reg.rs:97 :28
197191 |
198192LL | asm!("", out("v0") x);
199193 | ^
200194 |
201195 = note: register class `vreg` supports these types:
202196
203197error: type `i32` cannot be used with this register class
204- --> $DIR/bad-reg.rs:102 :35
198+ --> $DIR/bad-reg.rs:100 :35
205199 |
206200LL | asm!("/* {} */", in(vreg) x);
207201 | ^
208202 |
209203 = note: register class `vreg` supports these types:
210204
211- error: aborting due to 34 previous errors
205+ error: aborting due to 33 previous errors
212206
0 commit comments