PacketMath.h File Reference

Go to the source code of this file.

Classes

struct  ei_packet_traits< float >
struct  ei_packet_traits< int >
struct  ei_palign_impl< Offset, v4f >
struct  ei_palign_impl< Offset, v4i >
struct  ei_unpacket_traits< v4f >
struct  ei_unpacket_traits< v4i >

Defines

#define USE_CONST_v0f   USE_CONST_v0i; const v4f v0f = (v4f) v0i
#define USE_CONST_v0f_   USE_CONST_v1i_; const v4f v0f_ = (v4f) vec_sl(v1i_, v1i_)
#define USE_CONST_v0i   const v4i v0i = vec_splat_s32(0)
#define USE_CONST_v16i_   const v4i v16i_ = vec_splat_s32(-16)
#define USE_CONST_v1f   USE_CONST_v1i; const v4f v1f = vec_ctf(v1i, 0)
#define USE_CONST_v1i   const v4i v1i = vec_splat_s32(1)
#define USE_CONST_v1i_   const v4ui v1i_ = vec_splat_u32(-1)

Typedefs

typedef __vector __bool int v4bi
typedef __vector float v4f
typedef __vector int v4i
typedef __vector unsigned int v4ui

Functions

template<>
v4i ei_padd (const v4i &a, const v4i &b)
template<>
v4f ei_padd (const v4f &a, const v4f &b)
template<>
v4f ei_pdiv (const v4f &a, const v4f &b)
template<>
int ei_pfirst (const v4i &a)
template<>
float ei_pfirst (const v4f &a)
template<>
v4i ei_pload (const int *from)
template<>
v4f ei_pload (const float *from)
template<>
v4i ei_ploadu (const int *from)
template<>
v4f ei_ploadu (const float *from)
template<>
v4f ei_pmadd (const v4f &a, const v4f &b, const v4f &c)
template<>
v4i ei_pmax (const v4i &a, const v4i &b)
template<>
v4f ei_pmax (const v4f &a, const v4f &b)
template<>
v4i ei_pmin (const v4i &a, const v4i &b)
template<>
v4f ei_pmin (const v4f &a, const v4f &b)
template<>
v4i ei_pmul (const v4i &a, const v4i &b)
template<>
v4f ei_pmul (const v4f &a, const v4f &b)
int ei_predux (const v4i &a)
float ei_predux (const v4f &a)
v4i ei_preduxp (const v4i *vecs)
v4f ei_preduxp (const v4f *vecs)
template<>
v4i ei_pset1 (const int &from)
template<>
v4f ei_pset1 (const float &from)
template<>
void ei_pstore (int *to, const v4i &from)
template<>
void ei_pstore (float *to, const v4f &from)
template<>
void ei_pstoreu (int *to, const v4i &from)
template<>
void ei_pstoreu (float *to, const v4f &from)
template<>
v4i ei_psub (const v4i &a, const v4i &b)
template<>
v4f ei_psub (const v4f &a, const v4f &b)
std::ostream & operator<< (std::ostream &s, const v4bi &v)
std::ostream & operator<< (std::ostream &s, const v4ui &v)
std::ostream & operator<< (std::ostream &s, const v4i &v)
std::ostream & operator<< (std::ostream &s, const v4f &v)

Define Documentation

#define USE_CONST_v0f   USE_CONST_v0i; const v4f v0f = (v4f) v0i

Definition at line 43 of file AltiVec/PacketMath.h.

#define USE_CONST_v0f_   USE_CONST_v1i_; const v4f v0f_ = (v4f) vec_sl(v1i_, v1i_)

Definition at line 46 of file AltiVec/PacketMath.h.

#define USE_CONST_v0i   const v4i v0i = vec_splat_s32(0)

Definition at line 40 of file AltiVec/PacketMath.h.

#define USE_CONST_v16i_   const v4i v16i_ = vec_splat_s32(-16)

Definition at line 42 of file AltiVec/PacketMath.h.

#define USE_CONST_v1f   USE_CONST_v1i; const v4f v1f = vec_ctf(v1i, 0)

Definition at line 44 of file AltiVec/PacketMath.h.

#define USE_CONST_v1i   const v4i v1i = vec_splat_s32(1)

Definition at line 41 of file AltiVec/PacketMath.h.

#define USE_CONST_v1i_   const v4ui v1i_ = vec_splat_u32(-1)

Definition at line 45 of file AltiVec/PacketMath.h.


Typedef Documentation

typedef __vector __bool int v4bi

Definition at line 35 of file AltiVec/PacketMath.h.

typedef __vector float v4f

Definition at line 32 of file AltiVec/PacketMath.h.

typedef __vector int v4i

Definition at line 33 of file AltiVec/PacketMath.h.

typedef __vector unsigned int v4ui

Definition at line 34 of file AltiVec/PacketMath.h.


Function Documentation

template<>
v4i ei_padd ( const v4i a,
const v4i b 
) [inline]

Definition at line 99 of file AltiVec/PacketMath.h.

template<>
v4f ei_padd ( const v4f a,
const v4f b 
) [inline]

Definition at line 98 of file AltiVec/PacketMath.h.

template<>
v4f ei_pdiv ( const v4f a,
const v4f b 
) [inline]

Definition at line 142 of file AltiVec/PacketMath.h.

template<>
int ei_pfirst ( const v4i a  )  [inline]

Definition at line 256 of file AltiVec/PacketMath.h.

template<>
float ei_pfirst ( const v4f a  )  [inline]

Definition at line 249 of file AltiVec/PacketMath.h.

template<>
v4i ei_pload ( const int *  from  )  [inline]

Definition at line 167 of file AltiVec/PacketMath.h.

template<>
v4f ei_pload ( const float *  from  )  [inline]

Definition at line 166 of file AltiVec/PacketMath.h.

template<>
v4i ei_ploadu ( const int *  from  )  [inline]

Definition at line 180 of file AltiVec/PacketMath.h.

template<>
v4f ei_ploadu ( const float *  from  )  [inline]

Definition at line 169 of file AltiVec/PacketMath.h.

template<>
v4f ei_pmadd ( const v4f a,
const v4f b,
const v4f c 
) [inline]

Definition at line 158 of file AltiVec/PacketMath.h.

template<>
v4i ei_pmax ( const v4i a,
const v4i b 
) [inline]

Definition at line 164 of file AltiVec/PacketMath.h.

template<>
v4f ei_pmax ( const v4f a,
const v4f b 
) [inline]

Definition at line 163 of file AltiVec/PacketMath.h.

template<>
v4i ei_pmin ( const v4i a,
const v4i b 
) [inline]

Definition at line 161 of file AltiVec/PacketMath.h.

template<>
v4f ei_pmin ( const v4f a,
const v4f b 
) [inline]

Definition at line 160 of file AltiVec/PacketMath.h.

template<>
v4i ei_pmul ( const v4i a,
const v4i b 
) [inline]

Definition at line 105 of file AltiVec/PacketMath.h.

template<>
v4f ei_pmul ( const v4f a,
const v4f b 
) [inline]

Definition at line 104 of file AltiVec/PacketMath.h.

int ei_predux ( const v4i a  )  [inline]

Definition at line 327 of file AltiVec/PacketMath.h.

float ei_predux ( const v4f a  )  [inline]

Definition at line 290 of file AltiVec/PacketMath.h.

v4i ei_preduxp ( const v4i vecs  )  [inline]

Definition at line 300 of file AltiVec/PacketMath.h.

v4f ei_preduxp ( const v4f vecs  )  [inline]

Definition at line 263 of file AltiVec/PacketMath.h.

template<>
v4i ei_pset1 ( const int &  from  )  [inline]

Definition at line 201 of file AltiVec/PacketMath.h.

template<>
v4f ei_pset1 ( const float &  from  )  [inline]

Definition at line 191 of file AltiVec/PacketMath.h.

template<>
void ei_pstore ( int *  to,
const v4i from 
) [inline]

Definition at line 211 of file AltiVec/PacketMath.h.

template<>
void ei_pstore ( float *  to,
const v4f from 
) [inline]

Definition at line 210 of file AltiVec/PacketMath.h.

template<>
void ei_pstoreu ( int *  to,
const v4i from 
) [inline]

Definition at line 231 of file AltiVec/PacketMath.h.

template<>
void ei_pstoreu ( float *  to,
const v4f from 
) [inline]

Definition at line 213 of file AltiVec/PacketMath.h.

template<>
v4i ei_psub ( const v4i a,
const v4i b 
) [inline]

Definition at line 102 of file AltiVec/PacketMath.h.

template<>
v4f ei_psub ( const v4f a,
const v4f b 
) [inline]

Definition at line 101 of file AltiVec/PacketMath.h.

std::ostream& operator<< ( std::ostream &  s,
const v4bi v 
) [inline]

Definition at line 87 of file AltiVec/PacketMath.h.

std::ostream& operator<< ( std::ostream &  s,
const v4ui v 
) [inline]

Definition at line 76 of file AltiVec/PacketMath.h.

std::ostream& operator<< ( std::ostream &  s,
const v4i v 
) [inline]

Definition at line 65 of file AltiVec/PacketMath.h.

std::ostream& operator<< ( std::ostream &  s,
const v4f v 
) [inline]

Definition at line 54 of file AltiVec/PacketMath.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:20:12 2013