From b135fbbf9b5b82496c83786d315349ab3a1d0928 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Mon, 16 Feb 2026 17:00:58 +0100 Subject: [PATCH 1/2] Fix warning --- include/xsimd/arch/xsimd_neon.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xsimd/arch/xsimd_neon.hpp b/include/xsimd/arch/xsimd_neon.hpp index 55b3b8d81..7023b0518 100644 --- a/include/xsimd/arch/xsimd_neon.hpp +++ b/include/xsimd/arch/xsimd_neon.hpp @@ -623,7 +623,7 @@ namespace xsimd struct load_masked<> { template - static XSIMD_INLINE batch apply(T const* mem, batch acc, std::integral_constant) noexcept + static XSIMD_INLINE batch apply(T const* /* mem */, batch acc, std::integral_constant) noexcept { return acc; } @@ -645,7 +645,7 @@ namespace xsimd } template - XSIMD_INLINE batch load_masked(T const* mem, batch_bool_constant mask, Mode, requires_arch) noexcept + XSIMD_INLINE batch load_masked(T const* mem, batch_bool_constant /* mask */, Mode, requires_arch) noexcept { // Call insert whenever Values... are true return detail::load_masked::template apply<0>(mem, broadcast(T(0), A {}), std::integral_constant {}); From 975c64261420e565007f3ac1e981b37b04e28af6 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Tue, 17 Feb 2026 14:10:00 +0100 Subject: [PATCH 2/2] Fix apple detection --- test/test_utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_utils.hpp b/test/test_utils.hpp index 5f25f3e77..0db01e482 100644 --- a/test/test_utils.hpp +++ b/test/test_utils.hpp @@ -35,7 +35,7 @@ // This also seems to happen in M1. struct precision_t { -#if defined(__apple_build_version__) && (XSIMD_WITH_SSE4_1 || XSIMD_WITH_NEON64) +#if defined(__APPLE__) && (XSIMD_WITH_SSE4_1 || XSIMD_WITH_NEON64) static constexpr size_t max = 8192; #else static constexpr size_t max = 2048;