Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ bench = false
[[bench]]
name = "benchmarks"
harness = false

[features]
unstable-simd = []
8 changes: 8 additions & 0 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ pub use self::{
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub use self::{engine_avx2::Avx2, engine_ssse3::Ssse3};

#[cfg(feature = "unstable-simd")]
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub use self::engine_avx512::Avx512;

#[cfg(target_arch = "aarch64")]
pub use self::engine_neon::Neon;

Expand All @@ -54,6 +58,10 @@ mod engine_avx2;
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
mod engine_ssse3;

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
#[cfg(feature = "unstable-simd")]
mod engine_avx512;

#[cfg(target_arch = "aarch64")]
mod engine_neon;

Expand Down
Loading