mirror of https://github.com/encounter/SDL.git
Windows: set HAVE_IMMINTRIN_H for AVX intrinsics
This commit is contained in:
parent
638befc1a9
commit
20eea021c6
|
@ -773,6 +773,7 @@ if(ASSEMBLY)
|
|||
set(HAVE_SSE TRUE)
|
||||
set(HAVE_SSE2 TRUE)
|
||||
set(HAVE_SSE3 TRUE)
|
||||
check_include_file("immintrin.h" HAVE_IMMINTRIN_H)
|
||||
set(SDL_ASSEMBLY_ROUTINES 1)
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -84,7 +84,10 @@ typedef unsigned int uintptr_t;
|
|||
#define HAVE_XINPUT_H 1
|
||||
#define HAVE_MMDEVICEAPI_H 1
|
||||
#define HAVE_AUDIOCLIENT_H 1
|
||||
#define HAVE_SENSORSAPI_H
|
||||
#define HAVE_SENSORSAPI_H 1
|
||||
#if defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)
|
||||
#define HAVE_IMMINTRIN_H 1
|
||||
#endif
|
||||
|
||||
/* This is disabled by default to avoid C runtime dependencies and manifest requirements */
|
||||
#ifdef HAVE_LIBC
|
||||
|
|
Loading…
Reference in New Issue