From: Yuri Rumyantsev Date: Mon, 16 Dec 2013 08:52:08 +0000 (+0000) Subject: i386.c (slm_cost): Fix imul cost for HI. X-Git-Tag: misc/gupc_5_2_0_release~115^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc7937daac03527ce477cad65d0ae20faa87efc3;p=thirdparty%2Fgcc.git i386.c (slm_cost): Fix imul cost for HI. * config/i386/i386.c (slm_cost): Fix imul cost for HI. From-SVN: r206010 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95d657481322..accfc234e32c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,6 @@ +2013-12-16 Yuri Rumyantsev + * config/i386/i386.c (slm_cost): Fix imul cost for HI. + 2013-12-16 Jakub Jelinek PR middle-end/58956 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ecf5e0b1bc00..f7dfb41c6149 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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 */