ReactOS  0.4.14-dev-991-g696cdc6
Is8vec16 Class Reference

#include <dvec.h>

Inheritance diagram for Is8vec16:
Collaboration diagram for Is8vec16:

Public Member Functions

 Is8vec16 ()
 
 Is8vec16 (__m128i mm)
 
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 charoperator[] (int i) const
 
signed 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 514 of file dvec.h.

Constructor & Destructor Documentation

◆ Is8vec16() [1/2]

Is8vec16::Is8vec16 ( )
inline

Definition at line 517 of file dvec.h.

517 { }

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

◆ Is8vec16() [2/2]

Is8vec16::Is8vec16 ( __m128i  mm)
inline

Definition at line 518 of file dvec.h.

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

Member Function Documentation

◆ operator -=()

Definition at line 527 of file dvec.h.

527 { return *this = (Is8vec16) _mm_sub_epi8(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

◆ operator&=()

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

Definition at line 522 of file dvec.h.

522 { return *this = (Is8vec16) _mm_and_si128(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

◆ operator+=()

Definition at line 526 of file dvec.h.

526 { return *this = (Is8vec16) _mm_add_epi8(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

◆ operator=()

Definition at line 520 of file dvec.h.

520 { return *this = (Is8vec16) a; }
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

◆ operator[]() [1/2]

const signed char& Is8vec16::operator[] ( int  i) const
inline

Definition at line 553 of file dvec.h.

554  {
555  assert(static_cast<unsigned int>(i) < 16);
556  return _MM_16B(i,vec);
557  }
#define assert(x)
Definition: debug.h:53
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
#define _MM_16B(element, vector)
Definition: dvec.h:42
__m128i vec
Definition: dvec.h:61

◆ operator[]() [2/2]

signed char& Is8vec16::operator[] ( int  i)
inline

Definition at line 559 of file dvec.h.

560  {
561  assert(static_cast<unsigned int>(i) < 16);
562  return _MM_16B(i,vec);
563  }
#define assert(x)
Definition: debug.h:53
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
#define _MM_16B(element, vector)
Definition: dvec.h:42
__m128i vec
Definition: dvec.h:61

◆ operator^=()

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

Definition at line 524 of file dvec.h.

524 { return *this = (Is8vec16) _mm_xor_si128(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

◆ operator|=()

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

Definition at line 523 of file dvec.h.

523 { return *this = (Is8vec16) _mm_or_si128(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
Is8vec16()
Definition: dvec.h:517

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