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 {}); 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;