mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-06 05:18:11 +08:00
changed preprocessor conditionals for SIMDe
This commit is contained in:
+6
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -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
-3
@@ -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__
|
||||||
|
|||||||
Reference in New Issue
Block a user