mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-14 06:10:17 -05:00
Add preproc var to detect SSE2 support
This commit is contained in:
parent
5b97570406
commit
848c35e2d7
@ -4,14 +4,16 @@
|
|||||||
|
|
||||||
#include "mixer.h"
|
#include "mixer.h"
|
||||||
|
|
||||||
#ifdef __SSE2__
|
#if defined(__SSE2__) || defined(__aarch64__)
|
||||||
#include <emmintrin.h>
|
#define SSE2_AVAILABLE
|
||||||
#else
|
#else
|
||||||
#ifdef __aarch64__
|
#pragma message("Warning: SSE2 support is not available. Code will not compile")
|
||||||
#include "sse2neon.h"
|
#endif
|
||||||
#else
|
|
||||||
#warning SSE2 support is not available. Code will not compile
|
#if defined(__SSE2__)
|
||||||
#endif
|
#include <emmintrin.h>
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
#include "sse2neon.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __clang__
|
#ifndef __clang__
|
||||||
|
Loading…
Reference in New Issue
Block a user