bytecount/simd/mod.rs
1#[cfg(feature = "generic-simd")]
2pub mod generic;
3
4// This is like generic, but written explicitly
5// because generic SIMD requires nightly.
6#[cfg(all(
7 feature = "runtime-dispatch-simd",
8 any(target_arch = "x86", target_arch = "x86_64"),
9 not(feature = "generic-simd")
10))]
11pub mod x86_sse2;
12
13// Modern x86 machines can do lots of fun stuff;
14// this is where the *real* optimizations go.
15// Runtime feature detection is not available with no_std.
16#[cfg(all(feature = "runtime-dispatch-simd", target_arch = "x86_64"))]
17pub mod x86_avx2;
18
19/// Modern ARM machines are also quite capable thanks to NEON
20#[cfg(target_arch = "aarch64")]
21pub mod aarch64;
22
23#[cfg(target_arch = "wasm32")]
24pub mod wasm;