Use explicit cpu in some asm and codegen tests. · rust-lang/rust@20432c9 (original) (raw)
1
1
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
2
``
`-
--> $DIR/simd-abi-checks-avx.rs:64:11
`
``
2
`+
--> $DIR/simd-abi-checks-avx.rs:65:11
`
3
3
` |
`
4
4
`LL | f(g());
`
5
5
` | ^^^ function called here
`
`@@ -10,7 +10,7 @@ LL | f(g());
`
10
10
`` = note: #[warn(abi_unsupported_vector_types)]
on by default
``
11
11
``
12
12
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
13
``
`-
--> $DIR/simd-abi-checks-avx.rs:64:9
`
``
13
`+
--> $DIR/simd-abi-checks-avx.rs:65:9
`
14
14
` |
`
15
15
`LL | f(g());
`
16
16
` | ^^^^^^ function called here
`
`@@ -20,7 +20,7 @@ LL | f(g());
`
20
20
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
21
21
``
22
22
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
23
``
`-
--> $DIR/simd-abi-checks-avx.rs:72:14
`
``
23
`+
--> $DIR/simd-abi-checks-avx.rs:73:14
`
24
24
` |
`
25
25
`LL | gavx(favx());
`
26
26
` | ^^^^^^ function called here
`
`@@ -30,7 +30,7 @@ LL | gavx(favx());
`
30
30
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
31
31
``
32
32
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
33
``
`-
--> $DIR/simd-abi-checks-avx.rs:72:9
`
``
33
`+
--> $DIR/simd-abi-checks-avx.rs:73:9
`
34
34
` |
`
35
35
`LL | gavx(favx());
`
36
36
` | ^^^^^^^^^^^^ function called here
`
`@@ -40,7 +40,7 @@ LL | gavx(favx());
`
40
40
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
41
41
``
42
42
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
43
``
`-
--> $DIR/simd-abi-checks-avx.rs:84:19
`
``
43
`+
--> $DIR/simd-abi-checks-avx.rs:85:19
`
44
44
` |
`
45
45
`LL | w(Wrapper(g()));
`
46
46
` | ^^^ function called here
`
`@@ -50,7 +50,7 @@ LL | w(Wrapper(g()));
`
50
50
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
51
51
``
52
52
`` warning: this function call uses SIMD vector type Wrapper
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
53
``
`-
--> $DIR/simd-abi-checks-avx.rs:84:9
`
``
53
`+
--> $DIR/simd-abi-checks-avx.rs:85:9
`
54
54
` |
`
55
55
`LL | w(Wrapper(g()));
`
56
56
` | ^^^^^^^^^^^^^^^ function called here
`
`@@ -60,7 +60,7 @@ LL | w(Wrapper(g()));
`
60
60
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
61
61
``
62
62
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
63
``
`-
--> $DIR/simd-abi-checks-avx.rs💯9
`
``
63
`+
--> $DIR/simd-abi-checks-avx.rs:101:9
`
64
64
` |
`
65
65
`LL | some_extern();
`
66
66
` | ^^^^^^^^^^^^^ function called here
`
`@@ -70,7 +70,7 @@ LL | some_extern();
`
70
70
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
71
71
``
72
72
`` warning: this function definition uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
73
``
`-
--> $DIR/simd-abi-checks-avx.rs:27:1
`
``
73
`+
--> $DIR/simd-abi-checks-avx.rs:28:1
`
74
74
` |
`
75
75
`LL | unsafe extern "C" fn g() -> __m256 {
`
76
76
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -80,7 +80,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
`
80
80
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
81
81
``
82
82
`` warning: this function definition uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
83
``
`-
--> $DIR/simd-abi-checks-avx.rs:21:1
`
``
83
`+
--> $DIR/simd-abi-checks-avx.rs:22:1
`
84
84
` |
`
85
85
`LL | unsafe extern "C" fn f(_: __m256) {
`
86
86
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -90,7 +90,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
`
90
90
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
91
91
``
92
92
`` warning: this function definition uses SIMD vector type Wrapper
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
93
``
`-
--> $DIR/simd-abi-checks-avx.rs:15:1
`
``
93
`+
--> $DIR/simd-abi-checks-avx.rs:16:1
`
94
94
` |
`
95
95
`LL | unsafe extern "C" fn w(_: Wrapper) {
`
96
96
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -100,7 +100,7 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
`
100
100
`` = help: consider enabling it globally (-C target-feature=+avx
) or locally (#[target_feature(enable="avx")]
)
``
101
101
``
102
102
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
103
``
`-
--> $DIR/simd-abi-checks-avx.rs:57:8
`
``
103
`+
--> $DIR/simd-abi-checks-avx.rs:58:8
`
104
104
` |
`
105
105
`LL | || g()
`
106
106
` | ^^^ function called here
`
`@@ -113,7 +113,7 @@ warning: 11 warnings emitted
`
113
113
``
114
114
`Future incompatibility report: Future breakage diagnostic:
`
115
115
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
116
``
`-
--> $DIR/simd-abi-checks-avx.rs:64:11
`
``
116
`+
--> $DIR/simd-abi-checks-avx.rs:65:11
`
117
117
` |
`
118
118
`LL | f(g());
`
119
119
` | ^^^ function called here
`
`@@ -125,7 +125,7 @@ LL | f(g());
`
125
125
``
126
126
`Future breakage diagnostic:
`
127
127
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
128
``
`-
--> $DIR/simd-abi-checks-avx.rs:64:9
`
``
128
`+
--> $DIR/simd-abi-checks-avx.rs:65:9
`
129
129
` |
`
130
130
`LL | f(g());
`
131
131
` | ^^^^^^ function called here
`
`@@ -137,7 +137,7 @@ LL | f(g());
`
137
137
``
138
138
`Future breakage diagnostic:
`
139
139
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
140
``
`-
--> $DIR/simd-abi-checks-avx.rs:72:14
`
``
140
`+
--> $DIR/simd-abi-checks-avx.rs:73:14
`
141
141
` |
`
142
142
`LL | gavx(favx());
`
143
143
` | ^^^^^^ function called here
`
`@@ -149,7 +149,7 @@ LL | gavx(favx());
`
149
149
``
150
150
`Future breakage diagnostic:
`
151
151
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
152
``
`-
--> $DIR/simd-abi-checks-avx.rs:72:9
`
``
152
`+
--> $DIR/simd-abi-checks-avx.rs:73:9
`
153
153
` |
`
154
154
`LL | gavx(favx());
`
155
155
` | ^^^^^^^^^^^^ function called here
`
`@@ -161,7 +161,7 @@ LL | gavx(favx());
`
161
161
``
162
162
`Future breakage diagnostic:
`
163
163
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
164
``
`-
--> $DIR/simd-abi-checks-avx.rs:84:19
`
``
164
`+
--> $DIR/simd-abi-checks-avx.rs:85:19
`
165
165
` |
`
166
166
`LL | w(Wrapper(g()));
`
167
167
` | ^^^ function called here
`
`@@ -173,7 +173,7 @@ LL | w(Wrapper(g()));
`
173
173
``
174
174
`Future breakage diagnostic:
`
175
175
`` warning: this function call uses SIMD vector type Wrapper
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
176
``
`-
--> $DIR/simd-abi-checks-avx.rs:84:9
`
``
176
`+
--> $DIR/simd-abi-checks-avx.rs:85:9
`
177
177
` |
`
178
178
`LL | w(Wrapper(g()));
`
179
179
` | ^^^^^^^^^^^^^^^ function called here
`
`@@ -185,7 +185,7 @@ LL | w(Wrapper(g()));
`
185
185
``
186
186
`Future breakage diagnostic:
`
187
187
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
188
``
`-
--> $DIR/simd-abi-checks-avx.rs💯9
`
``
188
`+
--> $DIR/simd-abi-checks-avx.rs:101:9
`
189
189
` |
`
190
190
`LL | some_extern();
`
191
191
` | ^^^^^^^^^^^^^ function called here
`
`@@ -197,7 +197,7 @@ LL | some_extern();
`
197
197
``
198
198
`Future breakage diagnostic:
`
199
199
`` warning: this function definition uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
200
``
`-
--> $DIR/simd-abi-checks-avx.rs:27:1
`
``
200
`+
--> $DIR/simd-abi-checks-avx.rs:28:1
`
201
201
` |
`
202
202
`LL | unsafe extern "C" fn g() -> __m256 {
`
203
203
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -209,7 +209,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
`
209
209
``
210
210
`Future breakage diagnostic:
`
211
211
`` warning: this function definition uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
212
``
`-
--> $DIR/simd-abi-checks-avx.rs:21:1
`
``
212
`+
--> $DIR/simd-abi-checks-avx.rs:22:1
`
213
213
` |
`
214
214
`LL | unsafe extern "C" fn f(_: __m256) {
`
215
215
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -221,7 +221,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
`
221
221
``
222
222
`Future breakage diagnostic:
`
223
223
`` warning: this function definition uses SIMD vector type Wrapper
which (with the chosen ABI) requires the avx
target feature, which is not enabled
``
224
``
`-
--> $DIR/simd-abi-checks-avx.rs:15:1
`
``
224
`+
--> $DIR/simd-abi-checks-avx.rs:16:1
`
225
225
` |
`
226
226
`LL | unsafe extern "C" fn w(_: Wrapper) {
`
227
227
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
`
`@@ -233,7 +233,7 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
`
233
233
``
234
234
`Future breakage diagnostic:
`
235
235
`` warning: this function call uses SIMD vector type std::arch::x86_64::__m256
which (with the chosen ABI) requires the avx
target feature, which is not enabled in the caller
``
236
``
`-
--> $DIR/simd-abi-checks-avx.rs:57:8
`
``
236
`+
--> $DIR/simd-abi-checks-avx.rs:58:8
`
237
237
` |
`
238
238
`LL | || g()
`
239
239
` | ^^^ function called here
`