@@ -22,191 +22,185 @@ error: invalid register `gp`: the global pointer cannot be used as an operand fo
22
22
LL | asm!("", out("gp") _);
23
23
| ^^^^^^^^^^^
24
24
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
-
31
25
error: 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
33
27
|
34
28
LL | asm!("", out("tp") _);
35
29
| ^^^^^^^^^^^
36
30
37
31
error: 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
39
33
|
40
34
LL | asm!("", out("zero") _);
41
35
| ^^^^^^^^^^^^^
42
36
43
37
error: 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
45
39
|
46
40
LL | asm!("", in("v0") x);
47
41
| ^^^^^^^^^^
48
42
49
43
error: 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
51
45
|
52
46
LL | asm!("", out("v0") x);
53
47
| ^^^^^^^^^^^
54
48
55
49
error: 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
57
51
|
58
52
LL | asm!("/* {} */", in(vreg) x);
59
53
| ^^^^^^^^^^
60
54
61
55
error: 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
63
57
|
64
58
LL | asm!("/* {} */", out(vreg) _);
65
59
| ^^^^^^^^^^^
66
60
67
61
error: 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
69
63
|
70
64
LL | asm!("", out("x16") _);
71
65
| ^^^^^^^^^^^^
72
66
73
67
error: 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
75
69
|
76
70
LL | asm!("", out("x17") _);
77
71
| ^^^^^^^^^^^^
78
72
79
73
error: 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
81
75
|
82
76
LL | asm!("", out("x18") _);
83
77
| ^^^^^^^^^^^^
84
78
85
79
error: 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
87
81
|
88
82
LL | asm!("", out("x19") _);
89
83
| ^^^^^^^^^^^^
90
84
91
85
error: 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
93
87
|
94
88
LL | asm!("", out("x20") _);
95
89
| ^^^^^^^^^^^^
96
90
97
91
error: 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
99
93
|
100
94
LL | asm!("", out("x21") _);
101
95
| ^^^^^^^^^^^^
102
96
103
97
error: 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
105
99
|
106
100
LL | asm!("", out("x22") _);
107
101
| ^^^^^^^^^^^^
108
102
109
103
error: 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
111
105
|
112
106
LL | asm!("", out("x23") _);
113
107
| ^^^^^^^^^^^^
114
108
115
109
error: 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
117
111
|
118
112
LL | asm!("", out("x24") _);
119
113
| ^^^^^^^^^^^^
120
114
121
115
error: 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
123
117
|
124
118
LL | asm!("", out("x25") _);
125
119
| ^^^^^^^^^^^^
126
120
127
121
error: 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
129
123
|
130
124
LL | asm!("", out("x26") _);
131
125
| ^^^^^^^^^^^^
132
126
133
127
error: 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
135
129
|
136
130
LL | asm!("", out("x27") _);
137
131
| ^^^^^^^^^^^^
138
132
139
133
error: 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
141
135
|
142
136
LL | asm!("", out("x28") _);
143
137
| ^^^^^^^^^^^^
144
138
145
139
error: 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
147
141
|
148
142
LL | asm!("", out("x29") _);
149
143
| ^^^^^^^^^^^^
150
144
151
145
error: 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
153
147
|
154
148
LL | asm!("", out("x30") _);
155
149
| ^^^^^^^^^^^^
156
150
157
151
error: 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
159
153
|
160
154
LL | asm!("", out("x31") _);
161
155
| ^^^^^^^^^^^^
162
156
163
157
error: 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
165
159
|
166
160
LL | asm!("/* {} */", in(freg) f);
167
161
| ^^^^^^^^^^
168
162
169
163
error: 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
171
165
|
172
166
LL | asm!("/* {} */", out(freg) _);
173
167
| ^^^^^^^^^^^
174
168
175
169
error: 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
177
171
|
178
172
LL | asm!("/* {} */", in(freg) d);
179
173
| ^^^^^^^^^^
180
174
181
175
error: 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
183
177
|
184
178
LL | asm!("/* {} */", out(freg) d);
185
179
| ^^^^^^^^^^^
186
180
187
181
error: type `i32` cannot be used with this register class
188
- --> $DIR/bad-reg.rs:96 :27
182
+ --> $DIR/bad-reg.rs:94 :27
189
183
|
190
184
LL | asm!("", in("v0") x);
191
185
| ^
192
186
|
193
187
= note: register class `vreg` supports these types:
194
188
195
189
error: type `i32` cannot be used with this register class
196
- --> $DIR/bad-reg.rs:99 :28
190
+ --> $DIR/bad-reg.rs:97 :28
197
191
|
198
192
LL | asm!("", out("v0") x);
199
193
| ^
200
194
|
201
195
= note: register class `vreg` supports these types:
202
196
203
197
error: type `i32` cannot be used with this register class
204
- --> $DIR/bad-reg.rs:102 :35
198
+ --> $DIR/bad-reg.rs:100 :35
205
199
|
206
200
LL | asm!("/* {} */", in(vreg) x);
207
201
| ^
208
202
|
209
203
= note: register class `vreg` supports these types:
210
204
211
- error: aborting due to 34 previous errors
205
+ error: aborting due to 33 previous errors
212
206
0 commit comments