[llvm-branch-commits] [llvm-branch] r122416 - /llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp

Stuart Hastings stuart at apple.com
Wed Dec 22 09:29:25 PST 2010


Author: stuart
Date: Wed Dec 22 11:29:25 2010
New Revision: 122416

URL: http://llvm.org/viewvc/llvm-project?rev=122416&view=rev
Log:
Disable unfinished AVX; Morbo version of r121677.  Radar 8753496.

Modified:
    llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp

Modified: llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp?rev=122416&r1=122415&r2=122416&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/Target/X86/X86Subtarget.cpp Wed Dec 22 11:29:25 2010
@@ -258,7 +258,9 @@
   bool IsAMD   = !IsIntel && memcmp(text.c, "AuthenticAMD", 12) == 0;
 
   HasFMA3 = IsIntel && ((ECX >> 12) & 0x1);
-  HasAVX = ((ECX >> 28) & 0x1);
+  // FIXME: AVX codegen support is not ready.  Radar 8753496.
+  // HasAVX = ((ECX >> 28) & 0x1);
+  HasAVX = false;
   HasAES = IsIntel && ((ECX >> 25) & 0x1);
 
   if (IsIntel || IsAMD) {





More information about the llvm-branch-commits mailing list