-
- Downloads
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.
Co-Authored-By:
Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
From-SVN: r148277
Showing
- gcc/ChangeLog 19 additions, 0 deletionsgcc/ChangeLog
- gcc/doc/invoke.texi 9 additions, 0 deletionsgcc/doc/invoke.texi
- gcc/params.def 11 additions, 0 deletionsgcc/params.def
- gcc/params.h 4 additions, 0 deletionsgcc/params.h
- gcc/tree-ssa-loop-prefetch.c 117 additions, 26 deletionsgcc/tree-ssa-loop-prefetch.c
Loading
Please register or sign in to comment