[llvm-branch-commits] [llvm-branch] r123258 - in /llvm/branches/Apple/Hartnell/lib/Target/X86: X86.td X86Subtarget.cpp
Bill Wendling
isanbard at gmail.com
Tue Jan 11 11:39:18 PST 2011
Author: void
Date: Tue Jan 11 13:39:18 2011
New Revision: 123258
URL: http://llvm.org/viewvc/llvm-project?rev=123258&view=rev
Log:
Revert r123257.
Modified:
llvm/branches/Apple/Hartnell/lib/Target/X86/X86.td
llvm/branches/Apple/Hartnell/lib/Target/X86/X86Subtarget.cpp
Modified: llvm/branches/Apple/Hartnell/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hartnell/lib/Target/X86/X86.td?rev=123258&r1=123257&r2=123258&view=diff
==============================================================================
--- llvm/branches/Apple/Hartnell/lib/Target/X86/X86.td (original)
+++ llvm/branches/Apple/Hartnell/lib/Target/X86/X86.td Tue Jan 11 13:39:18 2011
@@ -114,7 +114,7 @@
FeatureFastUAMem, FeatureAES]>;
// Sandy Bridge does not have FMA
// FIXME: Wikipedia says it does... it should have AES as well.
-def : Proc<"sandybridge", [FeatureSSE42, Feature64Bit, FeatureAES]>;
+def : Proc<"sandybridge", [FeatureSSE42, FeatureAVX, Feature64Bit]>;
def : Proc<"k6", [FeatureMMX]>;
def : Proc<"k6-2", [FeatureMMX, Feature3DNow]>;
Modified: llvm/branches/Apple/Hartnell/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hartnell/lib/Target/X86/X86Subtarget.cpp?rev=123258&r1=123257&r2=123258&view=diff
==============================================================================
--- llvm/branches/Apple/Hartnell/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/branches/Apple/Hartnell/lib/Target/X86/X86Subtarget.cpp Tue Jan 11 13:39:18 2011
@@ -258,8 +258,7 @@
bool IsAMD = !IsIntel && memcmp(text.c, "AuthenticAMD", 12) == 0;
HasFMA3 = IsIntel && ((ECX >> 12) & 0x1);
- // FIXME: AVX codegen support is not ready.
- //HasAVX = ((ECX >> 28) & 0x1);
+ HasAVX = ((ECX >> 28) & 0x1);
HasAES = IsIntel && ((ECX >> 25) & 0x1);
if (IsIntel || IsAMD) {
More information about the llvm-branch-commits
mailing list