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

#include <dvec.h>

Inheritance diagram for Iu32vec4:
I32vec4 M128

Public Member Functions

 Iu32vec4 ()
 
 Iu32vec4 (__m128i mm)
 
 Iu32vec4 (unsigned int ui3, unsigned int ui2, unsigned int ui1, unsigned int ui0)
 
Iu32vec4operator= (const M128 &a)
 
Iu32vec4operator&= (const M128 &a)
 
Iu32vec4operator|= (const M128 &a)
 
Iu32vec4operator^= (const M128 &a)
 
Iu32vec4operator+= (const I32vec4 &a)
 
Iu32vec4operator-= (const I32vec4 &a)
 
Iu32vec4 operator<< (const M128 &a)
 
Iu32vec4 operator<< (int count)
 
Iu32vec4operator<<= (const M128 &a)
 
Iu32vec4operator<<= (int count)
 
Iu32vec4 operator>> (const M128 &a)
 
Iu32vec4 operator>> (int count)
 
Iu32vec4operator>>= (const M128 &a)
 
Iu32vec4operator>>= (int count)
 
const unsigned intoperator[] (int i) const
 
unsigned intoperator[] (int i)
 
- Public Member Functions inherited from I32vec4
 I32vec4 ()
 
 I32vec4 (__m128i mm)
 
 I32vec4 (int i3, int i2, int i1, int i0)
 
I32vec4operator= (const M128 &a)
 
I32vec4operator&= (const M128 &a)
 
I32vec4operator|= (const M128 &a)
 
I32vec4operator^= (const M128 &a)
 
I32vec4operator+= (const I32vec4 &a)
 
I32vec4operator-= (const I32vec4 &a)
 
I32vec4 operator<< (const I32vec4 &a)
 
I32vec4 operator<< (int count)
 
I32vec4operator<<= (const I32vec4 &a)
 
I32vec4operator<<= (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

Iu32vec4::Iu32vec4 ( )
inline
339 { }
Iu32vec4::Iu32vec4 ( __m128i  mm)
inline
340 : I32vec4(mm) { }
I32vec4()
Definition: dvec.h:233
Iu32vec4::Iu32vec4 ( unsigned int  ui3,
unsigned int  ui2,
unsigned int  ui1,
unsigned int  ui0 
)
inline
342  : I32vec4(ui3, ui2, ui1, ui0) { }
I32vec4()
Definition: dvec.h:233

Member Function Documentation

Iu32vec4& Iu32vec4::operator&= ( const M128 a)
inline
348 { return *this = (Iu32vec4) _mm_and_si128(vec,a); }
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
__m128i _mm_and_si128(__m128i _A, __m128i _B)
Iu32vec4& Iu32vec4::operator+= ( const I32vec4 a)
inline
353 { return *this = (Iu32vec4)_mm_add_epi32(vec,a); }
Iu32vec4()
Definition: dvec.h:339
__m128i _mm_add_epi32(__m128i _A, __m128i _B)
__m128i vec
Definition: dvec.h:131
Iu32vec4& Iu32vec4::operator-= ( const I32vec4 a)
inline
354 { return *this = (Iu32vec4)_mm_sub_epi32(vec,a); }
__m128i _mm_sub_epi32(__m128i _A, __m128i _B)
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
Iu32vec4 Iu32vec4::operator<< ( const M128 a)
inline
357 { return _mm_sll_epi32(vec,a); }
__m128i _mm_sll_epi32(__m128i _A, __m128i _Count)
__m128i vec
Definition: dvec.h:131
Iu32vec4 Iu32vec4::operator<< ( int  count)
inline
358 { return _mm_slli_epi32(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i vec
Definition: dvec.h:131
__m128i _mm_slli_epi32(__m128i _A, int _Count)
Iu32vec4& Iu32vec4::operator<<= ( const M128 a)
inline
359 { return *this = (Iu32vec4)_mm_sll_epi32(vec,a); }
Iu32vec4()
Definition: dvec.h:339
__m128i _mm_sll_epi32(__m128i _A, __m128i _Count)
__m128i vec
Definition: dvec.h:131
Iu32vec4& Iu32vec4::operator<<= ( int  count)
inline
360 { return *this = (Iu32vec4)_mm_slli_epi32(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
__m128i _mm_slli_epi32(__m128i _A, int _Count)
Iu32vec4& Iu32vec4::operator= ( const M128 a)
inline
345 { return *this = (Iu32vec4) a; }
Iu32vec4()
Definition: dvec.h:339
Iu32vec4 Iu32vec4::operator>> ( const M128 a)
inline
361 { return _mm_srl_epi32(vec,a); }
__m128i _mm_srl_epi32(__m128i _A, __m128i _Count)
__m128i vec
Definition: dvec.h:131
Iu32vec4 Iu32vec4::operator>> ( int  count)
inline
362 { return _mm_srli_epi32(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_srli_epi32(__m128i _A, int _Count)
__m128i vec
Definition: dvec.h:131
Iu32vec4& Iu32vec4::operator>>= ( const M128 a)
inline
363 { return *this = (Iu32vec4) _mm_srl_epi32(vec,a); }
__m128i _mm_srl_epi32(__m128i _A, __m128i _Count)
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
Iu32vec4& Iu32vec4::operator>>= ( int  count)
inline
364 { return *this = (Iu32vec4) _mm_srli_epi32(vec,count); }
iterator_traits< _InIt >::difference_type count(_InIt _First, _InIt _Last, const _Ty &_Val)
Definition: xutility:3086
__m128i _mm_srli_epi32(__m128i _A, int _Count)
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
const unsigned int& Iu32vec4::operator[] ( int  i) const
inline
380  {
381  _VEC_ASSERT(static_cast<unsigned int>(i) < 4); /* Only 4 elements to access */
382  return _MM_4UDW(i,vec);
383  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
#define _MM_4UDW(element, vector)
Definition: dvec.h:96
unsigned int& Iu32vec4::operator[] ( int  i)
inline
387  {
388  _VEC_ASSERT(static_cast<unsigned int>(i) < 4); /* Only 4 elements to access */
389  return _MM_4UDW(i,vec);
390  }
#define _VEC_ASSERT(_Expression)
Definition: dvec.h:53
int i[4]
Definition: dvec.h:70
__m128i vec
Definition: dvec.h:131
#define _MM_4UDW(element, vector)
Definition: dvec.h:96
Iu32vec4& Iu32vec4::operator^= ( const M128 a)
inline
350 { return *this = (Iu32vec4) _mm_xor_si128(vec,a); }
__m128i _mm_xor_si128(__m128i _A, __m128i _B)
Iu32vec4()
Definition: dvec.h:339
__m128i vec
Definition: dvec.h:131
Iu32vec4& Iu32vec4::operator|= ( const M128 a)
inline
349 { return *this = (Iu32vec4) _mm_or_si128(vec,a); }
Iu32vec4()
Definition: dvec.h:339
__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: