Skip to content

Commit 22d532d

Browse files
wip
1 parent c527f46 commit 22d532d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/xsimd/arch/xsimd_neon.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,15 +1325,15 @@ namespace xsimd
13251325
*******/
13261326

13271327
WRAP_BINARY_INT_EXCLUDING_64(vminq, detail::identity_return_type)
1328-
WRAP_BINARY_FLOAT(vminq, detail::identity_return_type)
1328+
WRAP_BINARY_FLOAT(vminnmq, detail::identity_return_type)
13291329

13301330
template <class A, class T, detail::exclude_int64_neon_t<T> = 0>
13311331
XSIMD_INLINE batch<T, A> min(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<neon>) noexcept
13321332
{
13331333
using register_type = typename batch<T, A>::register_type;
13341334
const detail::excluding_int64_dispatcher::binary dispatcher = {
13351335
std::make_tuple(wrap::vminq_u8, wrap::vminq_s8, wrap::vminq_u16, wrap::vminq_s16,
1336-
wrap::vminq_u32, wrap::vminq_s32, wrap::vminq_f32)
1336+
wrap::vminq_u32, wrap::vminq_s32, wrap::vminnmq_f32)
13371337
};
13381338
return dispatcher.apply(register_type(lhs), register_type(rhs));
13391339
}
@@ -1349,15 +1349,15 @@ namespace xsimd
13491349
*******/
13501350

13511351
WRAP_BINARY_INT_EXCLUDING_64(vmaxq, detail::identity_return_type)
1352-
WRAP_BINARY_FLOAT(vmaxq, detail::identity_return_type)
1352+
WRAP_BINARY_FLOAT(vmaxnmq, detail::identity_return_type)
13531353

13541354
template <class A, class T, detail::exclude_int64_neon_t<T> = 0>
13551355
XSIMD_INLINE batch<T, A> max(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<neon>) noexcept
13561356
{
13571357
using register_type = typename batch<T, A>::register_type;
13581358
const detail::excluding_int64_dispatcher::binary dispatcher = {
13591359
std::make_tuple(wrap::vmaxq_u8, wrap::vmaxq_s8, wrap::vmaxq_u16, wrap::vmaxq_s16,
1360-
wrap::vmaxq_u32, wrap::vmaxq_s32, wrap::vmaxq_f32)
1360+
wrap::vmaxq_u32, wrap::vmaxq_s32, wrap::vmaxnmq_f32)
13611361
};
13621362
return dispatcher.apply(register_type(lhs), register_type(rhs));
13631363
}

0 commit comments

Comments
 (0)