r148277 - in /trunk/gcc: ChangeLog doc/invoke.t...
dwarak@gcc.gnu.org
dwarak@gcc.gnu.org
Mon Jun 8 16:00:00 GMT 2009
Author: dwarak
Date: Mon Jun 8 16:00:13 2009
New Revision: 148277
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148277
Log:
2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com>
Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* tree-ssa-loop-prefetch.c
(gather_memory_references): Introduced a counter for the number of
memory references.
(anything_to_prefetch_p): Introduced a counter for the number of
prefetches.
(is_loop_prefetching_profitable): New function with a cost model
for prefetching.
(loop_prefetch_arrays): Use the new cost model to determine if
prefetching is profitable.
* params.def (MIN_INSN_TO_PREFETCH_RATIO,
PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
* params.h (MIN_INSN_TO_PREFETCH_RATIO,
PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
* doc/invoke.texi (MIN_INSN_TO_PREFETCH_RATIO,
PREFETCH_MIN_INSN_TO_MEM_RATIO): New parameters.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/invoke.texi
trunk/gcc/params.def
trunk/gcc/params.h
trunk/gcc/tree-ssa-loop-prefetch.c
More information about the Gcc-cvs
mailing list