diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-10-10 07:43:35 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-10-10 07:43:35 +0000 |
| commit | 02c62aa58aad28403243041e0d8acc311a22a880 (patch) | |
| tree | a9432f31b8d713425306a80621358d508c07abe4 /llvm/lib/Target/X86 | |
| parent | 2c8b33770c0c4cff75c4cb60d0daebfcf624ab15 (diff) | |
| download | bcm5719-llvm-02c62aa58aad28403243041e0d8acc311a22a880.tar.gz bcm5719-llvm-02c62aa58aad28403243041e0d8acc311a22a880.zip | |
[X86] Remove FeatureRTM from Skylake processor list
Summary:
There are a LOT of Skylakes and later without TSX-NI. Examples:
- SKL: https://ark.intel.com/products/136863/Intel-Core-i3-8121U-Processor-4M-Cache-up-to-3-20-GHz-
- KBL: https://ark.intel.com/products/97540/Intel-Core-i7-7560U-Processor-4M-Cache-up-to-3-80-GHz-
- KBL-R: https://ark.intel.com/products/149091/Intel-Core-i7-8565U-Processor-8M-Cache-up-to-4-60-GHz-
- CNL: https://ark.intel.com/products/136863/Intel-Core-i3-8121U-Processor-4M-Cache-up-to-3_20-GHz
This feature seems to be present only on high-end desktop and server
chips (I can't find any SKX without). This commit leaves it disabled
for all processors, but can be re-enabled for specific builds with
-mrtm.
Patch by Thiago Macieira
Reviewers: erichkeane, craig.topper
Reviewed By: craig.topper
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D53041
llvm-svn: 344116
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/X86.td | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td index f9bd21cc2c7..5d627f34c55 100644 --- a/llvm/lib/Target/X86/X86.td +++ b/llvm/lib/Target/X86/X86.td @@ -801,7 +801,6 @@ def : BroadwellProc<"broadwell">; def SKLFeatures : ProcessorFeatures<BDWFeatures.Value, [ FeatureAES, FeatureMPX, - FeatureRTM, FeatureXSAVEC, FeatureXSAVES, FeatureCLFLUSHOPT, |

