diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-02-23 20:40:05 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-02-24 01:02:36 +0100 |
| commit | f298f00e1b3dfd14eeeac65524c9703f0758fa5a (patch) | |
| tree | d3724f53e907f2c1008f88efdf3d08243643e181 /Source/Core/VideoCommon | |
| parent | 56795efd425fdbd080deeb0469f518c96bcc0eac (diff) | |
Clean up the intrinsics #ifdef mess
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/TextureDecoder_x64.cpp | 8 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderX64.cpp | 7 |
2 files changed, 2 insertions, 13 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp index 9d0b75582f..4a1f0a36a6 100644 --- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp @@ -8,18 +8,12 @@ #include "Common/Common.h" //#include "VideoCommon.h" // to get debug logs #include "Common/CPUDetect.h" +#include "Common/Intrinsics.h" #include "VideoCommon/LookUpTables.h" #include "VideoCommon/TextureDecoder.h" #include "VideoCommon/VideoConfig.h" -#if _M_SSE >= 0x401 -#include <smmintrin.h> -#include <emmintrin.h> -#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) -#include <tmmintrin.h> -#endif - // This avoids a harmless warning from a system header in Clang; // see http://llvm.org/bugs/show_bug.cgi?id=16093 #if defined(__clang__) && (__clang_major__ * 100 + __clang_minor__ < 304) diff --git a/Source/Core/VideoCommon/VertexLoaderX64.cpp b/Source/Core/VideoCommon/VertexLoaderX64.cpp index 5c962095bd..ae6623db90 100644 --- a/Source/Core/VideoCommon/VertexLoaderX64.cpp +++ b/Source/Core/VideoCommon/VertexLoaderX64.cpp @@ -1,10 +1,5 @@ -#ifdef _MSC_VER -#include <intrin.h> -#else -#include <x86intrin.h> -#endif - #include "Common/CPUDetect.h" +#include "Common/Intrinsics.h" #include "Common/JitRegister.h" #include "Common/x64ABI.h" #include "VideoCommon/VertexLoaderX64.h" |
