Clean up the intrinsics #ifdef mess

This commit is contained in:
Tillmann Karras
2015-02-23 20:40:05 +01:00
parent 56795efd42
commit f298f00e1b
10 changed files with 11 additions and 42 deletions

View File

@ -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)