[X86] Add some explanatory comments to the ProcessorFeatures enum in Host.cpp.

llvm-svn: 318331
This commit is contained in:
Craig Topper 2017-11-15 20:42:49 +00:00
parent 54b57b0dd8
commit 4a1ec811af
1 changed files with 4 additions and 1 deletions

View File

@ -322,6 +322,8 @@ enum VendorSignatures {
SIG_AMD = 0x68747541 /* Auth */
};
// This should be kept in sync with libcc/compiler-rt as it should be used
// by clang as a proxy for what's in libgcc/compiler-rt.
enum ProcessorFeatures {
FEATURE_CMOV = 0,
FEATURE_MMX,
@ -354,7 +356,8 @@ enum ProcessorFeatures {
FEATURE_AVX5124VNNIW,
FEATURE_AVX5124FMAPS,
FEATURE_AVX512VPOPCNTDQ,
// Only one bit free left in the first 32 features.
// One bit free here.
// Features below here are not in libgcc/compiler-rt.
FEATURE_MOVBE = 32,
FEATURE_ADX,
FEATURE_EM64T,