__builtin_shufflevector seems to be never enabled
lu1and10 opened this issue · 0 comments
lu1and10 commented
It seems that:
xsimd/include/xsimd/arch/generic/xsimd_generic_memory.hpp
Lines 489 to 493 in 182a460
should be:
#if defined(__has_builtin)
#if __has_builtin(__builtin_shufflevector)
#define builtin_shuffle __builtin_shufflevector
#endif
#endif
See references:
https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html
and
https://clang.llvm.org/docs/LanguageExtensions.html#langext-builtin-shufflevector