r338: portable CPU dispatch, which is the default

working with gcc, icc, clang and msvc.
This commit is contained in:
Heng Li
2017-09-03 20:29:24 -04:00
parent 3c997ca016
commit 46e8b6a4f9
6 changed files with 62 additions and 17 deletions
+4
View File
@@ -6,6 +6,10 @@
#ifdef __SSE2__
#include <emmintrin.h>
#ifdef KSW_SSE2_ONLY
#undef __SSE4_1__
#endif
#ifdef __SSE4_1__
#include <smmintrin.h>
#endif