diff options
author | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2014-01-30 13:26:15 +0400 |
---|---|---|
committer | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2014-01-30 16:26:54 +0400 |
commit | a108aa5cbab7efe4eedd19f68d7a9bbe021b2168 (patch) | |
tree | 56cc058a91ff667757085b96feb2880e8f456efe /gcc-4.7/gcc/config | |
parent | 5be615df32ce970fcccda93cf577e9ce35b1d397 (diff) | |
download | toolchain_gcc-a108aa5cbab7efe4eedd19f68d7a9bbe021b2168.tar.gz toolchain_gcc-a108aa5cbab7efe4eedd19f68d7a9bbe021b2168.tar.bz2 toolchain_gcc-a108aa5cbab7efe4eedd19f68d7a9bbe021b2168.zip |
[4.7, 4.8] Backport of two patches for additional SLM-tuning.
We don't have config/i386/x86-tune.def in 4.8, instead
initial_ix86_tune_features is modified. This one is for 4.8 only.
2013-09-12 Yuri Rumyantsev <ysrumyan@gmail.com>
* config/i386/x86-tune.def: Turn on X86_TUNE_AVOID_MEM_OPND_FOR_CMOVE
for SLM.
Update HImode imul cost for Silvermont
2013-12-13 Yuri Rumyantsev <ysrumyan@gmail.com>
* config/i386/i386.c (slm_cost): Fix imul cost for HI.
Change-Id: I3e6e7b157897e93bc3874738635db4ecf4e7f587
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
Diffstat (limited to 'gcc-4.7/gcc/config')
-rw-r--r-- | gcc-4.7/gcc/config/i386/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.7/gcc/config/i386/i386.c b/gcc-4.7/gcc/config/i386/i386.c index b9f9d7728..e3e08ee45 100644 --- a/gcc-4.7/gcc/config/i386/i386.c +++ b/gcc-4.7/gcc/config/i386/i386.c @@ -1659,7 +1659,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 */ |