diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index 99708e0..f74008d 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -331,6 +331,10 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit) // are enabled. These are available on all x86-64 CPUs. if (Is64Bit) { HasX86_64 = true; ++#if 1 + if (X86SSELevel < SSE2) + X86SSELevel = SSE2; ++#endif } DOUT << "Subtarget features: SSELevel " << X86SSELevel << ", 3DNowLevel " << X863DNowLevel |