]> git.proxmox.com Git - rustc.git/blame - vendor/bytecount/src/simd/mod.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / bytecount / src / simd / mod.rs
CommitLineData
f20569fa
XL
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;