aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1-5666.3
diff options
context:
space:
mode:
authorPavel Chupin <pavel.v.chupin@intel.com>2013-06-03 17:20:10 +0400
committerPavel Chupin <pavel.v.chupin@intel.com>2013-06-04 12:31:31 +0400
commit01b34967a57ca33621130d36e007214b93bdfeaa (patch)
tree500dc83dc102a108e21ba6a4f57ca491343a30d1 /gcc-4.2.1-5666.3
parent41eff3d706b202f682f64fcc7773c64abd59ac45 (diff)
downloadtoolchain_gcc-01b34967a57ca33621130d36e007214b93bdfeaa.tar.gz
toolchain_gcc-01b34967a57ca33621130d36e007214b93bdfeaa.tar.bz2
toolchain_gcc-01b34967a57ca33621130d36e007214b93bdfeaa.zip
[4.7, 4.8] Extended Silvermont tuning.
Backport r199546 from trunk: 2013-05-31 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> Igor Zamyatin <igor.zamyatin@intel.com> Silvermont (SLM) architecture performance tuning. * config/i386/i386.h (enum ix86_tune_indices): Add X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS. (TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define. * config/i386/i386.c (initial_ix86_tune_features) <X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize. (ix86_lea_outperforms): Handle Silvermont tuning. (ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms call. (ix86_use_lea_for_mov): Likewise. (ix86_avoid_lea_for_addr): Likewise. (ix86_lea_for_add_ok): Likewise. (exact_dependency_1): New function. (exact_store_load_dependency): Likewise. (ix86_adjust_cost): Handle Silvermont tuning. (do_reoder_for_imul): Likewise. (swap_top_of_ready_list): New function. (ix86_sched_reorder): Changed to handle Silvermont tuning. * config/i386/i386.md (peepholes that split memory operand in fp converts): New. Also backport r199611 with fixes for the patch above and previous SLM patch: 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com> * config/i386/i386.c (ix86_lea_outperforms): Fix formatting. (ix86_avoid_lea_for_addr): Likewise. (exact_dependency_1): Likewise. (ix86_adjust_cost): Likewise. (swap_top_of_ready_list): Fix formatting and !reload_completed check removed. (do_reorder_for_imul): Fix typo, formatting and !reload_completed check removed. (ix86_sched_reorder): Fix typo and formatting. (fold_builtin_cpu): Move M_INTEL_SLM at the end of processor types list. * config/i386/cpuinfo.c (INTEL_SLM): New enum value. Note that [4.7] part of the patch doesn't contain some of optimizations (IMUL) due to missed dependencies. [4.8] part of this backport is complete. Change-Id: I4b5f92b025aab217046f5b393527636f3cf25669 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'gcc-4.2.1-5666.3')
0 files changed, 0 insertions, 0 deletions