Expand description
§Stable intrinsics
This crate wraps irreplacable instrisic functions on nightly, and re-implements it otherwise.
Traits§
- Disjoint
BitOr - Same as
core::intrinsics::fallback::DisjointBitOrexcept it is notconstdue to stable and beta limitations.
Functions§
- abort
- Same as
std::intrinsics::aborton nightly. On stable and beta, the exact behavior depends on whether or not thatstdis avalible. - breakpoint
- Same as
std::intrinsics::breakpointon nightly. On stable and beta, the implementation depends on the target architecture. - cold_
path - Same as
core::intrinsics::cold_pathon nightly. On stable and beta, it is a no-op. - disjoint_
bitor ⚠ - Same as
core::intrinsics::disjoint_bitoron nightly except theconst-ness. On stable and beta, it is implemented withcore::hint::assert_unchecked. - likely
- Same as
core::intrinsics::likelyon nightly. On stable and beta, it is an identity function. - nontemporal_
store ⚠ - Same as
core::intrinsics::nontemporal_storeon nightly. On stable and beta, it is simply a pointer store. - prefetch_
read_ ⚠data - Same as
core::intrinsics::prefetch_read_dataon nightly. On stable and beta, it is a no-op. - prefetch_
read_ ⚠instruction - Same as
core::intrinsics::prefetch_read_instructionon nightly. On stable and beta, it is a no-op. - prefetch_
write_ ⚠data - Same as
core::intrinsics::prefetch_write_dataon nightly. On stable and beta, it is a no-op. - prefetch_
write_ ⚠instruction - Same as
core::intrinsics::prefetch_write_instructionon nightly. On stable and beta, it is a no-op. - raw_eq⚠
- Same as
core::intrinsics::raw_eqon nightly. On stable and beta,aandbare converted into[u8]before comparason. - select_
unpredictable - Same as
core::intrinsics::select_unpredictableon nightly. On stable and beta, use an if-else to determine the output. - transmute_
unchecked ⚠ - Same as
core::intrinsics::transmute_unchecked. - unlikely
- Same as
core::intrinsics::unlikelyon nightly. On stable and beta, it is an identity function.