[llvm] r317133 - [X86] Add CMOV feature to 'i686' processor, making it a proper alias of pentiumpro which I believe it should be.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 15:15:40 PDT 2017


Author: ctopper
Date: Wed Nov  1 15:15:40 2017
New Revision: 317133

URL: http://llvm.org/viewvc/llvm-project?rev=317133&view=rev
Log:
[X86] Add CMOV feature to 'i686' processor, making it a proper alias of pentiumpro which I believe it should be.

This is consistent with current gcc behavior.

Modified:
    llvm/trunk/lib/Target/X86/X86.td

Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=317133&r1=317132&r2=317133&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Wed Nov  1 15:15:40 2017
@@ -327,7 +327,7 @@ def : Proc<"i486",            [FeatureX8
 def : Proc<"i586",            [FeatureX87, FeatureSlowUAMem16]>;
 def : Proc<"pentium",         [FeatureX87, FeatureSlowUAMem16]>;
 def : Proc<"pentium-mmx",     [FeatureX87, FeatureSlowUAMem16, FeatureMMX]>;
-def : Proc<"i686",            [FeatureX87, FeatureSlowUAMem16]>;
+def : Proc<"i686",            [FeatureX87, FeatureSlowUAMem16, FeatureCMOV]>;
 def : Proc<"pentiumpro",      [FeatureX87, FeatureSlowUAMem16, FeatureCMOV]>;
 def : Proc<"pentium2",        [FeatureX87, FeatureSlowUAMem16, FeatureMMX,
                                FeatureCMOV, FeatureFXSR]>;




More information about the llvm-commits mailing list