audio: Wired up new SSE code to build system.
This commit is contained in:
1 parent
202ab30c16
commit
3594bf8eeb
6 files changed
+132
-14
No files matched your search
@@ -28,13 +28,10 @@
|
||||
#include "SDL_loadso.h"
|
||||
#include "SDL_assert.h"
|
||||
#include "../SDL_dataqueue.h"
|
||||
|
||||
/* !!! FIXME: wire this up to the configure script, etc. */
|
||||
#include "SDL_cpuinfo.h"
|
||||
#define HAVE_SSE3_INTRINSICS 0
|
||||
|
||||
#if HAVE_SSE3_INTRINSICS
|
||||
#include <pmmintrin.h>
|
||||
#ifdef __SSE3__
|
||||
#define HAVE_SSE3_INTRINSICS 1
|
||||
#endif
|
||||
|
||||
#if HAVE_SSE3_INTRINSICS
|
||||
|
||||
@@ -28,11 +28,8 @@
|
||||
/* !!! FIXME: write NEON code. */
|
||||
#define HAVE_NEON_INTRINSICS 0
|
||||
|
||||
/* !!! FIXME: wire this up to the configure script, etc. */
|
||||
#define HAVE_SSE2_INTRINSICS 0
|
||||
|
||||
#if HAVE_SSE2_INTRINSICS
|
||||
#include <emmintrin.h>
|
||||
#ifdef __SSE2__
|
||||
#define HAVE_SSE2_INTRINSICS 1
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64__) && HAVE_SSE2_INTRINSICS
|
||||
|
||||
Reference in new issue
Block a user