1 Matching Annotations
  1. Apr 2022
    1. Repeated references to local variables are good because the compiler cancache them in the register file (temporal locality).. Stride-1 reference patterns are good because caches at all levels of the memoryhierarchy store data as contiguous blocks (spatial locality).

      重复使用 local variable 以及 stride-1 pattern 为什么是 cache-friendly 的?