[patch] Prefetch: adjust prefetch_mod to unroll_factor ratio threshold

Fang, Changpeng Changpeng.Fang@amd.com
Mon Jun 7 19:45:00 GMT 2010


Hi, 

Attached is the patch to adjust the prefetch_mod to unroll_factor ratio threshold
from 8 to 4. In certain sense, this adjustment means that we do not generate a prefetch
if it introduces 7 or more useless prefetches. 

This patch improves 416.gamess by 2~3% on amd-linux64 systems.

patch passed bootstrapping and gcc regression tests.

Is it OK for the trunk?

Thanks,

Changpeng  
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adjust-the-threshold-value-of-PREFETCH_MOD_TO_UNROLL.patch
Type: text/x-patch
Size: 1556 bytes
Desc: 0001-Adjust-the-threshold-value-of-PREFETCH_MOD_TO_UNROLL.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100607/055b80c1/attachment.bin>


More information about the Gcc-patches mailing list