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

#include <dvec.h>

Inheritance diagram for Is8vec16:
I8vec16 M128

Public Member Functions

 Is8vec16 ()
 
 Is8vec16 (__m128i mm)
 
 Is8vec16 (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)
 
Is8vec16operator= (const M128 &a)
 
Is8vec16operator&= (const M128 &a)
 
Is8vec16operator|= (const M128 &a)
 
Is8vec16operator^= (const M128 &a)
 
Is8vec16operator+= (const I8vec16 &a)
 
Is8vec16operator-= (const I8vec16 &a)
 
const signed char & operator[] (int i) const
 
signed 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

Is8vec16::Is8vec16 ( )
inline
655 { }
Is8vec16::Is8vec16 ( __m128i  mm)
inline
656 : I8vec16(mm) { }
I8vec16()
Definition: dvec.h:620
Is8vec16::Is8vec16 ( 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 
)
inline
660  : I8vec16(s15, s14, s13, s12, s11, s10, s9, s8,
661  s7, s6, s5, s4, s3, s2, s1, s0) { }
I8vec16()
Definition: dvec.h:620

Member Function Documentation

Is8vec16& Is8vec16::operator&= ( const M128 a)
inline
667 { return *this = (Is8vec16) _mm_and_si128(vec,a); }
__m128i vec
Definition: dvec.h:131
Is8vec16()
Definition: dvec.h:655
__m128i _mm_and_si128(__m128i _A, __m128i _B)
Is8vec16& Is8vec16::operator+= ( const I8vec16 a)
inline
672 { return *this = (Is8vec16) _mm_add_epi8(vec,a); }
__m128i _mm_add_epi8(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131
Is8vec16()
Definition: dvec.h:655
Is8vec16& Is8vec16::operator-= ( const I8vec16 a)
inline
673 { return *this = (Is8vec16) _mm_sub_epi8(vec,a); }
__m128i vec
Definition: dvec.h:131
__m128i _mm_sub_epi8(__m128i _A, __m128i _B)
Is8vec16()
Definition: dvec.h:655
Is8vec16& Is8vec16::operator= ( const M128 a)
inline
664 { return *this = (Is8vec16) a; }
Is8vec16()
Definition: dvec.h:655
const signed char& Is8vec16::operator[] ( int  i) const
inline
701  {
702  _VEC_ASSERT(static_cast<unsigned int>(i) < 16); /* Only 16 elements to access */
703  return _MM_16B(i,vec);
704  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
int i[4]
Definition: dvec.h:70
#define _MM_16B(element, vector)
Definition: dvec.h:91
__m128i vec
Definition: dvec.h:131
signed char& Is8vec16::operator[] ( int  i)
inline
708  {
709  _VEC_ASSERT(static_cast<unsigned int>(i) < 16); /* Only 16 elements to access */
710  return _MM_16B(i,vec);
711  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
int i[4]
Definition: dvec.h:70
#define _MM_16B(element, vector)
Definition: dvec.h:91
__m128i vec
Definition: dvec.h:131
Is8vec16& Is8vec16::operator^= ( const M128 a)
inline
669 { return *this = (Is8vec16) _mm_xor_si128(vec,a); }
__m128i _mm_xor_si128(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131
Is8vec16()
Definition: dvec.h:655
Is8vec16& Is8vec16::operator|= ( const M128 a)
inline
668 { return *this = (Is8vec16) _mm_or_si128(vec,a); }
__m128i _mm_or_si128(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131
Is8vec16()
Definition: dvec.h:655

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