Replaced the intrinsics header with the single header that includes all intrinsics so we can use AVX, etc.
authorSam Lantinga <slouken@libsdl.org>
Fri, 10 Nov 2017 14:22:21 -0800
changeset 11698c5ae532b96d0
parent 11697 2b03795fbd49
child 11699 afe271f50c70
Replaced the intrinsics header with the single header that includes all intrinsics so we can use AVX, etc.
include/SDL_cpuinfo.h
     1.1 --- a/include/SDL_cpuinfo.h	Thu Nov 09 22:24:09 2017 -0400
     1.2 +++ b/include/SDL_cpuinfo.h	Fri Nov 10 14:22:21 2017 -0800
     1.3 @@ -56,21 +56,10 @@
     1.4  #undef pixel
     1.5  #endif
     1.6  #endif
     1.7 -#ifdef __MMX__
     1.8 -#include <mmintrin.h>
     1.9 -#endif
    1.10  #ifdef __3dNOW__
    1.11  #include <mm3dnow.h>
    1.12  #endif
    1.13 -#ifdef __SSE__
    1.14 -#include <xmmintrin.h>
    1.15 -#endif
    1.16 -#ifdef __SSE2__
    1.17 -#include <emmintrin.h>
    1.18 -#endif
    1.19 -#ifdef __SSE3__
    1.20 -#include <pmmintrin.h>
    1.21 -#endif
    1.22 +#include <immintrin.h>
    1.23  #endif
    1.24  
    1.25  #include "begin_code.h"