r294403 - [X86] Remove PCOMMIT feature support since Intel has deprecated this instruction with no plans to release products with it.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 7 21:44:28 PST 2017
Author: ctopper
Date: Tue Feb 7 23:44:28 2017
New Revision: 294403
URL: http://llvm.org/viewvc/llvm-project?rev=294403&view=rev
Log:
[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
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=294403&r1=294402&r2=294403&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Feb 7 23:44:28 2017
@@ -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
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
.Case("movbe", HasMOVBE)
.Case("mpx", HasMPX)
.Case("pclmul", HasPCLMUL)
- .Case("pcommit", HasPCOMMIT)
.Case("pku", HasPKU)
.Case("popcnt", HasPOPCNT)
.Case("prefetchwt1", HasPREFETCHWT1)
More information about the cfe-commits
mailing list