We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a8e09 commit bfab0a9Copy full SHA for bfab0a9
include/SDL_cpuinfo.h
@@ -115,7 +115,8 @@ _m_prefetch(void *__P)
115
#include <lasxintrin.h>
116
#define __LASX__
117
#endif
118
-#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
+#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H) && \
119
+ (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86))
120
#include <immintrin.h>
121
#else
122
#if defined(__MMX__) && !defined(SDL_DISABLE_MMINTRIN_H)
0 commit comments