diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-02-08 05:44:28 +0000 | 
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-02-08 05:44:28 +0000 | 
| commit | c31d9e4a01fa4bffdfbf78fc2830cfd80d25b16d (patch) | |
| tree | 07b5aa330b73baad0801b7415236cb4218f38a73 /clang | |
| parent | e8232d73f534492d84cb8baee90eeaa63545ddd2 (diff) | |
| download | bcm5719-llvm-c31d9e4a01fa4bffdfbf78fc2830cfd80d25b16d.tar.gz bcm5719-llvm-c31d9e4a01fa4bffdfbf78fc2830cfd80d25b16d.zip  | |
[X86] Remove PCOMMIT feature support since Intel has deprecated this instruction with no plans to release products with it.
Intel's documentation for the deprecation https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction
llvm-svn: 294403
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Basic/Targets.cpp | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 3da1b0f4a24..09224f5810b 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -2491,7 +2491,6 @@ class X86TargetInfo : public TargetInfo {    bool HasMWAITX = false;    bool HasPKU = false;    bool HasCLFLUSHOPT = false; -  bool HasPCOMMIT = false;    bool HasCLWB = false;    bool HasUMIP = false;    bool HasMOVBE = false; @@ -3076,7 +3075,6 @@ bool X86TargetInfo::initFeatureMap(      setFeatureEnabledImpl(Features, "avx512bw", true);      setFeatureEnabledImpl(Features, "avx512vl", true);      setFeatureEnabledImpl(Features, "pku", true); -    setFeatureEnabledImpl(Features, "pcommit", true);      setFeatureEnabledImpl(Features, "clwb", true);      // FALLTHROUGH    case CK_SkylakeClient: @@ -3560,8 +3558,6 @@ bool X86TargetInfo::handleTargetFeatures(std::vector<std::string> &Features,        HasPKU = true;      } else if (Feature == "+clflushopt") {        HasCLFLUSHOPT = true; -    } else if (Feature == "+pcommit") { -      HasPCOMMIT = true;      } else if (Feature == "+clwb") {        HasCLWB = true;      } else if (Feature == "+umip") { @@ -3984,7 +3980,6 @@ bool X86TargetInfo::hasFeature(StringRef Feature) const {        .Case("movbe", HasMOVBE)        .Case("mpx", HasMPX)        .Case("pclmul", HasPCLMUL) -      .Case("pcommit", HasPCOMMIT)        .Case("pku", HasPKU)        .Case("popcnt", HasPOPCNT)        .Case("prefetchwt1", HasPREFETCHWT1)  | 

