Function core::arch::x86_64::_mm_prefetch1.27.0[][src]

pub unsafe fn _mm_prefetch(p: *const i8, strategy: i32)
This is supported on x86-64 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:

Intel’s documentation