aboutsummaryrefslogtreecommitdiff
path: root/gcc/dojump.c
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2011-06-02 20:13:08 +0000
committerJulian Brown <jules@gcc.gnu.org>2011-06-02 20:13:08 +0000
commit153668ec8625551f371dc34a31ec2d42ddbec03f (patch)
tree95553b682421937874e93703d48585f869e35c27 /gcc/dojump.c
parent7ec70105dd24c40d5eb60c2f1199cc7e0c3a6cd2 (diff)
downloadgcc-153668ec8625551f371dc34a31ec2d42ddbec03f.zip
gcc-153668ec8625551f371dc34a31ec2d42ddbec03f.tar.gz
gcc-153668ec8625551f371dc34a31ec2d42ddbec03f.tar.bz2
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
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r--gcc/dojump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c
index 6437a1f..7606c15 100644
--- a/gcc/dojump.c
+++ b/gcc/dojump.c
@@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see
#include "ggc.h"
#include "basic-block.h"
#include "output.h"
+#include "tm_p.h"
static bool prefer_and_bit_test (enum machine_mode, int);
static void do_jump_by_parts_greater (tree, tree, int, rtx, rtx, int);