i386.c (slm_cost): Fix imul cost for HI.
authorYuri Rumyantsev <ysrumyan@gmail.com>
Mon, 16 Dec 2013 08:52:08 +0000 (08:52 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Mon, 16 Dec 2013 08:52:08 +0000 (08:52 +0000)
* config/i386/i386.c (slm_cost): Fix imul cost for HI.

From-SVN: r206010

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

index 95d6574..accfc23 100644 (file)
@@ -1,3 +1,6 @@
+2013-12-16  Yuri Rumyantsev  <ysrumyan@gmail.com>
+       * config/i386/i386.c (slm_cost): Fix imul cost for HI.
+
 2013-12-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/58956
index ecf5e0b..f7dfb41 100644 (file)
@@ -1607,7 +1607,7 @@ struct processor_costs atom_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 */