cmov/
backends.rs

1//! Backends for `cmov`, only one of which will be selected at compile-time.
2
3// Architecture-specific backends for target architectures with native predication instructions
4#[cfg(not(miri))]
5#[cfg(target_arch = "aarch64")]
6mod aarch64;
7#[cfg(not(miri))]
8#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
9mod x86;
10
11// Fallback portable implementation for targets which don't have native predication instructions
12// (or if they do, aren't currently supported)
13#[cfg(any(
14    not(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")),
15    miri
16))]
17mod soft;