aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-06-20 13:52:08 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-06-20 02:15:53 +0000
commit1610db7b1892fe4da05cf4b0f64d9653978507d8 (patch)
tree3c345a976892a36b0a6d7bc11d8c33ee3ce0c199 /gcc-4.8
parent2fc63942c7800bcd55035b9410669f31ea038522 (diff)
parent905b53c08336db58cf69bd5d1daf1ccb217fce49 (diff)
downloadtoolchain_gcc-1610db7b1892fe4da05cf4b0f64d9653978507d8.tar.gz
toolchain_gcc-1610db7b1892fe4da05cf4b0f64d9653978507d8.tar.bz2
toolchain_gcc-1610db7b1892fe4da05cf4b0f64d9653978507d8.zip
Merge "[4.8, REAPPLY] Backport of two patches for additional SLM-tuning."
Diffstat (limited to 'gcc-4.8')
-rw-r--r--gcc-4.8/gcc/config/i386/i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.8/gcc/config/i386/i386.c b/gcc-4.8/gcc/config/i386/i386.c
index 179c51abc..c95822851 100644
--- a/gcc-4.8/gcc/config/i386/i386.c
+++ b/gcc-4.8/gcc/config/i386/i386.c
@@ -1722,7 +1722,7 @@ struct processor_costs generic32_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 */
@@ -2103,7 +2103,7 @@ static unsigned int initial_ix86_tune_features[X86_TUNE_LAST] = {
/* X86_TUNE_AVOID_MEM_OPND_FOR_CMOVE: Try to avoid memory operands for
a conditional move. */
- m_ATOM,
+ m_ATOM | m_SLM,
/* X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS: Try to split memory operand for
fp converts to destination register. */