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