Only import aarch64 intrinsics on aarch64
This commit is contained in:
parent
f824da66c6
commit
209476e33a
@ -1,6 +1,8 @@
|
|||||||
// Most of these tests are copied from https://github.com/japaric/stdsimd/blob/0f4413d01c4f0c3ffbc5a69e9a37fbc7235b31a9/coresimd/arm/neon.rs
|
// Most of these tests are copied from https://github.com/japaric/stdsimd/blob/0f4413d01c4f0c3ffbc5a69e9a37fbc7235b31a9/coresimd/arm/neon.rs
|
||||||
|
|
||||||
#![feature(portable_simd)]
|
#![feature(portable_simd)]
|
||||||
|
|
||||||
|
#[cfg(target_arch = "aarch64")]
|
||||||
use std::arch::aarch64::*;
|
use std::arch::aarch64::*;
|
||||||
use std::mem::transmute;
|
use std::mem::transmute;
|
||||||
use std::simd::*;
|
use std::simd::*;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user