This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Make branch_cost changeable on rs6000


2003-02-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c: (rs6000_branch_cost_string): New Var.
        (rs6000_branch_cost): New Var. (rs6000_override_options): Set 
	rs6000_branch_cost.
        * config/rs6000/rs6000.h: (TARGET_OPTIONS): Add `branch-cost='.
        (rs6000_branch_cost_string): Declare. (rs6000_branch_cost): Declare.
        (BRANCH_COST): Use rs6000_branch_cost.

If you are going to change branch_cost, why don't you set the appropriate
value automatically instead of adding another mysterious parameter on the
command line?

This patch is not okay.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]