[][src]Function lokacore::arch::x86_64::prefetch_nta

pub fn prefetch_nta(ptr: *const impl Sized)

Prefetch with non-temporal hint.

Non-temporal access is inherently spooky with respect to the rest of the memory model. When I asked a member of the Rust Language Team how they felt about non-temporal access, they simply replied with [the confounded emoji]https://emojipedia.org/confounded-face/). I don't expose actual non-temporal store/load methods as safe operations, but a non-temporal prefetch is still fine to do.