Only run SIMD tests on x86
This commit is contained in:
parent
54ea7f726e
commit
01e83943f9
6 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
// only-x86_64
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
use std::arch::x86::*;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: argument 3 is required to be a constant
|
||||
--> $DIR/const_arg_local.rs:8:5
|
||||
--> $DIR/const_arg_local.rs:10:5
|
||||
|
|
||||
LL | _mm_clmulepi64_si128(a, b, imm8)
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// only-x86_64
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
use std::arch::x86::*;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: argument 3 is required to be a constant
|
||||
--> $DIR/const_arg_promotable.rs:7:5
|
||||
--> $DIR/const_arg_promotable.rs:9:5
|
||||
|
|
||||
LL | _mm_clmulepi64_si128(a, b, *&mut 42)
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// only-x86_64
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
use std::arch::x86::*;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: argument 3 is required to be a constant
|
||||
--> $DIR/const_arg_wrapper.rs:7:5
|
||||
--> $DIR/const_arg_wrapper.rs:9:5
|
||||
|
|
||||
LL | _mm_clmulepi64_si128(a, b, imm8)
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in a new issue