std1.0.0-beta-7 SafeC docs

std :: mem

Function std::mem_prefetch

#include <std/mem.h> source ยท definition

generic<T> void mem_prefetch(const &T addr, int write, int locality)

Software prefetch hint (maps to __builtin_prefetch on GCC/Clang, no-op elsewhere). locality: 0=no temporal, 1=low, 2=moderate, 3=high