Add packet up "pones". Write pnot(a) as pxor(pones(a), a).

This commit is contained in:
Rasmus Munk Larsen
2019-01-09 16:17:08 -08:00
parent cb3c059fa4
commit cb955df9a6
8 changed files with 95 additions and 35 deletions

View File

@@ -239,6 +239,8 @@ template<typename Scalar,typename Packet> void packetmath()
CHECK_CWISE2_IF(PacketTraits::HasDiv, REF_DIV, internal::pdiv);
CHECK_CWISE1(internal::pnot, internal::pnot);
CHECK_CWISE1(internal::pzero, internal::pzero);
CHECK_CWISE1(internal::pones, internal::pones);
CHECK_CWISE1(internal::negate, internal::pnegate);
CHECK_CWISE1(numext::conj, internal::pconj);