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