10 #ifndef EIGEN_PACKET_MATH_ZVECTOR_H 11 #define EIGEN_PACKET_MATH_ZVECTOR_H 17 #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 18 #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 16 21 #ifndef EIGEN_HAS_SINGLE_INSTRUCTION_MADD 22 #define EIGEN_HAS_SINGLE_INSTRUCTION_MADD 25 #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 26 #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 32 35 typedef __vector
unsigned long long Packet2ul;
39 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12) 59 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12) 67 #define _EIGEN_DECLARE_CONST_FAST_Packet4i(NAME,X) \ 68 Packet4i p4i_##NAME = reinterpret_cast<Packet4i>(vec_splat_s32(X)) 70 #define _EIGEN_DECLARE_CONST_FAST_Packet2d(NAME,X) \ 71 Packet2d p2d_##NAME = reinterpret_cast<Packet2d>(vec_splat_s64(X)) 73 #define _EIGEN_DECLARE_CONST_FAST_Packet2l(NAME,X) \ 74 Packet2l p2l_##NAME = reinterpret_cast<Packet2l>(vec_splat_s64(X)) 76 #define _EIGEN_DECLARE_CONST_Packet4i(NAME,X) \ 77 Packet4i p4i_##NAME = pset1<Packet4i>(X) 79 #define _EIGEN_DECLARE_CONST_Packet2d(NAME,X) \ 80 Packet2d p2d_##NAME = pset1<Packet2d>(X) 82 #define _EIGEN_DECLARE_CONST_Packet2l(NAME,X) \ 83 Packet2l p2l_##NAME = pset1<Packet2l>(X) 95 numext::bit_cast<double>0x8000000000000000ull) };
97 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12) 98 #define _EIGEN_DECLARE_CONST_FAST_Packet4f(NAME,X) \ 99 Packet4f p4f_##NAME = reinterpret_cast<Packet4f>(vec_splat_s32(X)) 101 #define _EIGEN_DECLARE_CONST_Packet4f(NAME,X) \ 102 Packet4f p4f_##NAME = pset1<Packet4f>(X) 104 #define _EIGEN_DECLARE_CONST_Packet4f_FROM_INT(NAME,X) \ 105 const Packet4f p4f_##NAME = reinterpret_cast<Packet4f>(pset1<Packet4i>(X)) 109 static Packet4f
p4f_MZERO = { 0x80000000, 0x80000000, 0x80000000, 0x80000000};
114 static Packet2d
p2d_COUNTDOWN =
reinterpret_cast<Packet2d
>(vec_sld(reinterpret_cast<Packet16uc>(p2d_ZERO), reinterpret_cast<Packet16uc>(p2d_ONE), 8));
116 static Packet16uc
p16uc_PSET64_HI = { 0,1,2,3, 4,5,6,7, 0,1,2,3, 4,5,6,7 };
117 static Packet16uc
p16uc_DUPLICATE32_HI = { 0,1,2,3, 0,1,2,3, 4,5,6,7, 4,5,6,7 };
120 #define _EIGEN_MASK_ALIGNMENT 0xfffffffffffffff0 122 #define _EIGEN_ALIGNED_PTR(x) ((std::ptrdiff_t)(x) & _EIGEN_MASK_ALIGNMENT) 127 static Packet16uc
p16uc_FORWARD = { 0,1,2,3, 4,5,6,7, 8,9,10,11, 12,13,14,15 };
128 static Packet16uc
p16uc_REVERSE32 = { 12,13,14,15, 8,9,10,11, 4,5,6,7, 0,1,2,3 };
129 static Packet16uc
p16uc_REVERSE64 = { 8,9,10,11, 12,13,14,15, 0,1,2,3, 4,5,6,7 };
131 static Packet16uc
p16uc_PSET32_WODD = vec_sld((Packet16uc) vec_splat((Packet4ui)p16uc_FORWARD, 0), (Packet16uc) vec_splat((Packet4ui)p16uc_FORWARD, 2), 8);
132 static Packet16uc
p16uc_PSET32_WEVEN = vec_sld(p16uc_DUPLICATE32_HI, (Packet16uc) vec_splat((Packet4ui)p16uc_FORWARD, 3), 8);
139 static Packet16uc
p16uc_TRANSPOSE64_HI = { 0,1,2,3, 4,5,6,7, 16,17,18,19, 20,21,22,23};
140 static Packet16uc
p16uc_TRANSPOSE64_LO = { 8,9,10,11, 12,13,14,15, 24,25,26,27, 28,29,30,31};
147 #if EIGEN_HAS_BUILTIN(__builtin_prefetch) || EIGEN_COMP_GNUC 148 #define EIGEN_ZVECTOR_PREFETCH(ADDR) __builtin_prefetch(ADDR); 150 #define EIGEN_ZVECTOR_PREFETCH(ADDR) asm( " pfd [%[addr]]\n" :: [addr] "r" (ADDR) : "cc" ); 153 template<>
struct packet_traits<
int> : default_packet_traits
235 template<>
struct unpacket_traits<Packet4i> {
typedef int type;
enum {
size=4, alignment=
Aligned16, vectorizable=
true, masked_load_available=
false, masked_store_available=
false};
typedef Packet4i
half; };
236 template<>
struct unpacket_traits<Packet4f> {
typedef float type;
enum {
size=4, alignment=
Aligned16, vectorizable=
true, masked_load_available=
false, masked_store_available=
false};
typedef Packet4f
half; };
237 template<>
struct unpacket_traits<Packet2d> {
typedef double type;
enum {
size=2, alignment=
Aligned16, vectorizable=
true, masked_load_available=
false, masked_store_available=
false};
typedef Packet2d
half; };
242 inline std::ostream &
operator <<(std::ostream &
s,
const Packet4i &
v)
246 s << vt.
i[0] <<
", " << vt.
i[1] <<
", " << vt.
i[2] <<
", " << vt.
i[3];
250 inline std::ostream &
operator <<(std::ostream & s,
const Packet4ui & v)
254 s << vt.
ui[0] <<
", " << vt.
ui[1] <<
", " << vt.
ui[2] <<
", " << vt.
ui[3];
258 inline std::ostream &
operator <<(std::ostream & s,
const Packet2l & v)
262 s << vt.
l[0] <<
", " << vt.
l[1];
266 inline std::ostream &
operator <<(std::ostream & s,
const Packet2ul & v)
270 s << vt.
ul[0] <<
", " << vt.
ul[1] ;
274 inline std::ostream &
operator <<(std::ostream & s,
const Packet2d & v)
278 s << vt.
d[0] <<
", " << vt.
d[1];
282 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12) 283 inline std::ostream &
operator <<(std::ostream & s,
const Packet4f & v)
287 s << vt.
f[0] <<
", " << vt.
f[1] <<
", " << vt.
f[2] <<
", " << vt.
f[3];
330 return vec_splats(from);
333 return vec_splats(from);
338 Packet4i& a0, Packet4i&
a1, Packet4i&
a2, Packet4i&
a3)
341 a0 = vec_splat(
a3, 0);
342 a1 = vec_splat(
a3, 1);
343 a2 = vec_splat(
a3, 2);
344 a3 = vec_splat(
a3, 3);
349 Packet2d& a0, Packet2d&
a1, Packet2d&
a2, Packet2d&
a3)
352 a0 = vec_splat(a1, 0);
353 a1 = vec_splat(a1, 1);
355 a2 = vec_splat(
a3, 0);
356 a3 = vec_splat(
a3, 1);
362 ai[0] = from[0*stride];
363 ai[1] = from[1*stride];
364 ai[2] = from[2*stride];
365 ai[3] = from[3*stride];
372 af[0] = from[0*stride];
373 af[1] = from[1*stride];
381 to[0*stride] = ai[0];
382 to[1*stride] = ai[1];
383 to[2*stride] = ai[2];
384 to[3*stride] = ai[3];
391 to[0*stride] = af[0];
392 to[1*stride] = af[1];
414 template<>
EIGEN_STRONG_INLINE Packet2d
pmadd(
const Packet2d& a,
const Packet2d& b,
const Packet2d& c) {
return vec_madd(a, b, c); }
448 return vec_perm(p, p, p16uc_DUPLICATE32_HI);
454 return vec_perm(p, p, p16uc_PSET64_HI);
468 return reinterpret_cast<Packet4i
>(vec_perm(reinterpret_cast<Packet16uc>(a), reinterpret_cast<Packet16uc>(a), p16uc_REVERSE32));
473 return reinterpret_cast<Packet2d
>(vec_perm(reinterpret_cast<Packet16uc>(a), reinterpret_cast<Packet16uc>(a), p16uc_REVERSE64));
482 b = vec_sld(a, a, 8);
484 b = vec_sld(sum, sum, 4);
492 b =
reinterpret_cast<Packet2d
>(vec_sld(reinterpret_cast<Packet4i>(a), reinterpret_cast<Packet4i>(a), 8));
503 return aux[0] * aux[1] * aux[2] * aux[3];
508 return pfirst(
pmul(a, reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4i>(a), reinterpret_cast<Packet4i>(a), 8))));
522 return pfirst(
pmin<Packet2d>(a, reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4i>(a), reinterpret_cast<Packet4i>(a), 8))));
537 return pfirst(
pmax<Packet2d>(a, reinterpret_cast<Packet2d>(vec_sld(reinterpret_cast<Packet4i>(a), reinterpret_cast<Packet4i>(a), 8))));
542 Packet4i t0 = vec_mergeh(kernel.
packet[0], kernel.
packet[2]);
543 Packet4i t1 = vec_mergel(kernel.
packet[0], kernel.
packet[2]);
544 Packet4i t2 = vec_mergeh(kernel.
packet[1], kernel.
packet[3]);
545 Packet4i t3 = vec_mergel(kernel.
packet[1], kernel.
packet[3]);
546 kernel.
packet[0] = vec_mergeh(t0, t2);
547 kernel.
packet[1] = vec_mergel(t0, t2);
548 kernel.
packet[2] = vec_mergeh(t1, t3);
549 kernel.
packet[3] = vec_mergel(t1, t3);
554 Packet2d t0 = vec_perm(kernel.
packet[0], kernel.
packet[1], p16uc_TRANSPOSE64_HI);
555 Packet2d t1 = vec_perm(kernel.
packet[0], kernel.
packet[1], p16uc_TRANSPOSE64_LO);
562 Packet4ui mask = vec_cmpeq(select, reinterpret_cast<Packet4ui>(p4i_ONE));
563 return vec_sel(elsePacket, thenPacket, mask);
568 Packet2ul select = { ifPacket.
select[0], ifPacket.
select[1] };
569 Packet2ul mask = vec_cmpeq(select, reinterpret_cast<Packet2ul>(p2l_ONE));
570 return vec_sel(elsePacket, thenPacket, mask);
576 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ < 12) 584 splat.v4f[0] = vec_splat(from.v4f[0], 0);
585 splat.v4f[1] = splat.v4f[0];
588 splat.v4f[0] = vec_splat(from.v4f[0], 1);
589 splat.v4f[1] = splat.v4f[0];
592 splat.v4f[0] = vec_splat(from.v4f[1], 0);
593 splat.v4f[1] = splat.v4f[0];
596 splat.v4f[0] = vec_splat(from.v4f[1], 1);
597 splat.v4f[1] = splat.v4f[0];
608 vfrom.v4f[0] = vec_ld2f(&from[0]);
609 vfrom.v4f[1] = vec_ld2f(&from[2]);
617 vec_st2f(from.v4f[0], &to[0]);
618 vec_st2f(from.v4f[1], &to[2]);
625 to.v4f[1] = to.v4f[0];
631 Packet4f& a0, Packet4f&
a1, Packet4f&
a2, Packet4f&
a3)
634 a0 = vec_splat_packet4f<0>(
a3);
635 a1 = vec_splat_packet4f<1>(
a3);
636 a2 = vec_splat_packet4f<2>(
a3);
637 a3 = vec_splat_packet4f<3>(
a3);
643 ai[0] = from[0*stride];
644 ai[1] = from[1*stride];
645 ai[2] = from[2*stride];
646 ai[3] = from[3*stride];
654 to[0*stride] = ai[0];
655 to[1*stride] = ai[1];
656 to[2*stride] = ai[2];
657 to[3*stride] = ai[3];
663 c.v4f[0] = a.v4f[0] + b.v4f[0];
664 c.v4f[1] = a.v4f[1] + b.v4f[1];
671 c.v4f[0] = a.v4f[0] - b.v4f[0];
672 c.v4f[1] = a.v4f[1] - b.v4f[1];
679 c.v4f[0] = a.v4f[0] * b.v4f[0];
680 c.v4f[1] = a.v4f[1] * b.v4f[1];
687 c.v4f[0] = a.v4f[0] / b.v4f[0];
688 c.v4f[1] = a.v4f[1] / b.v4f[1];
695 c.v4f[0] = -a.v4f[0];
696 c.v4f[1] = -a.v4f[1];
703 res.v4f[0] = vec_madd(a.v4f[0], b.v4f[0], c.v4f[0]);
704 res.v4f[1] = vec_madd(a.v4f[1], b.v4f[1], c.v4f[1]);
711 res.v4f[0] =
pmin(a.v4f[0], b.v4f[0]);
712 res.v4f[1] =
pmin(a.v4f[1], b.v4f[1]);
719 res.v4f[0] =
pmax(a.v4f[0], b.v4f[0]);
720 res.v4f[1] =
pmax(a.v4f[1], b.v4f[1]);
727 res.v4f[0] =
pand(a.v4f[0], b.v4f[0]);
728 res.v4f[1] =
pand(a.v4f[1], b.v4f[1]);
735 res.v4f[0] =
por(a.v4f[0], b.v4f[0]);
736 res.v4f[1] =
por(a.v4f[1], b.v4f[1]);
743 res.v4f[0] =
pxor(a.v4f[0], b.v4f[0]);
744 res.v4f[1] =
pxor(a.v4f[1], b.v4f[1]);
751 res.v4f[0] =
pandnot(a.v4f[0], b.v4f[0]);
752 res.v4f[1] =
pandnot(a.v4f[1], b.v4f[1]);
759 res.v4f[0] = vec_round(a.v4f[0]);
760 res.v4f[1] = vec_round(a.v4f[1]);
767 res.v4f[0] = vec_ceil(a.v4f[0]);
768 res.v4f[1] = vec_ceil(a.v4f[1]);
775 res.v4f[0] = vec_floor(a.v4f[0]);
776 res.v4f[1] = vec_floor(a.v4f[1]);
783 p.v4f[1] = vec_splat(p.v4f[0], 1);
784 p.v4f[0] = vec_splat(p.v4f[0], 0);
793 rev.v4f[0] = preverse<Packet2d>(a.v4f[1]);
794 rev.v4f[1] = preverse<Packet2d>(a.v4f[0]);
801 res.v4f[0] =
pabs(a.v4f[0]);
802 res.v4f[1] =
pabs(a.v4f[1]);
811 return static_cast<float>(
first);
824 res =
pmin<Packet2d>(
b,
reinterpret_cast<Packet2d
>(vec_sld(reinterpret_cast<Packet4i>(b), reinterpret_cast<Packet4i>(b), 8)));
825 return static_cast<float>(
pfirst(res));
832 res =
pmax<Packet2d>(
b,
reinterpret_cast<Packet2d
>(vec_sld(reinterpret_cast<Packet4i>(b), reinterpret_cast<Packet4i>(b), 8)));
833 return static_cast<float>(
pfirst(res));
875 Packet2ul select_hi = { ifPacket.
select[0], ifPacket.
select[1] };
876 Packet2ul select_lo = { ifPacket.
select[2], ifPacket.
select[3] };
877 Packet2ul mask_hi = vec_cmpeq(select_hi, reinterpret_cast<Packet2ul>(p2l_ONE));
878 Packet2ul mask_lo = vec_cmpeq(select_lo, reinterpret_cast<Packet2ul>(p2l_ONE));
880 result.v4f[0] = vec_sel(elsePacket.v4f[0], thenPacket.v4f[0], mask_hi);
881 result.v4f[1] = vec_sel(elsePacket.v4f[1], thenPacket.v4f[1], mask_lo);
888 res.v4f[0] =
pcmp_le(a.v4f[0], b.v4f[0]);
889 res.v4f[1] =
pcmp_le(a.v4f[1], b.v4f[1]);
896 res.v4f[0] =
pcmp_lt(a.v4f[0], b.v4f[0]);
897 res.v4f[1] =
pcmp_lt(a.v4f[1], b.v4f[1]);
904 res.v4f[0] =
pcmp_eq(a.v4f[0], b.v4f[0]);
905 res.v4f[1] =
pcmp_eq(a.v4f[1], b.v4f[1]);
930 return vec_splats(from);
935 Packet4f& a0, Packet4f&
a1, Packet4f&
a2, Packet4f&
a3)
938 a0 = vec_splat(
a3, 0);
939 a1 = vec_splat(
a3, 1);
940 a2 = vec_splat(
a3, 2);
941 a3 = vec_splat(
a3, 3);
947 af[0] = from[0*stride];
948 af[1] = from[1*stride];
949 af[2] = from[2*stride];
950 af[3] = from[3*stride];
958 to[0*stride] = af[0];
959 to[1*stride] = af[1];
960 to[2*stride] = af[2];
961 to[3*stride] = af[3];
970 template<>
EIGEN_STRONG_INLINE Packet4f pmadd<Packet4f> (
const Packet4f&
a,
const Packet4f&
b,
const Packet4f&
c) {
return vec_madd(a, b, c); }
986 return vec_perm(p, p, p16uc_DUPLICATE32_HI);
991 return reinterpret_cast<Packet4f
>(vec_perm(reinterpret_cast<Packet16uc>(a), reinterpret_cast<Packet16uc>(a), p16uc_REVERSE32));
997 b = vec_sld(a, a, 8);
999 b = vec_sld(sum, sum, 4);
1009 prod =
pmul(a, vec_sld(a, a, 8));
1010 return pfirst(
pmul(prod, vec_sld(prod, prod, 4)));
1033 Packet4f t0 = vec_mergeh(kernel.
packet[0], kernel.
packet[2]);
1034 Packet4f t1 = vec_mergel(kernel.
packet[0], kernel.
packet[2]);
1035 Packet4f t2 = vec_mergeh(kernel.
packet[1], kernel.
packet[3]);
1036 Packet4f t3 = vec_mergel(kernel.
packet[1], kernel.
packet[3]);
1037 kernel.
packet[0] = vec_mergeh(t0, t2);
1038 kernel.
packet[1] = vec_mergel(t0, t2);
1039 kernel.
packet[2] = vec_mergeh(t1, t3);
1040 kernel.
packet[3] = vec_mergel(t1, t3);
1045 Packet4ui mask = vec_cmpeq(select, reinterpret_cast<Packet4ui>(p4i_ONE));
1046 return vec_sel(elsePacket, thenPacket, mask);
1060 #endif // EIGEN_PACKET_MATH_ZVECTOR_H static Packet16uc p16uc_REVERSE64
internal::packet_traits< Scalar >::type Packet
EIGEN_STRONG_INLINE Packet4i ploaddup< Packet4i >(const int *from)
EIGEN_DEVICE_FUNC void pscatter< int, Packet4i >(int *to, const Packet4i &from, Index stride)
static _EIGEN_DECLARE_CONST_FAST_Packet4i(ZERO, 0)
EIGEN_STRONG_INLINE Packet4f pxor< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet4f pcmp_le< Packet4f >(const Packet4f &a, const Packet4f &b)
#define EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE Packet4f pround< Packet4f >(const Packet4f &a)
__vector unsigned char Packet16uc
EIGEN_STRONG_INLINE Packet2d plset< Packet2d >(const double &a)
EIGEN_STRONG_INLINE int pfirst< Packet4i >(const Packet4i &a)
EIGEN_DEVICE_FUNC void pscatter< float, Packet4f >(float *to, const Packet4f &from, Index stride)
EIGEN_STRONG_INLINE double predux_min< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet4i pload< Packet4i >(const int *from)
static Packet16uc p16uc_PSET32_WODD
static Packet2d p2d_ZERO_
EIGEN_STRONG_INLINE double predux_max< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet8h pandnot(const Packet8h &a, const Packet8h &b)
EIGEN_STRONG_INLINE Packet2d pabs< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet4i plset< Packet4i >(const int &a)
EIGEN_STRONG_INLINE Packet4f pcmp_le(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet2d pceil< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE float pfirst< Packet4f >(const Packet4f &a)
static Packet16uc p16uc_TRANSPOSE64_LO
static Packet16uc p16uc_COMPLEX32_REV2
EIGEN_STRONG_INLINE Packet4f ploaddup< Packet4f >(const float *from)
EIGEN_STRONG_INLINE Packet4f pabs< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE void pbroadcast4< Packet4f >(const float *a, Packet4f &a0, Packet4f &a1, Packet4f &a2, Packet4f &a3)
EIGEN_STRONG_INLINE int predux< Packet4i >(const Packet4i &a)
#define EIGEN_DEBUG_ALIGNED_STORE
__vector unsigned int Packet4ui
Namespace containing all symbols from the Eigen library.
EIGEN_STRONG_INLINE Packet4i ploadu< Packet4i >(const int *from)
EIGEN_STRONG_INLINE float predux_max< Packet4f >(const Packet4f &a)
static Packet16uc p16uc_FORWARD
static _EIGEN_DECLARE_CONST_FAST_Packet2d(ZERO, 0)
EIGEN_STRONG_INLINE void prefetch< float >(const float *addr)
static Packet16uc p16uc_REVERSE32
EIGEN_STRONG_INLINE Packet4i pdiv< Packet4i >(const Packet4i &, const Packet4i &)
EIGEN_CONSTEXPR Index first(const T &x) EIGEN_NOEXCEPT
EIGEN_STRONG_INLINE Packet8h pxor(const Packet8h &a, const Packet8h &b)
static Packet16uc p16uc_PSET32_WEVEN
EIGEN_STRONG_INLINE int predux_min< Packet4i >(const Packet4i &a)
EIGEN_STRONG_INLINE void pstoreu< double >(double *to, const Packet4d &from)
__vector __bool int Packet4bi
#define EIGEN_DEBUG_ALIGNED_LOAD
static Packet4f p4f_MZERO
EIGEN_STRONG_INLINE Packet4f pcmp_lt(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet2d padd< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE Packet2d ploaddup< Packet2d >(const double *from)
static Packet4i p4i_COUNTDOWN
EIGEN_STRONG_INLINE double predux_mul< Packet2d >(const Packet2d &a)
#define EIGEN_ZVECTOR_PREFETCH(ADDR)
EIGEN_DEVICE_FUNC Packet4i pgather< int, Packet4i >(const int *from, Index stride)
EIGEN_STRONG_INLINE Packet2d pdiv< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_DEVICE_FUNC Packet pmin(const Packet &a, const Packet &b)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
EIGEN_STRONG_INLINE Packet4i pmul< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE Packet2d pandnot< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE bfloat16 pfirst(const Packet8bf &a)
EIGEN_STRONG_INLINE void pstore< double >(double *to, const Packet4d &from)
EIGEN_STRONG_INLINE Packet4f pceil< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE Packet4f pdiv< Packet4f >(const Packet4f &a, const Packet4f &b)
static _EIGEN_DECLARE_CONST_FAST_Packet4f(ZERO, 0)
EIGEN_STRONG_INLINE Packet4f pmin< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet2d pmin< Packet2d >(const Packet2d &a, const Packet2d &b)
static const Line3 l(Rot3(), 1, 1)
EIGEN_STRONG_INLINE void prefetch< int >(const int *addr)
EIGEN_STRONG_INLINE Packet4i pand< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE int predux_max< Packet4i >(const Packet4i &a)
EIGEN_STRONG_INLINE Packet2cf pcmp_eq(const Packet2cf &a, const Packet2cf &b)
EIGEN_STRONG_INLINE Packet4i pmin< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE Packet4f ploadu< Packet4f >(const float *from)
EIGEN_STRONG_INLINE void ptranspose(PacketBlock< Packet2cf, 2 > &kernel)
EIGEN_STRONG_INLINE Packet4i pxor< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE void pstoreu< int >(int *to, const Packet4i &from)
EIGEN_STRONG_INLINE void pstore< float >(float *to, const Packet4f &from)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC void pscatter< double, Packet2d >(double *to, const Packet2d &from, Index stride)
Array< int, Dynamic, 1 > v
EIGEN_STRONG_INLINE Packet4f por< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE Packet2d pmax< Packet2d >(const Packet2d &a, const Packet2d &b)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
EIGEN_STRONG_INLINE Packet4f pandnot< Packet4f >(const Packet4f &a, const Packet4f &b)
static Packet16uc p16uc_COMPLEX32_REV
EIGEN_STRONG_INLINE void pbroadcast4< Packet2d >(const double *a, Packet2d &a0, Packet2d &a1, Packet2d &a2, Packet2d &a3)
EIGEN_STRONG_INLINE Packet8h pand(const Packet8h &a, const Packet8h &b)
EIGEN_STRONG_INLINE float predux< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE Packet2d pand< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE Packet2d ploadu< Packet2d >(const double *from)
EIGEN_STRONG_INLINE Packet2cf pconj(const Packet2cf &a)
EIGEN_STRONG_INLINE float predux_min< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE Packet2d pload< Packet2d >(const double *from)
EIGEN_STRONG_INLINE Packet2d psub< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE void pstoreu< float >(float *to, const Packet4f &from)
static Packet2d p2d_COUNTDOWN
EIGEN_STRONG_INLINE int predux_mul< Packet4i >(const Packet4i &a)
EIGEN_STRONG_INLINE Packet4f pmul< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_DEVICE_FUNC void pstore(Scalar *to, const Packet &from)
EIGEN_STRONG_INLINE double predux< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet4f pload< Packet4f >(const float *from)
EIGEN_STRONG_INLINE Packet4i pmax< Packet4i >(const Packet4i &a, const Packet4i &b)
#define EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE Packet2d pxor< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE Packet2cf pnegate(const Packet2cf &a)
EIGEN_STRONG_INLINE Packet4i por< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE Packet4f pcmp_lt< Packet4f >(const Packet4f &a, const Packet4f &b)
static Packet4f p4f_COUNTDOWN
EIGEN_STRONG_INLINE Packet4i padd< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt bit_cast(const Src &src)
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux_mul(const Packet &a)
EIGEN_STRONG_INLINE Packet4f padd< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_STRONG_INLINE void pstore< int >(int *to, const Packet4i &from)
EIGEN_STRONG_INLINE Packet4i pandnot< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE Packet4f pfloor< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE void pbroadcast4< Packet4i >(const int *a, Packet4i &a0, Packet4i &a1, Packet4i &a2, Packet4i &a3)
static Packet16uc p16uc_DUPLICATE32_HI
EIGEN_STRONG_INLINE Packet4f pmadd(const Packet4f &a, const Packet4f &b, const Packet4f &c)
EIGEN_STRONG_INLINE Packet2d pround< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet2d pfloor< Packet2d >(const Packet2d &a)
EIGEN_STRONG_INLINE Packet2d pset1< Packet2d >(const double &from)
EIGEN_STRONG_INLINE Packet4f plset< Packet4f >(const float &a)
EIGEN_STRONG_INLINE Packet4f pcmp_eq< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_DEVICE_FUNC Packet2d pgather< double, Packet2d >(const double *from, Index stride)
EIGEN_STRONG_INLINE Packet8h por(const Packet8h &a, const Packet8h &b)
EIGEN_STRONG_INLINE Packet2d pmul< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE Packet4i pabs< Packet4i >(const Packet4i &a)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
EIGEN_STRONG_INLINE Packet4f pmax< Packet4f >(const Packet4f &a, const Packet4f &b)
static Packet16uc p16uc_PSET64_HI
EIGEN_STRONG_INLINE Packet4f pset1< Packet4f >(const float &from)
EIGEN_STRONG_INLINE Packet4f vec_splat_packet4f(const Packet4f &from)
EIGEN_STRONG_INLINE double pfirst< Packet2d >(const Packet2d &a)
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC Packet4f pgather< float, Packet4f >(const float *from, Index stride)
EIGEN_STRONG_INLINE void prefetch< double >(const double *addr)
static Packet16uc p16uc_TRANSPOSE64_HI
std::ostream & operator<<(std::ostream &s, const Packet16c &v)
EIGEN_STRONG_INLINE Packet4i psub< Packet4i >(const Packet4i &a, const Packet4i &b)
EIGEN_STRONG_INLINE Packet4f psub< Packet4f >(const Packet4f &a, const Packet4f &b)
EIGEN_DEVICE_FUNC Packet pmax(const Packet &a, const Packet &b)
static Packet16uc p16uc_PSET64_LO
EIGEN_STRONG_INLINE Packet4i pblend(const Selector< 4 > &ifPacket, const Packet4i &thenPacket, const Packet4i &elsePacket)
EIGEN_STRONG_INLINE Packet4i pset1< Packet4i >(const int &from)
static _EIGEN_DECLARE_CONST_FAST_Packet2l(ZERO, 0)
EIGEN_STRONG_INLINE Packet2cf preverse(const Packet2cf &a)
EIGEN_STRONG_INLINE Packet2d por< Packet2d >(const Packet2d &a, const Packet2d &b)
EIGEN_STRONG_INLINE float predux_mul< Packet4f >(const Packet4f &a)
EIGEN_STRONG_INLINE Packet4f pabs(const Packet4f &a)
const Product< Lhs, Rhs > prod(const Lhs &lhs, const Rhs &rhs)
EIGEN_STRONG_INLINE Packet4f pand< Packet4f >(const Packet4f &a, const Packet4f &b)