aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86Subtarget.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-01-10 06:30:56 +0000
committerCraig Topper <craig.topper@gmail.com>2012-01-10 06:30:56 +0000
commitc6d59954d8b4bc63aa8e6333d902a3fffc774189 (patch)
treef6ab9250a5ed74f11ff92bcdea53a53aa0dd37cc /lib/Target/X86/X86Subtarget.h
parent97b5beb7fe7bb776654b04ae6c18af6ea15c74f7 (diff)
downloadexternal_llvm-c6d59954d8b4bc63aa8e6333d902a3fffc774189.zip
external_llvm-c6d59954d8b4bc63aa8e6333d902a3fffc774189.tar.gz
external_llvm-c6d59954d8b4bc63aa8e6333d902a3fffc774189.tar.bz2
Instruction selection priority fixes to remove the XMM/XMMInt/orAVX predicates. Another commit will remove orAVX functions from X86SubTarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r--lib/Target/X86/X86Subtarget.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 10ef868..5a32240 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -173,12 +173,12 @@ public:
bool hasCMov() const { return HasCMov; }
bool hasMMX() const { return X86SSELevel >= MMX; }
- bool hasSSE1() const { return X86SSELevel >= SSE1 && !hasAVX(); }
- bool hasSSE2() const { return X86SSELevel >= SSE2 && !hasAVX(); }
- bool hasSSE3() const { return X86SSELevel >= SSE3 && !hasAVX(); }
- bool hasSSSE3() const { return X86SSELevel >= SSSE3 && !hasAVX(); }
- bool hasSSE41() const { return X86SSELevel >= SSE41 && !hasAVX(); }
- bool hasSSE42() const { return X86SSELevel >= SSE42 && !hasAVX(); }
+ bool hasSSE1() const { return X86SSELevel >= SSE1; }
+ bool hasSSE2() const { return X86SSELevel >= SSE2; }
+ bool hasSSE3() const { return X86SSELevel >= SSE3; }
+ bool hasSSSE3() const { return X86SSELevel >= SSSE3; }
+ bool hasSSE41() const { return X86SSELevel >= SSE41; }
+ bool hasSSE42() const { return X86SSELevel >= SSE42; }
bool hasSSE4A() const { return HasSSE4A; }
bool has3DNow() const { return X863DNowLevel >= ThreeDNow; }
bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }