diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-01-10 06:54:16 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-01-10 06:54:16 +0000 |
commit | 1accb7ed98d823c291a4d5df172d0538451aba9e (patch) | |
tree | 60d64f721bf59b5d5122c34456c54bffc0f4c84d /lib/Target/X86/X86Subtarget.h | |
parent | d0a31177684eddd44eedb05839195820e84a9b54 (diff) | |
download | external_llvm-1accb7ed98d823c291a4d5df172d0538451aba9e.zip external_llvm-1accb7ed98d823c291a4d5df172d0538451aba9e.tar.gz external_llvm-1accb7ed98d823c291a4d5df172d0538451aba9e.tar.bz2 |
Remove hasXMM/hasXMMInt functions. Move callers to hasSSE1/hasSSE2. This is the final piece to remove the AVX hack that disabled SSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index a133150..94a2808 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -179,14 +179,12 @@ public: bool hasSSSE3() const { return X86SSELevel >= SSSE3; } bool hasSSE41() const { return X86SSELevel >= SSE41; } bool hasSSE42() const { return X86SSELevel >= SSE42; } + bool hasAVX() const { return X86SSELevel >= AVX; } + bool hasAVX2() const { return X86SSELevel >= AVX2; } bool hasSSE4A() const { return HasSSE4A; } bool has3DNow() const { return X863DNowLevel >= ThreeDNow; } bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; } bool hasPOPCNT() const { return HasPOPCNT; } - bool hasAVX() const { return X86SSELevel >= AVX; } - bool hasAVX2() const { return X86SSELevel >= AVX2; } - bool hasXMM() const { return X86SSELevel >= SSE1; } - bool hasXMMInt() const { return X86SSELevel >= SSE2; } bool hasAES() const { return HasAES; } bool hasCLMUL() const { return HasCLMUL; } bool hasFMA3() const { return HasFMA3; } |