aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYuri Rumyantsev <ysrumyan@gmail.com>2013-12-13 16:11:41 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-12-13 08:11:41 -0800
commitb0d97c338781ef524f1dbc44c4dffbe4b707ac19 (patch)
treec7cd146c043cf61207ff6b048c2e79414271614a /gcc
parentb83b550780a6ee31c6e8b9da922c2a087f7bd44c (diff)
downloadgcc-b0d97c338781ef524f1dbc44c4dffbe4b707ac19.zip
gcc-b0d97c338781ef524f1dbc44c4dffbe4b707ac19.tar.gz
gcc-b0d97c338781ef524f1dbc44c4dffbe4b707ac19.tar.bz2
Update HImode imul cost for Silvermont
2013-12-13 Yuri Rumyantsev <ysrumyan@gmail.com> * config/i386/i386.c (slm_cost): Fix imul cost for HI. From-SVN: r205962
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db76797..493286b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-13 Yuri Rumyantsev <ysrumyan@gmail.com>
+
+ * config/i386/i386.c (slm_cost): Fix imul cost for HI.
+
2013-12-13 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/58296
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b37025b..2606b3b 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1684,7 +1684,7 @@ struct processor_costs slm_cost = {
COSTS_N_INSNS (1), /* variable shift costs */
COSTS_N_INSNS (1), /* constant shift costs */
{COSTS_N_INSNS (3), /* cost of starting multiply for QI */
- COSTS_N_INSNS (4), /* HI */
+ COSTS_N_INSNS (3), /* HI */
COSTS_N_INSNS (3), /* SI */
COSTS_N_INSNS (4), /* DI */
COSTS_N_INSNS (2)}, /* other */