3 ms·
There's SW prefetch instructions and HW prefetching engines. SW prefetch instructions have largely been a bust. Linus is famous for ranting about them. https:/
by CalChris 7y ago
There's SW prefetch instructions and HW prefetching engines. SW prefetch instructions have largely been a bust. Linus is famous for ranting about them.
https://yarchive.net/comp/linux/software_prefetching.html https://yarchive.net/comp/linux/software_prefetching.html
HW looks at access patterns (as you say) and does at least as good a job.
- BubRoss 7y agoYep, I've tried to use prefetch instrinsics multiple times and I've never been able to beat the CPU and speed things up.