This is to keep track of two patches: <http://gcc.gnu.org/ml/gcc-patches/2003-10/ msg02412.html> and <http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02414.html> which have the mod Value based feeedback work on PPC and other targets that do not have a MOD or an UMOD rtl. Note I will fix up the first patch to use find_reg_equiv_note instead.
Need to send updated patches in.
I will ask for a ping soon on these patches.
Waiting to VPT is implemented on the tree level, then this does not need to happen at all.
Suspending untill VPT is implemented on the tree level.
Fixed in 4.1.0 by: 2005-03-29 Dale Johannesen <dalej@apple.com> * Makefile.in (value-prof.o): New dependencies on $(DIAGNOSTIC_H) $(TREE_H) and $(COVERAGE_H). * coverage.c (compute_checksum): Use DECL_NAME not DECL_ASSEMBLER_NAME. * opts.c (common_handle_option): Enable tree-based value transforms. * toplev.c (process_options): Ditto. * value-prof.h (struct histogram_value_t): Redefine. "Adjust" below refers to references to this type. * tree-flow.h: (struct stmt_ann_d): Add histograms field. * rtl-profile.c (rtl_gen_interval_profiler): Adjust. Remove checks for may_be_more, may_be_less. (rtl_gen_pow2_profiler): Adjust. (rtl_gen_one_value_profiler_no_edge_manip): Adjust. (rtl_gen_one_value_profiler): Adjust. (rtl_gen_const_delta_profiler): Adjust. * tree-profile.c (tree_gen_interval_profiler): Implement. (tree_gen_pow2_profiler): Ditto. ......