From 3544b3e5013d23b6b804cc02f24906c2fe8219c4 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 14 Jul 2017 06:36:17 +0000 Subject: [PATCH] [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 --- clang/lib/Basic/Targets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 54188121788f..24d285c25a54 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);