diff options
author | Yuri Rumyantsev <ysrumyan@gmail.com> | 2013-12-16 08:52:08 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2013-12-16 08:52:08 +0000 |
commit | cc7937daac03527ce477cad65d0ae20faa87efc3 (patch) | |
tree | 9e44902f8c27a29f585caeb06691b7bd1763d6d1 /gcc | |
parent | 9f1363cd0d72667eac019840e929e64431ee5d4e (diff) | |
download | gcc-cc7937daac03527ce477cad65d0ae20faa87efc3.zip gcc-cc7937daac03527ce477cad65d0ae20faa87efc3.tar.gz gcc-cc7937daac03527ce477cad65d0ae20faa87efc3.tar.bz2 |
i386.c (slm_cost): Fix imul cost for HI.
* config/i386/i386.c (slm_cost): Fix imul cost for HI.
From-SVN: r206010
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95d6574..accfc23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ecf5e0b..f7dfb41 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 */ |