Changes in directory llvm/lib/Target/X86:
X86Subtarget.cpp updated: 1.21 -> 1.22 --- Log message: Enable SSE (for the right subtargets) --- Diffs of the changes: (+3 -6) X86Subtarget.cpp | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) Index: llvm/lib/Target/X86/X86Subtarget.cpp diff -u llvm/lib/Target/X86/X86Subtarget.cpp:1.21 llvm/lib/Target/X86/X86Subtarget.cpp:1.22 --- llvm/lib/Target/X86/X86Subtarget.cpp:1.21 Sat Jan 28 14:30:18 2006 +++ llvm/lib/Target/X86/X86Subtarget.cpp Tue Feb 14 02:07:58 2006 @@ -16,11 +16,10 @@ #include "X86GenSubtarget.inc" using namespace llvm; -// FIXME: temporary. #include "llvm/Support/CommandLine.h" namespace { - cl::opt<bool> EnableSSE("enable-x86-sse", cl::Hidden, - cl::desc("Enable sse on X86")); + cl::opt<bool> DisableSSE("disable-x86-sse", cl::Hidden, + cl::desc("Disable sse on X86")); } /// GetCpuIDAndInfo - Execute the specified cpuid and return the 4 values in the @@ -167,9 +166,7 @@ // Default to ELF unless otherwise specified. TargetType = isELF; - // FIXME: Force these off until they work. An llc-beta option should turn - // them back on. - if (!EnableSSE) { + if (DisableSSE) { X86SSELevel = NoMMXSSE; X863DNowLevel = NoThreeDNow; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits