diff --git a/src/Utils/json/parser.h b/src/Utils/json/parser.h index 4a038d5015784858720ef5decf8c7395743a1c7e..f4d5a31adf53ceb82a71409acc886d059a61e5a7 100644 --- a/src/Utils/json/parser.h +++ b/src/Utils/json/parser.h @@ -32,7 +32,7 @@ struct }; #ifdef __has_builtin -#if (defined(__SSE4_1__) || defined(__SSE4_2__) || defined(__AVX__) || defined(__AVX2__) || defined(__AVX512BW__) || defined(__AVX512VL__) || defined(__AVX512DQ__) || defined(__AVX512F__) || defined(__wasm_simd128__) || defined(__ARM_NEON)) && __has_builtin(__builtin_shuffle) +#if (defined(__SSE4_1__) || defined(__AVX2__) || defined(__AVX512VBMI__) || defined(__ARM_NEON)) && __has_builtin(__builtin_shuffle) #include "parser_sppr_shuffle_impl.h" #else template diff --git a/src/fast_io/fast_io_core_impl/simd/cpu_flags.h b/src/fast_io/fast_io_core_impl/simd/cpu_flags.h index 6f1cc081e77e9fb8fde4a29b6e8daa7b508d50f9..60fb3be6531343480021e4b52f8fb276e2b2137f 100644 --- a/src/fast_io/fast_io_core_impl/simd/cpu_flags.h +++ b/src/fast_io/fast_io_core_impl/simd/cpu_flags.h @@ -70,6 +70,12 @@ true #endif }; +inline constexpr bool avx512vbmi_supported { +#if defined(__AVX512VBMI__) +true +#endif +}; + inline constexpr bool wasmsimd128_supported { #if defined(__wasm_simd128__)