Skip to content

Commit bbe5725

Browse files
eq-bool
1 parent d957d96 commit bbe5725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xsimd/arch/xsimd_neon.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ namespace xsimd
920920
template <class A, class T, detail::enable_sized_unsigned_t<T, 8> = 0>
921921
XSIMD_INLINE batch_bool<T, A> eq(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<neon>) noexcept
922922
{
923-
auto eq32 = vceqq_u32(vreinterpretq_u64_u32(lhs), vreinterpretq_u64_u32(rhs));
923+
auto eq32 = vceqq_u32(vreinterpretq_u64_u32(lhs.data), vreinterpretq_u64_u32(rhs.data));
924924
auto rev32 = vrev64q_u32(eq32);
925925
auto eq64 = vandq_u32(eq32, rev32);
926926
return batch_bool<T, A>(vreinterpretq_u32_u64(eq64));
@@ -929,7 +929,7 @@ namespace xsimd
929929
template <class A, class T, detail::enable_sized_signed_t<T, 8> = 0>
930930
XSIMD_INLINE batch_bool<T, A> eq(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<neon>) noexcept
931931
{
932-
auto eq32 = vceqq_u32(vreinterpretq_s64_u32(lhs), vreinterpretq_s64_u32(rhs));
932+
auto eq32 = vceqq_u32(vreinterpretq_s64_u32(lhs.data), vreinterpretq_s64_u32(rhs.data));
933933
auto rev32 = vrev64q_u32(eq32);
934934
auto eq64 = vandq_u32(eq32, rev32);
935935
return batch_bool<T, A>(vreinterpretq_u32_s64(eq64));

0 commit comments

Comments
 (0)