]> granicus.if.org Git - clang/commitdiff
[X86] Add 'movbe' to btver2 CPU.
authorCraig Topper <craig.topper@intel.com>
Fri, 14 Jul 2017 06:36:17 +0000 (06:36 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 14 Jul 2017 06:36:17 +0000 (06:36 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308002 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 54188121788f62c9fe7e40f04c059e2195a872f6..24d285c25a54b435210de9a273679f5a7f459059 100644 (file)
@@ -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);