Update HImode imul cost for Silvermont
authorYuri Rumyantsev <ysrumyan@gmail.com>
Fri, 13 Dec 2013 16:11:41 +0000 (16:11 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 13 Dec 2013 16:11:41 +0000 (08:11 -0800)
2013-12-13  Yuri Rumyantsev  <ysrumyan@gmail.com>

* config/i386/i386.c (slm_cost): Fix imul cost for HI.

From-SVN: r205962

gcc/ChangeLog
gcc/config/i386/i386.c

index db76797..493286b 100644 (file)
@@ -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
index b37025b..2606b3b 100644 (file)
@@ -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 */