ReactOS  0.4.14-dev-293-g2b39b42
Iu8vec16 Class Reference

#include <dvec.h>

Inheritance diagram for Iu8vec16:
Collaboration diagram for Iu8vec16:

Public Member Functions

 Iu8vec16 ()
 
 Iu8vec16 (__m128i mm)
 
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 charoperator[] (int i) const
 
unsigned charoperator[] (int i)
 
- Public Member Functions inherited from I8vec16
 I8vec16 ()
 
 I8vec16 (__m128i mm)
 
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
 

Detailed Description

Definition at line 578 of file dvec.h.

Constructor & Destructor Documentation

◆ Iu8vec16() [1/2]

Iu8vec16::Iu8vec16 ( )
inline

Definition at line 581 of file dvec.h.

581 { }

Referenced by operator -=(), operator&=(), operator+=(), operator=(), operator^=(), and operator|=().

◆ Iu8vec16() [2/2]

Iu8vec16::Iu8vec16 ( __m128i  mm)
inline

Definition at line 582 of file dvec.h.

582 : I8vec16(mm) { }
I8vec16()
Definition: dvec.h:494

Member Function Documentation

◆ operator -=()

Definition at line 591 of file dvec.h.

591 { return *this = (Iu8vec16) _mm_sub_epi8(vec,a); }
Iu8vec16()
Definition: dvec.h:581
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator&=()

Iu8vec16& Iu8vec16::operator&= ( const M128 a)
inline

Definition at line 586 of file dvec.h.

586 { return *this = (Iu8vec16) _mm_and_si128(vec,a); }
Iu8vec16()
Definition: dvec.h:581
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator+=()

Definition at line 590 of file dvec.h.

590 { return *this = (Iu8vec16) _mm_add_epi8(vec,a); }
Iu8vec16()
Definition: dvec.h:581
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator=()

Definition at line 584 of file dvec.h.

584 { return *this = (Iu8vec16) a; }
Iu8vec16()
Definition: dvec.h:581
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator[]() [1/2]

const unsigned char& Iu8vec16::operator[] ( int  i) const
inline

Definition at line 617 of file dvec.h.

618  {
619  assert(static_cast<unsigned int>(i) < 16);
620  return _MM_16UB(i,vec);
621  }
#define assert(x)
Definition: debug.h:53
#define _MM_16UB(element, vector)
Definition: dvec.h:41
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
__m128i vec
Definition: dvec.h:61

◆ operator[]() [2/2]

unsigned char& Iu8vec16::operator[] ( int  i)
inline

Definition at line 623 of file dvec.h.

624  {
625  assert(static_cast<unsigned int>(i) < 16);
626  return _MM_16UB(i,vec);
627  }
#define assert(x)
Definition: debug.h:53
#define _MM_16UB(element, vector)
Definition: dvec.h:41
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
__m128i vec
Definition: dvec.h:61

◆ operator^=()

Iu8vec16& Iu8vec16::operator^= ( const M128 a)
inline

Definition at line 588 of file dvec.h.

588 { return *this = (Iu8vec16) _mm_xor_si128(vec,a); }
Iu8vec16()
Definition: dvec.h:581
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator|=()

Iu8vec16& Iu8vec16::operator|= ( const M128 a)
inline

Definition at line 587 of file dvec.h.

587 { return *this = (Iu8vec16) _mm_or_si128(vec,a); }
Iu8vec16()
Definition: dvec.h:581
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

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