mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
audio: Wired up new SSE code to build system.
This commit is contained in:
@@ -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