changed preprocessor conditionals for SIMDe
This commit is contained in:
parent
2b3403f094
commit
66db9da7d8
|
|
@ -4,10 +4,10 @@
|
|||
#include "ksw2.h"
|
||||
|
||||
#ifdef __SSE2__
|
||||
#ifndef USE_SIMDE
|
||||
#include <emmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse2.h>
|
||||
#else
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef KSW_SSE2_ONLY
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
#endif
|
||||
|
||||
#ifdef __SSE4_1__
|
||||
#ifndef USE_SIMDE
|
||||
#include <smmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse4.1.h>
|
||||
#else
|
||||
#include <smmintrin.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
#include "ksw2.h"
|
||||
|
||||
#ifdef __SSE2__
|
||||
#ifndef USE_SIMDE
|
||||
#include <emmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse2.h>
|
||||
#else
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
#ifdef KSW_SSE2_ONLY
|
||||
#undef __SSE4_1__
|
||||
#endif
|
||||
|
||||
#ifdef __SSE4_1__
|
||||
#ifndef USE_SIMDE
|
||||
#include <smmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse4.1.h>
|
||||
#else
|
||||
#include <smmintrin.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
#include "ksw2.h"
|
||||
|
||||
#ifdef __SSE2__
|
||||
#ifndef USE_SIMDE
|
||||
#include <emmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse2.h>
|
||||
#else
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef KSW_SSE2_ONLY
|
||||
|
|
@ -14,10 +14,10 @@
|
|||
#endif
|
||||
|
||||
#ifdef __SSE4_1__
|
||||
#ifndef USE_SIMDE
|
||||
#include <smmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse4.1.h>
|
||||
#else
|
||||
#include <smmintrin.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
#include <string.h>
|
||||
#include "ksw2.h"
|
||||
|
||||
#ifndef USE_SIMDE
|
||||
#include <emmintrin.h>
|
||||
#else
|
||||
#ifdef USE_SIMDE
|
||||
#include <simde/x86/sse2.h>
|
||||
#else
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
|
|||
Loading…
Reference in New Issue