// cpu prefetch intrinsics for x86_64
// use for optimizing memory access patterns in latency-sensitive code
use ;
/// prefetches memory for read access into L1 cache.
///
/// use this for data that will be read soon and accessed multiple times.
///
/// # safety
///
/// the pointer should be derived from a valid allocation or object. On x86_64
/// the prefetch instruction is only a cache hint and generally does not fault,
/// but callers should still avoid fabricating invalid provenance.
pub unsafe
/// no-op prefetch fallback for unsupported targets.
///
/// # safety
///
/// this function does not dereference the pointer.
pub unsafe