|
1 | 1 | error: invalid register `s1`: s1 is used internally by LLVM and cannot be used as an operand for inline asm
|
2 |
| - --> $DIR/bad-reg.rs:31:18 |
| 2 | + --> $DIR/bad-reg.rs:34:18 |
3 | 3 | |
|
4 | 4 | LL | asm!("", out("s1") _);
|
5 | 5 | | ^^^^^^^^^^^
|
6 | 6 |
|
7 | 7 | error: invalid register `fp`: the frame pointer cannot be used as an operand for inline asm
|
8 |
| - --> $DIR/bad-reg.rs:33:18 |
| 8 | + --> $DIR/bad-reg.rs:36:18 |
9 | 9 | |
|
10 | 10 | LL | asm!("", out("fp") _);
|
11 | 11 | | ^^^^^^^^^^^
|
12 | 12 |
|
13 | 13 | error: invalid register `sp`: the stack pointer cannot be used as an operand for inline asm
|
14 |
| - --> $DIR/bad-reg.rs:35:18 |
| 14 | + --> $DIR/bad-reg.rs:38:18 |
15 | 15 | |
|
16 | 16 | LL | asm!("", out("sp") _);
|
17 | 17 | | ^^^^^^^^^^^
|
18 | 18 |
|
19 | 19 | error: invalid register `gp`: the global pointer cannot be used as an operand for inline asm
|
20 |
| - --> $DIR/bad-reg.rs:37:18 |
| 20 | + --> $DIR/bad-reg.rs:40:18 |
21 | 21 | |
|
22 | 22 | LL | asm!("", out("gp") _);
|
23 | 23 | | ^^^^^^^^^^^
|
24 | 24 |
|
25 | 25 | error: invalid register `gp`: the global pointer cannot be used as an operand for inline asm
|
26 |
| - --> $DIR/bad-reg.rs:39:18 |
| 26 | + --> $DIR/bad-reg.rs:42:18 |
27 | 27 | |
|
28 | 28 | LL | asm!("", out("gp") _);
|
29 | 29 | | ^^^^^^^^^^^
|
30 | 30 |
|
31 | 31 | error: invalid register `tp`: the thread pointer cannot be used as an operand for inline asm
|
32 |
| - --> $DIR/bad-reg.rs:41:18 |
| 32 | + --> $DIR/bad-reg.rs:44:18 |
33 | 33 | |
|
34 | 34 | LL | asm!("", out("tp") _);
|
35 | 35 | | ^^^^^^^^^^^
|
36 | 36 |
|
37 | 37 | error: invalid register `zero`: the zero register cannot be used as an operand for inline asm
|
38 |
| - --> $DIR/bad-reg.rs:43:18 |
| 38 | + --> $DIR/bad-reg.rs:46:18 |
39 | 39 | |
|
40 | 40 | LL | asm!("", out("zero") _);
|
41 | 41 | | ^^^^^^^^^^^^^
|
42 | 42 |
|
43 | 43 | error: register class `vreg` can only be used as a clobber, not as an input or output
|
44 |
| - --> $DIR/bad-reg.rs:94:18 |
| 44 | + --> $DIR/bad-reg.rs:97:18 |
45 | 45 | |
|
46 | 46 | LL | asm!("", in("v0") x);
|
47 | 47 | | ^^^^^^^^^^
|
48 | 48 |
|
49 | 49 | error: register class `vreg` can only be used as a clobber, not as an input or output
|
50 |
| - --> $DIR/bad-reg.rs:97:18 |
| 50 | + --> $DIR/bad-reg.rs:100:18 |
51 | 51 | |
|
52 | 52 | LL | asm!("", out("v0") x);
|
53 | 53 | | ^^^^^^^^^^^
|
54 | 54 |
|
55 | 55 | error: register class `vreg` can only be used as a clobber, not as an input or output
|
56 |
| - --> $DIR/bad-reg.rs:100:26 |
| 56 | + --> $DIR/bad-reg.rs:103:26 |
57 | 57 | |
|
58 | 58 | LL | asm!("/* {} */", in(vreg) x);
|
59 | 59 | | ^^^^^^^^^^
|
60 | 60 |
|
61 | 61 | error: register class `vreg` can only be used as a clobber, not as an input or output
|
62 |
| - --> $DIR/bad-reg.rs:103:26 |
| 62 | + --> $DIR/bad-reg.rs:106:26 |
63 | 63 | |
|
64 | 64 | LL | asm!("/* {} */", out(vreg) _);
|
65 | 65 | | ^^^^^^^^^^^
|
66 | 66 |
|
67 | 67 | error: cannot use register `x16`: register can't be used with the `e` target feature
|
68 |
| - --> $DIR/bad-reg.rs:46:18 |
| 68 | + --> $DIR/bad-reg.rs:49:18 |
69 | 69 | |
|
70 | 70 | LL | asm!("", out("x16") _);
|
71 | 71 | | ^^^^^^^^^^^^
|
72 | 72 |
|
73 | 73 | error: cannot use register `x17`: register can't be used with the `e` target feature
|
74 |
| - --> $DIR/bad-reg.rs:48:18 |
| 74 | + --> $DIR/bad-reg.rs:51:18 |
75 | 75 | |
|
76 | 76 | LL | asm!("", out("x17") _);
|
77 | 77 | | ^^^^^^^^^^^^
|
78 | 78 |
|
79 | 79 | error: cannot use register `x18`: register can't be used with the `e` target feature
|
80 |
| - --> $DIR/bad-reg.rs:50:18 |
| 80 | + --> $DIR/bad-reg.rs:53:18 |
81 | 81 | |
|
82 | 82 | LL | asm!("", out("x18") _);
|
83 | 83 | | ^^^^^^^^^^^^
|
84 | 84 |
|
85 | 85 | error: cannot use register `x19`: register can't be used with the `e` target feature
|
86 |
| - --> $DIR/bad-reg.rs:52:18 |
| 86 | + --> $DIR/bad-reg.rs:55:18 |
87 | 87 | |
|
88 | 88 | LL | asm!("", out("x19") _);
|
89 | 89 | | ^^^^^^^^^^^^
|
90 | 90 |
|
91 | 91 | error: cannot use register `x20`: register can't be used with the `e` target feature
|
92 |
| - --> $DIR/bad-reg.rs:54:18 |
| 92 | + --> $DIR/bad-reg.rs:57:18 |
93 | 93 | |
|
94 | 94 | LL | asm!("", out("x20") _);
|
95 | 95 | | ^^^^^^^^^^^^
|
96 | 96 |
|
97 | 97 | error: cannot use register `x21`: register can't be used with the `e` target feature
|
98 |
| - --> $DIR/bad-reg.rs:56:18 |
| 98 | + --> $DIR/bad-reg.rs:59:18 |
99 | 99 | |
|
100 | 100 | LL | asm!("", out("x21") _);
|
101 | 101 | | ^^^^^^^^^^^^
|
102 | 102 |
|
103 | 103 | error: cannot use register `x22`: register can't be used with the `e` target feature
|
104 |
| - --> $DIR/bad-reg.rs:58:18 |
| 104 | + --> $DIR/bad-reg.rs:61:18 |
105 | 105 | |
|
106 | 106 | LL | asm!("", out("x22") _);
|
107 | 107 | | ^^^^^^^^^^^^
|
108 | 108 |
|
109 | 109 | error: cannot use register `x23`: register can't be used with the `e` target feature
|
110 |
| - --> $DIR/bad-reg.rs:60:18 |
| 110 | + --> $DIR/bad-reg.rs:63:18 |
111 | 111 | |
|
112 | 112 | LL | asm!("", out("x23") _);
|
113 | 113 | | ^^^^^^^^^^^^
|
114 | 114 |
|
115 | 115 | error: cannot use register `x24`: register can't be used with the `e` target feature
|
116 |
| - --> $DIR/bad-reg.rs:62:18 |
| 116 | + --> $DIR/bad-reg.rs:65:18 |
117 | 117 | |
|
118 | 118 | LL | asm!("", out("x24") _);
|
119 | 119 | | ^^^^^^^^^^^^
|
120 | 120 |
|
121 | 121 | error: cannot use register `x25`: register can't be used with the `e` target feature
|
122 |
| - --> $DIR/bad-reg.rs:64:18 |
| 122 | + --> $DIR/bad-reg.rs:67:18 |
123 | 123 | |
|
124 | 124 | LL | asm!("", out("x25") _);
|
125 | 125 | | ^^^^^^^^^^^^
|
126 | 126 |
|
127 | 127 | error: cannot use register `x26`: register can't be used with the `e` target feature
|
128 |
| - --> $DIR/bad-reg.rs:66:18 |
| 128 | + --> $DIR/bad-reg.rs:69:18 |
129 | 129 | |
|
130 | 130 | LL | asm!("", out("x26") _);
|
131 | 131 | | ^^^^^^^^^^^^
|
132 | 132 |
|
133 | 133 | error: cannot use register `x27`: register can't be used with the `e` target feature
|
134 |
| - --> $DIR/bad-reg.rs:68:18 |
| 134 | + --> $DIR/bad-reg.rs:71:18 |
135 | 135 | |
|
136 | 136 | LL | asm!("", out("x27") _);
|
137 | 137 | | ^^^^^^^^^^^^
|
138 | 138 |
|
139 | 139 | error: cannot use register `x28`: register can't be used with the `e` target feature
|
140 |
| - --> $DIR/bad-reg.rs:70:18 |
| 140 | + --> $DIR/bad-reg.rs:73:18 |
141 | 141 | |
|
142 | 142 | LL | asm!("", out("x28") _);
|
143 | 143 | | ^^^^^^^^^^^^
|
144 | 144 |
|
145 | 145 | error: cannot use register `x29`: register can't be used with the `e` target feature
|
146 |
| - --> $DIR/bad-reg.rs:72:18 |
| 146 | + --> $DIR/bad-reg.rs:75:18 |
147 | 147 | |
|
148 | 148 | LL | asm!("", out("x29") _);
|
149 | 149 | | ^^^^^^^^^^^^
|
150 | 150 |
|
151 | 151 | error: cannot use register `x30`: register can't be used with the `e` target feature
|
152 |
| - --> $DIR/bad-reg.rs:74:18 |
| 152 | + --> $DIR/bad-reg.rs:77:18 |
153 | 153 | |
|
154 | 154 | LL | asm!("", out("x30") _);
|
155 | 155 | | ^^^^^^^^^^^^
|
156 | 156 |
|
157 | 157 | error: cannot use register `x31`: register can't be used with the `e` target feature
|
158 |
| - --> $DIR/bad-reg.rs:76:18 |
| 158 | + --> $DIR/bad-reg.rs:79:18 |
159 | 159 | |
|
160 | 160 | LL | asm!("", out("x31") _);
|
161 | 161 | | ^^^^^^^^^^^^
|
162 | 162 |
|
163 | 163 | error: register class `freg` requires at least one of the following target features: d, f
|
164 |
| - --> $DIR/bad-reg.rs:80:26 |
| 164 | + --> $DIR/bad-reg.rs:83:26 |
165 | 165 | |
|
166 | 166 | LL | asm!("/* {} */", in(freg) f);
|
167 | 167 | | ^^^^^^^^^^
|
168 | 168 |
|
169 | 169 | error: register class `freg` requires at least one of the following target features: d, f
|
170 |
| - --> $DIR/bad-reg.rs:82:26 |
| 170 | + --> $DIR/bad-reg.rs:85:26 |
171 | 171 | |
|
172 | 172 | LL | asm!("/* {} */", out(freg) _);
|
173 | 173 | | ^^^^^^^^^^^
|
174 | 174 |
|
175 | 175 | error: register class `freg` requires at least one of the following target features: d, f
|
176 |
| - --> $DIR/bad-reg.rs:84:26 |
| 176 | + --> $DIR/bad-reg.rs:87:26 |
177 | 177 | |
|
178 | 178 | LL | asm!("/* {} */", in(freg) d);
|
179 | 179 | | ^^^^^^^^^^
|
180 | 180 |
|
181 | 181 | error: register class `freg` requires at least one of the following target features: d, f
|
182 |
| - --> $DIR/bad-reg.rs:87:26 |
| 182 | + --> $DIR/bad-reg.rs:90:26 |
183 | 183 | |
|
184 | 184 | LL | asm!("/* {} */", out(freg) d);
|
185 | 185 | | ^^^^^^^^^^^
|
186 | 186 |
|
187 | 187 | error: type `i32` cannot be used with this register class
|
188 |
| - --> $DIR/bad-reg.rs:94:27 |
| 188 | + --> $DIR/bad-reg.rs:97:27 |
189 | 189 | |
|
190 | 190 | LL | asm!("", in("v0") x);
|
191 | 191 | | ^
|
192 | 192 | |
|
193 | 193 | = note: register class `vreg` supports these types:
|
194 | 194 |
|
195 | 195 | error: type `i32` cannot be used with this register class
|
196 |
| - --> $DIR/bad-reg.rs:97:28 |
| 196 | + --> $DIR/bad-reg.rs:100:28 |
197 | 197 | |
|
198 | 198 | LL | asm!("", out("v0") x);
|
199 | 199 | | ^
|
200 | 200 | |
|
201 | 201 | = note: register class `vreg` supports these types:
|
202 | 202 |
|
203 | 203 | error: type `i32` cannot be used with this register class
|
204 |
| - --> $DIR/bad-reg.rs:100:35 |
| 204 | + --> $DIR/bad-reg.rs:103:35 |
205 | 205 | |
|
206 | 206 | LL | asm!("/* {} */", in(vreg) x);
|
207 | 207 | | ^
|
|
0 commit comments