From: Evan Cheng Date: Thu, 3 Apr 2008 08:53:29 +0000 (+0000) Subject: Re-enable SSE4. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=43b7ca15a3f5c80847e078d2201e935ffc3e0e4a;p=oota-llvm.git Re-enable SSE4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index c30321a5551..c91088dcdf6 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -119,9 +119,8 @@ public: bool hasSSE2() const { return X86SSELevel >= SSE2; } bool hasSSE3() const { return X86SSELevel >= SSE3; } bool hasSSSE3() const { return X86SSELevel >= SSSE3; } - // Temporarily disabling SSE4. - bool hasSSE41() const { return false && X86SSELevel >= SSE41; } - bool hasSSE42() const { return false && X86SSELevel >= SSE42; } + bool hasSSE41() const { return X86SSELevel >= SSE41; } + bool hasSSE42() const { return X86SSELevel >= SSE42; } bool has3DNow() const { return X863DNowLevel >= ThreeDNow; } bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }