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

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

From-SVN: r206010
This commit is contained in:
Yuri Rumyantsev 2013-12-16 08:52:08 +00:00 committed by Kirill Yukhin
parent 9f1363cd0d
commit cc7937daac
2 changed files with 4 additions and 1 deletions

View 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

View 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 */