mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-01 21:03:54 +00:00
Enable SSE (for the right subtargets)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
976e110c0b
commit
82eaf628b4
@ -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 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) {
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user