Skip to content
Permalink
Browse files

Only run SIMD tests on x86

  • Loading branch information...
oli-obk committed Apr 7, 2019
1 parent 54ea7f7 commit 01e83943f9dbcd421826eaed5fa04df8e1bb5570
@@ -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)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 comments on commit 01e8394

Please sign in to comment.
You can’t perform that action at this time.