mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
Only run SIMD tests on x86
This commit is contained in:
@@ -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)
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user