Displaying 1 result from an estimated 1 matches for "prefetch2".
Did you mean:
prefetch
2015 Jul 30
0
[LLVMdev] [x86] Prefetch intrinsics and prefetchw
...no PREFETCHW for higher-level cache-lines,
it is debatable what prefetch instruction should be generated when a write
prefetch is requested with a locality < 3. One opinion is that the rw
parameter takes precedence over locality, therefore prefetch(a, 1, 1, 1) should
generate prefetchw and not prefetch2. FWIW, this is what GCC appears to
do (write trumps locality.)
Not sure if there is a right/wrong here; what is the preferred behavior?
Thanks,
- Josh