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

#include <dvec.h>

Inheritance diagram for Iu16vec8:
I16vec8 M128

Public Member Functions

 Iu16vec8 ()
 
 Iu16vec8 (__m128i mm)
 
 Iu16vec8 (unsigned short s7, unsigned short s6, unsigned short s5, unsigned short s4, unsigned short s3, unsigned short s2, unsigned short s1, unsigned short s0)
 
Iu16vec8operator= (const M128 &a)
 
Iu16vec8operator&= (const M128 &a)
 
Iu16vec8operator|= (const M128 &a)
 
Iu16vec8operator^= (const M128 &a)
 
Iu16vec8operator+= (const I16vec8 &a)
 
Iu16vec8operator-= (const I16vec8 &a)
 
Iu16vec8operator*= (const I16vec8 &a)
 
Iu16vec8 operator<< (const M128 &a)
 
Iu16vec8 operator<< (int count)
 
Iu16vec8operator<<= (const M128 &a)
 
Iu16vec8operator<<= (int count)
 
Iu16vec8 operator>> (const M128 &a)
 
Iu16vec8 operator>> (int count)
 
Iu16vec8operator>>= (const M128 &a)
 
Iu16vec8operator>>= (int count)
 
const unsigned short & operator[] (int i) const
 
unsigned short & operator[] (int i)
 
- Public Member Functions inherited from I16vec8
 I16vec8 ()
 
 I16vec8 (__m128i mm)
 
 I16vec8 (short s7, short s6, short s5, short s4, short s3, short s2, short s1, short s0)
 
I16vec8operator= (const M128 &a)
 
I16vec8operator&= (const M128 &a)
 
I16vec8operator|= (const M128 &a)
 
I16vec8operator^= (const M128 &a)
 
I16vec8operator+= (const I16vec8 &a)
 
I16vec8operator-= (const I16vec8 &a)
 
I16vec8operator*= (const I16vec8 &a)
 
I16vec8 operator<< (const M128 &a)
 
I16vec8 operator<< (int count)
 
I16vec8operator<<= (const M128 &a)
 
I16vec8operator<<= (int count)
 
- 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

Iu16vec8::Iu16vec8 ( )
inline
539 { }
Iu16vec8::Iu16vec8 ( __m128i  mm)
inline
540 : I16vec8(mm) { }
I16vec8()
Definition: dvec.h:406
Iu16vec8::Iu16vec8 ( unsigned short  s7,
unsigned short  s6,
unsigned short  s5,
unsigned short  s4,
unsigned short  s3,
unsigned short  s2,
unsigned short  s1,
unsigned short  s0 
)
inline
544  : I16vec8(s7, s6, s5, s4, s3, s2, s1, s0) { }
I16vec8()
Definition: dvec.h:406

Member Function Documentation

Iu16vec8& Iu16vec8::operator&= ( const M128 a)
inline
549 { return *this = (Iu16vec8) _mm_and_si128(vec,a); }
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
__m128i _mm_and_si128(__m128i _A, __m128i _B)
Iu16vec8& Iu16vec8::operator*= ( const I16vec8 a)
inline
555 { return *this = (Iu16vec8) _mm_mullo_epi16(vec,a); }
Iu16vec8()
Definition: dvec.h:539
__m128i _mm_mullo_epi16(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator+= ( const I16vec8 a)
inline
553 { return *this = (Iu16vec8) _mm_add_epi16(vec,a); }
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
__m128i _mm_add_epi16(__m128i _A, __m128i _B)
Iu16vec8& Iu16vec8::operator-= ( const I16vec8 a)
inline
554 { return *this = (Iu16vec8) _mm_sub_epi16(vec,a); }
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
__m128i _mm_sub_epi16(__m128i _A, __m128i _B)
Iu16vec8 Iu16vec8::operator<< ( const M128 a)
inline
558 { return _mm_sll_epi16(vec,a); }
__m128i _mm_sll_epi16(__m128i _A, __m128i _Count)
__m128i vec
Definition: dvec.h:131
Iu16vec8 Iu16vec8::operator<< ( int  count)
inline
559 { return _mm_slli_epi16(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_slli_epi16(__m128i _A, int _Count)
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator<<= ( const M128 a)
inline
560 { return *this = (Iu16vec8)_mm_sll_epi16(vec,a); }
__m128i _mm_sll_epi16(__m128i _A, __m128i _Count)
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator<<= ( int  count)
inline
561 { return *this = (Iu16vec8)_mm_slli_epi16(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_slli_epi16(__m128i _A, int _Count)
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator= ( const M128 a)
inline
547 { return *this = (Iu16vec8) a; }
Iu16vec8()
Definition: dvec.h:539
Iu16vec8 Iu16vec8::operator>> ( const M128 a)
inline
562 { return _mm_srl_epi16(vec,a); }
__m128i _mm_srl_epi16(__m128i _A, __m128i _Count)
__m128i vec
Definition: dvec.h:131
Iu16vec8 Iu16vec8::operator>> ( int  count)
inline
563 { return _mm_srli_epi16(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_srli_epi16(__m128i _A, int _Count)
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator>>= ( const M128 a)
inline
564 { return *this = (Iu16vec8) _mm_srl_epi16(vec,a); }
__m128i _mm_srl_epi16(__m128i _A, __m128i _Count)
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator>>= ( int  count)
inline
565 { return *this = (Iu16vec8) _mm_srli_epi16(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_srli_epi16(__m128i _A, int _Count)
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
const unsigned short& Iu16vec8::operator[] ( int  i) const
inline
586  {
587  _VEC_ASSERT(static_cast<unsigned int>(i) < 8); /* Only 8 elements to access */
588  return _MM_8UW(i,vec);
589  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
#define _MM_8UW(element, vector)
Definition: dvec.h:93
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
unsigned short& Iu16vec8::operator[] ( int  i)
inline
593  {
594  _VEC_ASSERT(static_cast<unsigned int>(i) < 8); /* Only 8 elements to access */
595  return _MM_8UW(i,vec);
596  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
#define _MM_8UW(element, vector)
Definition: dvec.h:93
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator^= ( const M128 a)
inline
551 { return *this = (Iu16vec8) _mm_xor_si128(vec,a); }
__m128i _mm_xor_si128(__m128i _A, __m128i _B)
Iu16vec8()
Definition: dvec.h:539
__m128i vec
Definition: dvec.h:131
Iu16vec8& Iu16vec8::operator|= ( const M128 a)
inline
550 { return *this = (Iu16vec8) _mm_or_si128(vec,a); }
Iu16vec8()
Definition: dvec.h:539
__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: