[llvm-commits] [llvm] r141571 - /llvm/trunk/lib/Target/X86/X86.td
Benjamin Kramer
benny.kra at googlemail.com
Mon Oct 10 12:35:08 PDT 2011
Author: d0k
Date: Mon Oct 10 14:35:07 2011
New Revision: 141571
URL: http://llvm.org/viewvc/llvm-project?rev=141571&view=rev
Log:
X86: Add a subtarget definition for core-avx-i, which is GCC's name for ivy bridge.
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=141571&r1=141570&r2=141571&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Mon Oct 10 14:35:07 2011
@@ -145,11 +145,16 @@
def : Proc<"westmere", [FeatureSSE42, FeatureCMPXCHG16B,
FeatureSlowBTMem, FeatureFastUAMem, FeatureAES,
FeatureCLMUL]>;
+// Sandy Bridge
// SSE is not listed here since llvm treats AVX as a reimplementation of SSE,
// rather than a superset.
// FIXME: Disabling AVX for now since it's not ready.
def : Proc<"corei7-avx", [FeatureSSE42, FeatureCMPXCHG16B,
FeatureAES, FeatureCLMUL]>;
+// Ivy Bridge
+def : Proc<"core-avx-i", [FeatureSSE42, FeatureCMPXCHG16B,
+ FeatureAES, FeatureCLMUL,
+ FeatureRDRAND, FeatureF16C]>;
def : Proc<"k6", [FeatureMMX]>;
def : Proc<"k6-2", [Feature3DNow]>;
More information about the llvm-commits
mailing list