mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-19 22:10:52 +00:00
cmake: add underscore in SSE4_1 and SSE4_2 options
This commit is contained in:
committed by
Ozkan Sezer
parent
8eb673d43d
commit
0bd5ce13db
@@ -132,11 +132,11 @@ _m_prefetch(void *__P)
|
||||
# define SDL_SSE3_INTRINSICS 1
|
||||
# include <pmmintrin.h>
|
||||
# endif
|
||||
# if (defined(_MSC_VER) || defined(__SSE4_1__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_SSE41)
|
||||
# if (defined(_MSC_VER) || defined(__SSE4_1__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_SSE4_1)
|
||||
# define SDL_SSE4_1_INTRINSICS 1
|
||||
# include <smmintrin.h>
|
||||
# endif
|
||||
# if (defined(_MSC_VER) || defined(__SSE4_2__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_SSE42)
|
||||
# if (defined(_MSC_VER) || defined(__SSE4_2__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_SSE4_2)
|
||||
# define SDL_SSE4_2_INTRINSICS 1
|
||||
# include <nmmintrin.h>
|
||||
# endif
|
||||
|
||||
@@ -588,8 +588,8 @@ typedef unsigned int uintptr_t;
|
||||
#cmakedefine SDL_DISABLE_SSE 1
|
||||
#cmakedefine SDL_DISABLE_SSE2 1
|
||||
#cmakedefine SDL_DISABLE_SSE3 1
|
||||
#cmakedefine SDL_DISABLE_SSE41 1
|
||||
#cmakedefine SDL_DISABLE_SSE42 1
|
||||
#cmakedefine SDL_DISABLE_SSE4_1 1
|
||||
#cmakedefine SDL_DISABLE_SSE4_2 1
|
||||
#cmakedefine SDL_DISABLE_AVX 1
|
||||
#cmakedefine SDL_DISABLE_AVX2 1
|
||||
#cmakedefine SDL_DISABLE_AVX512F 1
|
||||
|
||||
Reference in New Issue
Block a user