Re: -fprefetch-loop-arrays and hardware prefetch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zuxy,

There is a check made to see if the hardware supports prefetch if so
then the -fprefetch-loop-arrays flags is ignored. In many other
architectures this is still quite useful.
But currently I think the prefetch flag is always set to 0 in "loop.c".

Regards,
Praveen


On 4/27/07, Zuxy Meng <zuxy.meng@xxxxxxxxx> wrote:
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





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux