-fprefetch-loop-arrays and hardware prefetch

Zuxy Meng zuxy.meng@gmail.com
Fri Apr 27 08:47:00 GMT 2007


Hi,

Modern x86/x86-64 CPUs support hardware prefetch if memory loads are in a 
regular pattern, and software prefetch is recommended only when memory 
access pattern is hard to determine by hardware. Does that 
mean -fprefetch-loop-arrays is unnecessary on such CPUs?

-- 
Zuxy 





More information about the Gcc-help mailing list