aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-04-03 12:55:44 +0000
committerYvan Roux <yvan.roux@linaro.org>2017-04-04 07:28:58 +0000
commitceed07319cd83eda933ffd6fceaf28ff56c1fff9 (patch)
tree3a3345698905deb47922a0d12b59eeba1a292eec
parentd4e9d6e2d80cc16fbbb784528fa1956c167f7c2e (diff)
gcc/
Backport from trunk r246397. 2017-03-22 Wilco Dijkstra <wdijkstr@arm.com> * config/aarch64/aarch64.c (generic_branch_cost): Copycortexa57_branch_cost. Change-Id: I98bec5f8c773bfbcf289b906c8087f932847dfb7
-rw-r--r--gcc/config/aarch64/aarch64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 248fb54ba24..b62f8f3eddf 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -484,8 +484,8 @@ static const struct cpu_vector_cost vulcan_vector_cost =
/* Generic costs for branch instructions. */
static const struct cpu_branch_cost generic_branch_cost =
{
- 2, /* Predictable. */
- 2 /* Unpredictable. */
+ 1, /* Predictable. */
+ 3 /* Unpredictable. */
};
/* Branch costs for Cortex-A57. */