Skip to content

Commit 01e8394

Browse files
committed
Only run SIMD tests on x86
1 parent 54ea7f7 commit 01e8394

6 files changed

+9
-3
lines changed

src/test/ui/consts/const_arg_local.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// only-x86_64
2+
13
#[cfg(target_arch = "x86")]
24
use std::arch::x86::*;
35
#[cfg(target_arch = "x86_64")]

src/test/ui/consts/const_arg_local.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: argument 3 is required to be a constant
2-
--> $DIR/const_arg_local.rs:8:5
2+
--> $DIR/const_arg_local.rs:10:5
33
|
44
LL | _mm_clmulepi64_si128(a, b, imm8)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/test/ui/consts/const_arg_promotable.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// only-x86_64
2+
13
#[cfg(target_arch = "x86")]
24
use std::arch::x86::*;
35
#[cfg(target_arch = "x86_64")]

src/test/ui/consts/const_arg_promotable.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: argument 3 is required to be a constant
2-
--> $DIR/const_arg_promotable.rs:7:5
2+
--> $DIR/const_arg_promotable.rs:9:5
33
|
44
LL | _mm_clmulepi64_si128(a, b, *&mut 42)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/test/ui/consts/const_arg_wrapper.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// only-x86_64
2+
13
#[cfg(target_arch = "x86")]
24
use std::arch::x86::*;
35
#[cfg(target_arch = "x86_64")]

src/test/ui/consts/const_arg_wrapper.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: argument 3 is required to be a constant
2-
--> $DIR/const_arg_wrapper.rs:7:5
2+
--> $DIR/const_arg_wrapper.rs:9:5
33
|
44
LL | _mm_clmulepi64_si128(a, b, imm8)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)