diff options
author | liuhongt <hongtao.liu@intel.com> | 2023-05-22 10:41:50 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2023-05-27 17:21:40 +0800 |
commit | cc6eb8b51f9568ae0caf46b80e2a0aff050030ce (patch) | |
tree | 55af5dffcc5b345bbbba8394786164dbab24e82d /gcc/config/i386 | |
parent | 6e6bb37302f63acf93090ec0e0ab197aaf5be96f (diff) | |
download | gcc-cc6eb8b51f9568ae0caf46b80e2a0aff050030ce.zip gcc-cc6eb8b51f9568ae0caf46b80e2a0aff050030ce.tar.gz gcc-cc6eb8b51f9568ae0caf46b80e2a0aff050030ce.tar.bz2 |
Disable avoid_false_dep_for_bmi for atom and icelake(and later) core processors.
lzcnt/tzcnt has been fixed since skylake, popcnt has been fixed since
icelake. At least for icelake and later intel Core processors, the
errata tune is not needed. And the tune isn't need for ATOM either.
gcc/ChangeLog:
* config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
Remove ATOM and ICELAKE(and later) core processors.
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/x86-tune.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def index 9d603cc..e1c72cd 100644 --- a/gcc/config/i386/x86-tune.def +++ b/gcc/config/i386/x86-tune.def @@ -335,7 +335,8 @@ DEF_TUNE (X86_TUNE_USE_BT, "use_bt", /* X86_TUNE_AVOID_FALSE_DEP_FOR_BMI: Avoid false dependency for bit-manipulation instructions. */ DEF_TUNE (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI, "avoid_false_dep_for_bmi", - m_SANDYBRIDGE | m_CORE_AVX2 | m_TREMONT | m_ALDERLAKE | m_CORE_ATOM + m_SANDYBRIDGE | m_HASWELL | m_SKYLAKE | m_SKYLAKE_AVX512 + | m_CANNONLAKE | m_CASCADELAKE | m_COOPERLAKE | m_LUJIAZUI | m_GENERIC) /* X86_TUNE_ADJUST_UNROLL: This enables adjusting the unroll factor based |