Skip to content

Commit fd6295a

Browse files
Fix avx512f batch_bool xor operation
Fix #1158
1 parent a625e29 commit fd6295a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/arch/xsimd_avx512f.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ namespace xsimd
580580
XSIMD_INLINE batch_bool<T, A> bitwise_xor(batch_bool<T, A> const& self, batch_bool<T, A> const& other, requires_arch<avx512f>) noexcept
581581
{
582582
using register_type = typename batch_bool<T, A>::register_type;
583-
return register_type(self.data | other.data);
583+
return register_type(self.data ^ other.data);
584584
}
585585

586586
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>

0 commit comments

Comments
 (0)