avx: MSVC doesn't support _mm256_{insert,extract}_epi64 until 2919.
@@ -3128,8 +3128,10 @@ simde_mm256_insert_epi64 (simde__m256i a, int64_t i, const int index)
return simde__m256i_from_private(a_);
}
#if defined(SIMDE_X86_AVX_NATIVE)
+ #if !defined(HEDLEY_MSVC_VERSION) || HEDLEY_MSVC_VERSION_CHECK(19,20,0)
#define simde_mm256_insert_epi64(a, i, index) _mm256_insert_epi64(a, i, index)
#endif
+#endif
#if defined(SIMDE_AVX_ENABLE_NATIVE_ALIASES)
#define _mm256_insert_epi64(a, i, index) simde_mm256_insert_epi64(a, i, index)
#endif
@@ -3210,8 +3212,10 @@ simde_mm256_extract_epi64 (simde__m256i a, const int index)
return a_.i64[index];
}
#if defined(SIMDE_X86_AVX_NATIVE)
+ #if !defined(HEDLEY_MSVC_VERSION) || HEDLEY_MSVC_VERSION_CHECK(19,20,0)
#define simde_mm256_extract_epi64(a, index) _mm256_extract_epi64(a, index)
#endif
+#endif
#if defined(SIMDE_AVX_ENABLE_NATIVE_ALIASES)
#define _mm256_extract_epi64(a, index) simde_mm256_extract_epi64(a, index)
#endif
