aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 22:39:35 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 22:39:35 +0000
commitd1912b601c840f11704e9c4969b837c0b2d41d05 (patch)
tree892735dbc19f736c20b3d72832055814089c34de
parent3056b2c80d24fc3ef1cb5dfc0fbc5e2909ae83d4 (diff)
downloadexternal_llvm-d1912b601c840f11704e9c4969b837c0b2d41d05.zip
external_llvm-d1912b601c840f11704e9c4969b837c0b2d41d05.tar.gz
external_llvm-d1912b601c840f11704e9c4969b837c0b2d41d05.tar.bz2
no really, all 64-bit cpu's have cmov support. This should
fix the rest of the buildbot failures on non-x86 hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98522 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86Subtarget.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index adef5bc..f907614 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/lib/Target/X86/X86Subtarget.cpp
@@ -315,9 +315,14 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &FS,
// If requesting codegen for X86-64, make sure that 64-bit features
// are enabled.
- if (Is64Bit)
+ if (Is64Bit) {
HasX86_64 = true;
+ // All 64-bit cpus have cmov support.
+ HasCMov = true;
+ }
+
+
DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel
<< ", 3DNowLevel " << X863DNowLevel
<< ", 64bit " << HasX86_64 << "\n");