polyval/backend.rs
1cpubits::cfg_if! {
2 if #[cfg(all(
3 any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"),
4 not(polyval_backend = "soft")
5 ))] {
6 mod intrinsics;
7 pub(crate) use intrinsics::State;
8 } else {
9 // "soft" pure Rust portable fallback implementation for other targets
10 mod soft;
11 pub(crate) use soft::State;
12 }
13}