Correct. The prefetchi* instruction targets the L2 cache. It’s not documented, but it’s not hard to verify with microbenchmarks. The increase in L1 icache is not from those instructions per se as it’s not reproducible when they are replaced by the same size nops. We believe it’s due to evictions from the L2 which subsequently cause evictions in the L1 icache (due to cache inclusivity).
1 Like