Function core::arch::x86::_mm_prefetch [] [src]

pub unsafe fn _mm_prefetch(p: *const i8, strategy: i32)
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on x86 and target feature sse only.

Fetch the cache line that contains address p using the given strategy.

The strategy must be one of:

The actual implementation depends on the particular CPU. This instruction is considered a hint, so the CPU is also free to simply ignore the request.

The amount of prefetched data depends on the cache line size of the specific CPU, but it will be at least 32 bytes.

Common caveats: