diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /third_party/xsimd/include | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/xsimd/include')
31 files changed, 8 insertions, 62 deletions
diff --git a/third_party/xsimd/include/xsimd/config/xsimd_arch.hpp b/third_party/xsimd/include/xsimd/config/xsimd_arch.hpp index ea48aa057d..ac51daca7b 100644 --- a/third_party/xsimd/include/xsimd/config/xsimd_arch.hpp +++ b/third_party/xsimd/include/xsimd/config/xsimd_arch.hpp @@ -33,7 +33,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return false; } static constexpr bool available() noexcept { return false; } - static constexpr unsigned version() noexcept { return 0; } static constexpr std::size_t alignment() noexcept { return 0; } static constexpr bool requires_alignment() noexcept { return false; } static constexpr char const* name() noexcept { return "<none>"; } @@ -57,26 +56,6 @@ namespace xsimd { }; - template <unsigned... Vals> - struct is_sorted; - - template <> - struct is_sorted<> : std::true_type - { - }; - - template <unsigned Val> - struct is_sorted<Val> : std::true_type - { - }; - - template <unsigned V0, unsigned V1, unsigned... Vals> - struct is_sorted<V0, V1, Vals...> - : std::conditional<(V0 >= V1), is_sorted<V1, Vals...>, - std::false_type>::type - { - }; - template <typename T> inline constexpr T max_of(T value) noexcept { @@ -106,15 +85,10 @@ namespace xsimd } // namespace detail - // An arch_list is a list of architectures, sorted by version number. + // An arch_list is a list of architectures. template <class... Archs> struct arch_list { -#ifndef NDEBUG - static_assert(detail::is_sorted<Archs::version()...>::value, - "architecture list must be sorted by version"); -#endif - using best = typename detail::head<Archs...>::type; template <class Arch> diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx2_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx2_register.hpp index cd10383e2b..264b7c3eda 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx2_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx2_register.hpp @@ -25,7 +25,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX2; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(2, 2, 0); } static constexpr char const* name() noexcept { return "avx2"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512bw_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512bw_register.hpp index 15c19832ae..9d4d33b64e 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512bw_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512bw_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512BW; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 4, 0); } static constexpr char const* name() noexcept { return "avx512bw"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512cd_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512cd_register.hpp index 29efca368c..cf06013955 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512cd_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512cd_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512CD; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 2, 0); } static constexpr char const* name() noexcept { return "avx512cd"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512dq_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512dq_register.hpp index 25a255ec15..f8a8dc5434 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512dq_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512dq_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512DQ; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 3, 0); } static constexpr char const* name() noexcept { return "avx512dq"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512er_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512er_register.hpp index a99157cf37..a52bd0064e 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512er_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512er_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512ER; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 3, 1); } static constexpr char const* name() noexcept { return "avx512er"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512f_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512f_register.hpp index c1f80a122d..1a11b6c92a 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512f_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512f_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512F; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 1, 0); } static constexpr std::size_t alignment() noexcept { return 64; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr char const* name() noexcept { return "avx512f"; } diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512ifma_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512ifma_register.hpp index ba76ea147b..a8bc8885fb 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512ifma_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512ifma_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512IFMA; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 5, 0); } static constexpr char const* name() noexcept { return "avx512ifma"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512pf_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512pf_register.hpp index 38a10f0227..4838a8a461 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512pf_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512pf_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512PF; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 4, 1); } static constexpr char const* name() noexcept { return "avx512pf"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512vbmi_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512vbmi_register.hpp index 19ff744d72..40f51e9b19 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512vbmi_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512vbmi_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512VBMI; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 6, 0); } static constexpr char const* name() noexcept { return "avx512vbmi"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512bw_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512bw_register.hpp index 85edbdf230..a19b949f8b 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512bw_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512bw_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512VNNI_AVX512BW; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 4, 1); } static constexpr char const* name() noexcept { return "avx512vnni+avx512bw"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512vbmi_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512vbmi_register.hpp index 232b19a5cb..0a6b45f76c 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512vbmi_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx512vnni_avx512vbmi_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX512VNNI_AVX512VBMI; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(3, 6, 1); } static constexpr char const* name() noexcept { return "avx512vnni+avx512vbmi"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avx_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avx_register.hpp index 6b1951f964..7357304d5d 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avx_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avx_register.hpp @@ -26,7 +26,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVX; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(2, 1, 0); } static constexpr std::size_t alignment() noexcept { return 32; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr char const* name() noexcept { return "avx"; } diff --git a/third_party/xsimd/include/xsimd/types/xsimd_avxvnni_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_avxvnni_register.hpp index f68fe16bad..419547b1cf 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_avxvnni_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_avxvnni_register.hpp @@ -25,7 +25,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_AVXVNNI; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(2, 3, 0); } static constexpr char const* name() noexcept { return "avxvnni"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_batch.hpp b/third_party/xsimd/include/xsimd/types/xsimd_batch.hpp index b4989fc88d..d9108823ab 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_batch.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_batch.hpp @@ -1347,8 +1347,8 @@ namespace xsimd template <class T, class A> inline batch<std::complex<T>, A>& batch<std::complex<T>, A>::operator*=(batch const& other) noexcept { - real_batch new_real = real() * other.real() - imag() * other.imag(); - real_batch new_imag = real() * other.imag() + imag() * other.real(); + real_batch new_real = fms(real(), other.real(), imag() * other.imag()); + real_batch new_imag = fma(real(), other.imag(), imag() * other.real()); m_real = new_real; m_imag = new_imag; return *this; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx2_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx2_register.hpp index b9a5995414..cf3e26d08d 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx2_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx2_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_FMA3_AVX2; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(2, 2, 1); } static constexpr char const* name() noexcept { return "fma3+avx2"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx_register.hpp index ae10598f2c..5012d25a06 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_fma3_avx_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_FMA3_AVX; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(2, 1, 1); } static constexpr char const* name() noexcept { return "fma3+avx"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_fma3_sse_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_fma3_sse_register.hpp index a267490d66..87ebc27b55 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_fma3_sse_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_fma3_sse_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_FMA3_SSE; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 4, 3); } static constexpr char const* name() noexcept { return "fma3+sse4.2"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_fma4_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_fma4_register.hpp index 3684bbb401..1a066cd206 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_fma4_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_fma4_register.hpp @@ -25,7 +25,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_FMA4; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 4, 4); } static constexpr char const* name() noexcept { return "fma4"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_generic_arch.hpp b/third_party/xsimd/include/xsimd/types/xsimd_generic_arch.hpp index f4a2ca6aad..d16a37fea7 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_generic_arch.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_generic_arch.hpp @@ -35,13 +35,8 @@ namespace xsimd static constexpr std::size_t alignment() noexcept { return 0; } /// Whether this architecture requires aligned memory access. static constexpr bool requires_alignment() noexcept { return false; } - /// Unique identifier for this architecture. - static constexpr unsigned version() noexcept { return generic::version(0, 0, 0); } /// Name of the architecture. static constexpr char const* name() noexcept { return "generic"; } - - protected: - static constexpr unsigned version(unsigned major, unsigned minor, unsigned patch, unsigned multiplier = 100u) noexcept { return major * multiplier * multiplier + minor * multiplier + patch; } }; struct unsupported diff --git a/third_party/xsimd/include/xsimd/types/xsimd_i8mm_neon64_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_i8mm_neon64_register.hpp index fc0c884d0b..0e2b42d8ea 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_i8mm_neon64_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_i8mm_neon64_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_I8MM_NEON64; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(8, 2, 0); } static constexpr char const* name() noexcept { return "i8mm+neon64"; } }; @@ -39,6 +38,11 @@ namespace xsimd XSIMD_DECLARE_SIMD_REGISTER_ALIAS(i8mm<neon64>, neon64); + template <class T> + struct get_bool_simd_register<T, i8mm<neon64>> + : detail::neon_bool_simd_register<T, i8mm<neon64>> + { + }; } #endif diff --git a/third_party/xsimd/include/xsimd/types/xsimd_neon64_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_neon64_register.hpp index 3aa8973b63..709f601a3f 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_neon64_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_neon64_register.hpp @@ -27,7 +27,6 @@ namespace xsimd static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr std::size_t alignment() noexcept { return 16; } - static constexpr unsigned version() noexcept { return generic::version(8, 1, 0); } static constexpr char const* name() noexcept { return "arm64+neon"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_neon_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_neon_register.hpp index 0ef4b381d3..a9f4a46c8b 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_neon_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_neon_register.hpp @@ -32,7 +32,6 @@ namespace xsimd static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr std::size_t alignment() noexcept { return 16; } - static constexpr unsigned version() noexcept { return generic::version(7, 0, 0); } static constexpr char const* name() noexcept { return "arm32+neon"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_rvv_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_rvv_register.hpp index bdc0ef3b87..ff03b6508a 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_rvv_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_rvv_register.hpp @@ -37,7 +37,6 @@ namespace xsimd static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr std::size_t alignment() noexcept { return 16; } - static constexpr unsigned version() noexcept { return generic::version(1, 0, 0, /*multiplier=*/1000); } static constexpr char const* name() noexcept { return "riscv+rvv"; } }; } diff --git a/third_party/xsimd/include/xsimd/types/xsimd_sse2_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_sse2_register.hpp index a9dc8960b6..e6eabec7ad 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_sse2_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_sse2_register.hpp @@ -32,7 +32,6 @@ namespace xsimd static constexpr bool supported() noexcept { return XSIMD_WITH_SSE2; } static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 2, 0); } static constexpr std::size_t alignment() noexcept { return 16; } static constexpr char const* name() noexcept { return "sse2"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_sse3_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_sse3_register.hpp index 1a7708a896..6f216bb812 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_sse3_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_sse3_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_SSE3; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 3, 0); } static constexpr char const* name() noexcept { return "sse3"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_sse4_1_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_sse4_1_register.hpp index d906712d56..f7f6c06575 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_sse4_1_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_sse4_1_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_SSE4_1; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 4, 1); } static constexpr char const* name() noexcept { return "sse4.1"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_sse4_2_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_sse4_2_register.hpp index b3446c9091..e92e498724 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_sse4_2_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_sse4_2_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_SSE4_2; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 4, 2); } static constexpr char const* name() noexcept { return "sse4.2"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_ssse3_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_ssse3_register.hpp index 50ffac1e06..fc1c0f82de 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_ssse3_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_ssse3_register.hpp @@ -29,7 +29,6 @@ namespace xsimd { static constexpr bool supported() noexcept { return XSIMD_WITH_SSSE3; } static constexpr bool available() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(1, 3, 1); } static constexpr char const* name() noexcept { return "ssse3"; } }; diff --git a/third_party/xsimd/include/xsimd/types/xsimd_sve_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_sve_register.hpp index 4f75c607e8..29564d0237 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_sve_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_sve_register.hpp @@ -36,7 +36,6 @@ namespace xsimd static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } static constexpr std::size_t alignment() noexcept { return 16; } - static constexpr unsigned version() noexcept { return generic::version(9, Width / 32, 0); } static constexpr char const* name() noexcept { return "arm64+sve"; } }; } diff --git a/third_party/xsimd/include/xsimd/types/xsimd_wasm_register.hpp b/third_party/xsimd/include/xsimd/types/xsimd_wasm_register.hpp index 237db95c6e..a1b8403603 100644 --- a/third_party/xsimd/include/xsimd/types/xsimd_wasm_register.hpp +++ b/third_party/xsimd/include/xsimd/types/xsimd_wasm_register.hpp @@ -32,7 +32,6 @@ namespace xsimd static constexpr bool supported() noexcept { return XSIMD_WITH_WASM; } static constexpr bool available() noexcept { return true; } static constexpr bool requires_alignment() noexcept { return true; } - static constexpr unsigned version() noexcept { return generic::version(10, 0, 0); } static constexpr std::size_t alignment() noexcept { return 16; } static constexpr char const* name() noexcept { return "wasm"; } }; |