Author: ctopper
Date: Thu Jul 13 23:36:17 2017
New Revision: 308002

URL: http://llvm.org/viewvc/llvm-project?rev=308002&view=rev
Log:
[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.

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=308002&r1=308001&r2=308002&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Jul 13 23:36:17 2017
@@ -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);


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to