diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-28 21:48:38 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-28 21:48:38 +0000 |
commit | ed4294da0b6d54f4ef3c00784ff132258e8cf9ae (patch) | |
tree | 377bb80f4913f0795be700e07ba6b59ac515ec9f /gcc/toplev.c | |
parent | 0aca0eb6a538d96f1c8bd25f289c4f5eea05573c (diff) | |
download | gcc-ed4294da0b6d54f4ef3c00784ff132258e8cf9ae.tar.gz |
* Makefile.in (rtl-profile.o): Kill all traces of it.
* common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
* coverage.h (rtl_coverage_counter_ref): Kill.
* opts.c (flag_speculative_prefetching_set): Kill.
(flag_loop_optimize_set): New.
(common_handle_option): Disable loop optimizer when profiling;
do not handle speculative prefetching.
* passes.c (init_optimization_passes): Replace pass_profiling combo
by branch_prob pass.
* profile.c (compute_value_histograms): Update for simplified value
profiles.
(rtl_register_profile_hooks): Kill.
(pass_profiling): Kill.
(rest_of_handle_branch_prob): Do not profile.
* toplev.c (process_options): Remove speculative prefetching.
* toplev.h (flag_tree_based_profiling): Kill.
* tree-profile.c (prepare_instrumented_value,
tree_gen_interval_profiler, tree_gen_pow2_profiler,
tree_gen_one_value_profiler, do_tree_profiling): Update for
simplified datastructures.
* value-prof.c: Add comment that speculative prefetching was dropped;
update rest of file for simplified datastructures.
(NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
find_mem_reference_1, find_mem_reference_2, find_mem_reference,
rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
rtl_mod_subtract, gen_speculative_prefetch,
rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
(gate_handle_value_profile_transformations,
rest_of_handle_value_profile_transformations,
pass_value_profile_transformations): Kill.
* value-prof.h (histogram_value_t): Remove IL based unions.
(rtl_register_value_prof_hooks, rtl_register_profile_hooks,
rtl_profile_hooks): Remove hooks.
* invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
* inliner-1.c: Do not dump everything.
* tree-prof.exp: Do not pass -ftree-based-profiling.
* bprob.exp: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102522 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index b5ee33b33b8..094a2e245ac 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1562,17 +1562,6 @@ process_options (void) if (flag_value_profile_transformations) flag_profile_values = 1; - /* Speculative prefetching implies the value profiling. We also switch off - the prefetching in the loop optimizer, so that we do not emit double - prefetches. TODO -- we should teach these two to cooperate; the loop - based prefetching may sometimes do a better job, especially in connection - with reuse analysis. */ - if (flag_speculative_prefetching) - { - flag_profile_values = 1; - flag_prefetch_loop_arrays = 0; - } - /* Warn about options that are not supported on this machine. */ #ifndef INSN_SCHEDULING if (flag_schedule_insns || flag_schedule_insns_after_reload) @@ -1732,24 +1721,12 @@ process_options (void) warning (0, "-fprefetch-loop-arrays not supported for this target"); flag_prefetch_loop_arrays = 0; } - if (flag_speculative_prefetching) - { - if (flag_speculative_prefetching_set) - warning (0, "-fspeculative-prefetching not supported for this target"); - flag_speculative_prefetching = 0; - } #else if (flag_prefetch_loop_arrays && !HAVE_prefetch) { warning (0, "-fprefetch-loop-arrays not supported for this target (try -march switches)"); flag_prefetch_loop_arrays = 0; } - if (flag_speculative_prefetching && !HAVE_prefetch) - { - if (flag_speculative_prefetching_set) - warning (0, "-fspeculative-prefetching not supported for this target (try -march switches)"); - flag_speculative_prefetching = 0; - } #endif /* This combination of options isn't handled for i386 targets and doesn't |