STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Iu8vec16 Class Reference

#include <dvec.h>

Inheritance diagram for Iu8vec16:
I8vec16 M128

Public Member Functions

 Iu8vec16 ()
 
 Iu8vec16 (__m128i mm)
 
 Iu8vec16 (unsigned char u15, unsigned char u14, unsigned char u13, unsigned char u12, unsigned char u11, unsigned char u10, unsigned char u9, unsigned char u8, unsigned char u7, unsigned char u6, unsigned char u5, unsigned char u4, unsigned char u3, unsigned char u2, unsigned char u1, unsigned char u0)
 
Iu8vec16operator= (const M128 &a)
 
Iu8vec16operator&= (const M128 &a)
 
Iu8vec16operator|= (const M128 &a)
 
Iu8vec16operator^= (const M128 &a)
 
Iu8vec16operator+= (const I8vec16 &a)
 
Iu8vec16operator-= (const I8vec16 &a)
 
const unsigned char & operator[] (int i) const
 
unsigned char & operator[] (int i)
 
- Public Member Functions inherited from I8vec16
 I8vec16 ()
 
 I8vec16 (__m128i mm)
 
 I8vec16 (char s15, char s14, char s13, char s12, char s11, char s10, char s9, char s8, char s7, char s6, char s5, char s4, char s3, char s2, char s1, char s0)
 
I8vec16operator= (const M128 &a)
 
I8vec16operator&= (const M128 &a)
 
I8vec16operator|= (const M128 &a)
 
I8vec16operator^= (const M128 &a)
 
I8vec16operator+= (const I8vec16 &a)
 
I8vec16operator-= (const I8vec16 &a)
 
- Public Member Functions inherited from M128
 M128 ()
 
 M128 (__m128i mm)
 
 operator __m128i () const
 
M128operator&= (const M128 &a)
 
M128operator|= (const M128 &a)
 
M128operator^= (const M128 &a)
 

Additional Inherited Members

- Protected Attributes inherited from M128
__m128i vec
 

Constructor & Destructor Documentation

Iu8vec16::Iu8vec16 ( )
inline
732 { }
Iu8vec16::Iu8vec16 ( __m128i  mm)
inline
733 : I8vec16(mm) { }
I8vec16()
Definition: dvec.h:620
Iu8vec16::Iu8vec16 ( unsigned char  u15,
unsigned char  u14,
unsigned char  u13,
unsigned char  u12,
unsigned char  u11,
unsigned char  u10,
unsigned char  u9,
unsigned char  u8,
unsigned char  u7,
unsigned char  u6,
unsigned char  u5,
unsigned char  u4,
unsigned char  u3,
unsigned char  u2,
unsigned char  u1,
unsigned char  u0 
)
inline
740  : I8vec16(u15, u14, u13, u12, u11, u10, u9, u8,
741  u7, u6, u5, u4, u3, u2, u1, u0) { }
I8vec16()
Definition: dvec.h:620

Member Function Documentation

Iu8vec16& Iu8vec16::operator&= ( const M128 a)
inline
747 { return *this = (Iu8vec16) _mm_and_si128(vec,a); }
Iu8vec16()
Definition: dvec.h:732
__m128i vec
Definition: dvec.h:131
__m128i _mm_and_si128(__m128i _A, __m128i _B)
Iu8vec16& Iu8vec16::operator+= ( const I8vec16 a)
inline
752 { return *this = (Iu8vec16) _mm_add_epi8(vec,a); }
__m128i _mm_add_epi8(__m128i _A, __m128i _B)
Iu8vec16()
Definition: dvec.h:732
__m128i vec
Definition: dvec.h:131
Iu8vec16& Iu8vec16::operator-= ( const I8vec16 a)
inline
753 { return *this = (Iu8vec16) _mm_sub_epi8(vec,a); }
Iu8vec16()
Definition: dvec.h:732
__m128i vec
Definition: dvec.h:131
__m128i _mm_sub_epi8(__m128i _A, __m128i _B)
Iu8vec16& Iu8vec16::operator= ( const M128 a)
inline
744 { return *this = (Iu8vec16) a; }
Iu8vec16()
Definition: dvec.h:732
const unsigned char& Iu8vec16::operator[] ( int  i) const
inline
781  {
782  _VEC_ASSERT(static_cast<unsigned int>(i) < 16); /* Only 16 elements to access */
783  return _MM_16UB(i,vec);
784  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
#define _MM_16UB(element, vector)
Definition: dvec.h:90
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
unsigned char& Iu8vec16::operator[] ( int  i)
inline
788  {
789  _VEC_ASSERT(static_cast<unsigned int>(i) < 16); /* Only 16 elements to access */
790  return _MM_16UB(i,vec);
791  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
#define _MM_16UB(element, vector)
Definition: dvec.h:90
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
Iu8vec16& Iu8vec16::operator^= ( const M128 a)
inline
749 { return *this = (Iu8vec16) _mm_xor_si128(vec,a); }
__m128i _mm_xor_si128(__m128i _A, __m128i _B)
Iu8vec16()
Definition: dvec.h:732
__m128i vec
Definition: dvec.h:131
Iu8vec16& Iu8vec16::operator|= ( const M128 a)
inline
748 { return *this = (Iu8vec16) _mm_or_si128(vec,a); }
Iu8vec16()
Definition: dvec.h:732
__m128i _mm_or_si128(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131

The documentation for this class was generated from the following file: