check whether platform is 390x if yes->do not import immintrin.h

This commit is contained in:
chenqiny 2023-10-02 04:28:22 -04:00
parent f5ef5cfb18
commit 0613562412

View file

@ -46,7 +46,7 @@ inline static int32_t vaddvq_s32(int32x4_t v) {
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <intrin.h>
#else
#if !defined(__riscv)
#if !defined(__riscv) && !defined(__s390__)
#include <immintrin.h>
#endif
#endif