[llvm-commits] CVS: llvm/lib/Target/X86/X86Subtarget.cpp

Evan Cheng evan.cheng at apple.com
Tue Feb 14 12:30:26 PST 2006



Changes in directory llvm/lib/Target/X86:

X86Subtarget.cpp updated: 1.22 -> 1.23
---
Log message:

Remove -disable-x86-sse

---
Diffs of the changes:  (+2 -10)

 X86Subtarget.cpp |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)


Index: llvm/lib/Target/X86/X86Subtarget.cpp
diff -u llvm/lib/Target/X86/X86Subtarget.cpp:1.22 llvm/lib/Target/X86/X86Subtarget.cpp:1.23
--- llvm/lib/Target/X86/X86Subtarget.cpp:1.22	Tue Feb 14 02:07:58 2006
+++ llvm/lib/Target/X86/X86Subtarget.cpp	Tue Feb 14 14:30:14 2006
@@ -16,12 +16,6 @@
 #include "X86GenSubtarget.inc"
 using namespace llvm;
 
-#include "llvm/Support/CommandLine.h"
-namespace {
-  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
 /// specified arguments.  If we can't run cpuid on the host, return true.
 static bool GetCpuIDAndInfo(unsigned value, unsigned *rEAX, unsigned *rEBX,
@@ -166,10 +160,8 @@
   // Default to ELF unless otherwise specified.
   TargetType = isELF;
   
-  if (DisableSSE) {
-    X86SSELevel = NoMMXSSE;
-    X863DNowLevel = NoThreeDNow;
-  }
+  X86SSELevel = NoMMXSSE;
+  X863DNowLevel = NoThreeDNow;
       
   // Set the boolean corresponding to the current target triple, or the default
   // if one cannot be determined, to true.






More information about the llvm-commits mailing list