Skip to content

Commit

Permalink
🧘 review code
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Mar 1, 2024
1 parent cacfb3c commit 4967e1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/simd/simd_f64_ignore_nan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ mod neon_ignore_nan {
unimpl_SIMDArgMinMax!(f64, usize, SCALAR<FloatIgnoreNaN>, NEON<FloatIgnoreNaN>);
}

#[cfg(target_arch = "aarch64")]
#[cfg(target_arch = "aarch64")] // stable for AArch64
mod neon_ignore_nan {
use super::super::config::NEON;
use super::*;
Expand Down
4 changes: 2 additions & 2 deletions src/simd/simd_f64_return_nan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ mod avx512 {

// There are NEON SIMD intrinsics for i64 (used after ord_transform), but
// - for arm we miss the vcgt_ and vclt_ intrinsics.
// - for aarch64 the required intrinsics are present (on nightly)
// - for aarch64 the required intrinsics are present (on stable!!)

#[cfg(target_arch = "arm")]
#[cfg(feature = "nightly_simd")]
Expand All @@ -410,7 +410,7 @@ mod neon {
unimpl_SIMDArgMinMax!(f64, usize, SCALAR<FloatReturnNaN>, NEON<FloatReturnNaN>);
}

#[cfg(target_arch = "aarch64")]
#[cfg(target_arch = "aarch64")] // stable for AArch64
mod neon {
use super::super::config::NEON;
use super::*;
Expand Down
1 change: 0 additions & 1 deletion src/simd/simd_i16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ mod neon {

#[inline(always)]
unsafe fn _mm_loadu(data: *const i16) -> int16x8_t {
// experimental on arm
vld1q_s16(data as *const i16)
}

Expand Down

0 comments on commit 4967e1b

Please sign in to comment.