gcc/
* config/aarch64/aarch64.c (cortexa57_branch_costs): New.
(cortexa57_tunings): Use it.
From-SVN: r230409
+2015-11-16 James Greenhalgh <james.greenhalgh@arm.com>
+
+ * config/aarch64/aarch64.c (cortexa57_branch_costs): New.
+ (cortexa57_tunings): Use it.
+
2015-11-16 Christian Bruel <christian.bruel@st.com>
PR target/65837
2 /* Unpredictable. */
};
+/* Branch costs for Cortex-A57. */
+static const struct cpu_branch_cost cortexa57_branch_cost =
+{
+ 1, /* Predictable. */
+ 3 /* Unpredictable. */
+};
+
static const struct tune_params generic_tunings =
{
&cortexa57_extra_costs,
&cortexa57_addrcost_table,
&cortexa57_regmove_cost,
&cortexa57_vector_cost,
- &generic_branch_cost,
+ &cortexa57_branch_cost,
4, /* memmov_cost */
3, /* issue_rate */
(AARCH64_FUSE_MOV_MOVK | AARCH64_FUSE_ADRP_ADD