cmake: added configuration options for AVX2, AVX512F, SSE4.1, and SSE4.2

adjusted SDL_intrin.h and testautomation_intrinsics.c accordingly.
This commit is contained in:
Ozkan Sezer authored and Ozkan Sezer committed 2023-03-21 23:03:02 +03:00
1 parent feec1305c6
commit 6c9780720b
4 files changed
+137 -34

No files matched your search

@@ -585,11 +585,14 @@ typedef unsigned int uintptr_t;
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
/* Configure use of intrinsics */
#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_AVX 1
#cmakedefine SDL_DISABLE_AVX2 1
#cmakedefine SDL_DISABLE_AVX512F 1
#cmakedefine SDL_DISABLE_MMX 1
#cmakedefine SDL_DISABLE_LSX 1
#cmakedefine SDL_DISABLE_LASX 1