Skip to content

Commit

Permalink
Only import aarch64 intrinsics on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
afonso360 committed Nov 4, 2023
1 parent f824da6 commit 209476e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/neon.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down

0 comments on commit 209476e

Please sign in to comment.