]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 95d657481322180a184f0ba72583c25b7e072a3e..accfc234e32c1df3d25a6c6a616f2b40e11bbfa8 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 ecf5e0b1bc001d30fbe27f2ae945dd4884f72a58..f7dfb41c61490477923a5761bd85713dfe23fba7 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 */