aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 389c9af..6210564 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.c (cortexa9_extra_costs): Update mult costs for
+ extend and extend_add.
+
2013-10-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/58794
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index f4ce58b..78554e8 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1076,18 +1076,18 @@ const struct cpu_cost_table cortexa9_extra_costs =
{
COSTS_N_INSNS (3), /* Simple. */
COSTS_N_INSNS (3), /* Flag_setting. */
- COSTS_N_INSNS (4), /* Extend. */
+ COSTS_N_INSNS (2), /* Extend. */
COSTS_N_INSNS (3), /* Add. */
- COSTS_N_INSNS (4), /* Extend_add. */
+ COSTS_N_INSNS (2), /* Extend_add. */
COSTS_N_INSNS (30) /* Idiv. No HW div on Cortex A9. */
},
/* MULT DImode */
{
0, /* Simple (N/A). */
0, /* Flag_setting (N/A). */
- 0, /* Extend (N/A). */
+ COSTS_N_INSNS (4), /* Extend. */
0, /* Add (N/A). */
- 0, /* Extend_add (N/A). */
+ COSTS_N_INSNS (4), /* Extend_add. */
0 /* Idiv (N/A). */
}
},