mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
still working on the last test
This commit is contained in:
parent
0711123f12
commit
06f0fdd68d
@ -78,12 +78,6 @@
|
|||||||
#define check_avx512vbmi() (0)
|
#define check_avx512vbmi() (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(VS_SIMDE_BACKEND)
|
|
||||||
#define CHECK_SSE_LAST() (1)
|
|
||||||
#else
|
|
||||||
#define CHECK_SSE_LAST() check_ssse3()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CREATE_DISPATCH(RTYPE, NAME, ...) \
|
#define CREATE_DISPATCH(RTYPE, NAME, ...) \
|
||||||
/* create defns */ \
|
/* create defns */ \
|
||||||
RTYPE JOIN(avx512vbmi_, NAME)(__VA_ARGS__); \
|
RTYPE JOIN(avx512vbmi_, NAME)(__VA_ARGS__); \
|
||||||
@ -117,7 +111,7 @@
|
|||||||
else if (check_sse42() && check_popcnt()) { \
|
else if (check_sse42() && check_popcnt()) { \
|
||||||
fat_dispatch_ ## NAME = &JOIN(corei7_, NAME); \
|
fat_dispatch_ ## NAME = &JOIN(corei7_, NAME); \
|
||||||
} \
|
} \
|
||||||
else if (CHECK_SSE_LAST()) { \
|
else if (check_ssse3()) { \
|
||||||
fat_dispatch_ ## NAME = &JOIN(core2_, NAME); \
|
fat_dispatch_ ## NAME = &JOIN(core2_, NAME); \
|
||||||
} else { \
|
} else { \
|
||||||
/* anything else is fail */ \
|
/* anything else is fail */ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user