arm-protos.h (tune_params): Add branch_cost hook.
commit153668ec8625551f371dc34a31ec2d42ddbec03f
authorJulian Brown <julian@codesourcery.com>
Thu, 2 Jun 2011 20:13:08 +0000 (2 20:13 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Thu, 2 Jun 2011 20:13:08 +0000 (2 20:13 +0000)
tree95553b682421937874e93703d48585f869e35c27
parent7ec70105dd24c40d5eb60c2f1199cc7e0c3a6cd2
arm-protos.h (tune_params): Add branch_cost hook.

gcc/
* config/arm/arm-protos.h (tune_params): Add branch_cost hook.
* config/arm/arm.c (arm_default_branch_cost): New.
(arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune)
(arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune)
(arm_fa726_tune): Set branch_cost field using
arm_default_branch_cost.
* config/arm/arm.h (BRANCH_COST): Use branch_cost hook from
current_tune structure.
* dojump.c (tm_p.h): Include file.

From-SVN: r174578
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/dojump.c