[AArch64] Add branch-cost to cpu tuning information.
authorMatthew Wahab <matthew.wahab@arm.com>
Tue, 5 May 2015 14:01:28 +0000 (14:01 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Tue, 5 May 2015 14:01:28 +0000 (14:01 +0000)
commitb9066f5ae8c8bb806d173238c3f77097390fa405
tree9e2822677808e8a55bdc8c6a0cef2699dda9067b
parent6987c38487443ef2055c40d2859682ec2a0cd4de
[AArch64] Add branch-cost to cpu tuning information.

* gcc/config/aarch64-protos.h (struct cpu_branch_cost): New.
        (tune_params): Add field branch_costs.
(aarch64_branch_cost): Declare.
* gcc/config/aarch64.c (generic_branch_cost): New.
(generic_tunings): Set field cpu_branch_cost to generic_branch_cost.
(cortexa53_tunings): Likewise.
(cortexa57_tunings): Likewise.
(thunderx_tunings): Likewise.
(xgene1_tunings): Likewise.
(aarch64_branch_cost): Define.
* gcc/config/aarch64/aarch64.h (BRANCH_COST): Redefine.

From-SVN: r222805
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h