You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/abi/simd-abi-checks-avx.stderr
+32-38Lines changed: 32 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,35 @@
1
+
error: this function definition uses SIMD vector type `Wrapper` which (with the chosen ABI) requires the `avx` target feature, which is not enabled
2
+
--> $DIR/simd-abi-checks-avx.rs:14:1
3
+
|
4
+
LL | unsafe extern "C" fn w(_: Wrapper) {
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
6
+
|
7
+
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
8
+
9
+
error: 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
10
+
--> $DIR/simd-abi-checks-avx.rs:19:1
11
+
|
12
+
LL | unsafe extern "C" fn f(_: __m256) {
13
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
14
+
|
15
+
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
16
+
17
+
error: 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
18
+
--> $DIR/simd-abi-checks-avx.rs:24:1
19
+
|
20
+
LL | unsafe extern "C" fn g() -> __m256 {
21
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
22
+
|
23
+
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
24
+
25
+
error: 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
26
+
--> $DIR/simd-abi-checks-avx.rs:53:8
27
+
|
28
+
LL | || g()
29
+
| ^^^ function called here
30
+
|
31
+
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
32
+
1
33
error: 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
34
--> $DIR/simd-abi-checks-avx.rs:59:11
3
35
|
@@ -54,43 +86,5 @@ LL | some_extern();
54
86
|
55
87
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
56
88
57
-
error: 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
58
-
--> $DIR/simd-abi-checks-avx.rs:24:1
59
-
|
60
-
LL | unsafe extern "C" fn g() -> __m256 {
61
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
62
-
|
63
-
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
64
-
65
-
error: 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
66
-
--> $DIR/simd-abi-checks-avx.rs:19:1
67
-
|
68
-
LL | unsafe extern "C" fn f(_: __m256) {
69
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
70
-
|
71
-
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
72
-
73
-
error: this function definition uses SIMD vector type `Wrapper` which (with the chosen ABI) requires the `avx` target feature, which is not enabled
74
-
--> $DIR/simd-abi-checks-avx.rs:14:1
75
-
|
76
-
LL | unsafe extern "C" fn w(_: Wrapper) {
77
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
78
-
|
79
-
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
80
-
81
-
error: 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
82
-
--> $DIR/simd-abi-checks-avx.rs:53:8
83
-
|
84
-
LL | || g()
85
-
| ^^^ function called here
86
-
|
87
-
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
88
-
89
-
note: the above error was encountered while instantiating `fn in_closure::{closure#0}`
Copy file name to clipboardExpand all lines: tests/ui/abi/simd-abi-checks-s390x.z13_soft_float.stderr
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
warning: unstable feature specified for `-Ctarget-feature`: `vector`
2
+
|
3
+
= note: this feature is not stably supported; its behavior can change in the future
4
+
5
+
warning: unknown and unstable feature specified for `-Ctarget-feature`: `soft-float`
6
+
|
7
+
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
8
+
= help: consider filing a feature request
9
+
1
10
error: this function definition uses SIMD vector type `i8x8` which (with the chosen ABI) requires the `vector` target feature, which is not enabled
0 commit comments