summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-14 06:36:17 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-14 06:36:17 +0000
commit3544b3e5013d23b6b804cc02f24906c2fe8219c4 (patch)
tree69adb3da74b273adf80836fb25f190a5c98bc3c2 /clang/lib/Basic/Targets.cpp
parentf80ffa1a7851bcbd6c7b598372c11ceb71a6598f (diff)
downloadbcm5719-llvm-3544b3e5013d23b6b804cc02f24906c2fe8219c4.tar.gz
bcm5719-llvm-3544b3e5013d23b6b804cc02f24906c2fe8219c4.zip
[X86] Add 'movbe' to btver2 CPU.
This probably doesn't change anything because the frotend doesn't do anything with this feature and the backend will infer from the cpu string. So this is just for consistency with other cpus that support movbe. llvm-svn: 308002
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r--clang/lib/Basic/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 54188121788..24d285c25a5 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -3401,6 +3401,7 @@ bool X86TargetInfo::initFeatureMap(
setFeatureEnabledImpl(Features, "bmi", true);
setFeatureEnabledImpl(Features, "f16c", true);
setFeatureEnabledImpl(Features, "xsaveopt", true);
+ setFeatureEnabledImpl(Features, "movbe", true);
LLVM_FALLTHROUGH;
case CK_BTVER1:
setFeatureEnabledImpl(Features, "ssse3", true);
OpenPOWER on IntegriCloud