Skip to content

Commit

Permalink
fix arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Feb 23, 2024
1 parent d3e19fd commit 641b1b0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
21 changes: 18 additions & 3 deletions src/simd/simd_i64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
use super::config::SIMDInstructionSet;
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
use super::generic::{impl_SIMDArgMinMax, impl_SIMDInit_Int};
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use super::generic::{SIMDArgMinMax, SIMDInit, SIMDOps};
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use crate::SCALAR;
#[cfg(target_arch = "aarch64")]
use std::arch::aarch64::*;
Expand All @@ -14,7 +24,12 @@ use std::arch::x86::*;
use std::arch::x86_64::*;

/// The dtype-strategy for performing operations on i64 data: (default) Int
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use super::super::dtype_strategy::Int;

#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
Expand Down
21 changes: 18 additions & 3 deletions src/simd/simd_u64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@
use super::config::SIMDInstructionSet;
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
use super::generic::{impl_SIMDArgMinMax, impl_SIMDInit_Int};
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use super::generic::{SIMDArgMinMax, SIMDInit, SIMDOps};
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use crate::SCALAR;
#[cfg(target_arch = "aarch64")]
use std::arch::aarch64::*;
Expand All @@ -27,7 +37,12 @@ use std::arch::x86::*;
use std::arch::x86_64::*;

/// The dtype-strategy for performing operations on u64 data: (default) Int
#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "aarch64",
feature = "nightly_simd"
))]
use super::super::dtype_strategy::Int;

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
Expand Down

0 comments on commit 641b1b0

Please sign in to comment.