prefetch_eight_offsets

Function prefetch_eight_offsets 

Source
pub fn prefetch_eight_offsets<T, L: CacheLevel>(base: &T, offsets: &[u32; 8])
Expand description

Prefetch eight memory addresses at once using offsets from a base pointer

This function takes a base pointer and an array of 8 offsets, then prefetches each calculated address. The prefetch operations are unrolled for maximum performance and use SIMD address calculations where beneficial.

§Arguments

  • base - Base pointer to the data structure
  • offsets - Array of exactly 8 u32 offsets from the base

§Type Parameters

  • T - The type of the base data structure
  • L - Cache level implementing the CacheLevel trait