Skip to content

Commit

Permalink
Enable SSE3 intrinsics when building with Visual Studio
Browse files Browse the repository at this point in the history
Fixes #4530
  • Loading branch information
slouken committed Aug 11, 2021
1 parent d5ad6f6 commit 609cea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/SDL_cpuinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ _m_prefetch(void *__P)
#ifndef __SSE2__
#define __SSE2__
#endif
#ifndef __SSE3__
#define __SSE3__
#endif
#elif defined(__MINGW64_VERSION_MAJOR)
#include <intrin.h>
#if !defined(SDL_DISABLE_ARM_NEON_H) && defined(__ARM_NEON)
Expand Down

0 comments on commit 609cea1

Please sign in to comment.