Skip to content

Commit 284c38a

Browse files
WIP
1 parent 62b9257 commit 284c38a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/xsimd/arch/xsimd_altivec.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,19 @@ namespace xsimd
130130
return vec_and(self.data, other.data);
131131
}
132132

133+
#if 0
133134
// bitwise_andnot
134135
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>
135136
XSIMD_INLINE batch<T, A> bitwise_andnot(batch<T, A> const& self, batch<T, A> const& other, requires_arch<altivec>) noexcept
136137
{
137138
return vec_nand(self.data, other.data);
138139
}
139-
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>
140+
template <class A, class T, class = typename std::enable_if<std::is_scalar<T>::value, void>::type>
140141
XSIMD_INLINE batch_bool<T, A> bitwise_andnot(batch_bool<T, A> const& self, batch_bool<T, A> const& other, requires_arch<altivec>) noexcept
141142
{
142143
return vec_nand(self.data, other.data);
143144
}
145+
#endif
144146

145147
// bitwise_lshift
146148
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>

0 commit comments

Comments
 (0)