ReactOS  0.4.15-dev-506-ga3ec01c
Is16vec8 Class Reference

#include <dvec.h>

Inheritance diagram for Is16vec8:
Collaboration diagram for Is16vec8:

Public Member Functions

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

Detailed Description

Definition at line 327 of file dvec.h.

Constructor & Destructor Documentation

◆ Is16vec8() [1/3]

Is16vec8::Is16vec8 ( )
inline

◆ Is16vec8() [2/3]

Is16vec8::Is16vec8 ( __m128i  mm)
inline

Definition at line 331 of file dvec.h.

331 : I16vec8(mm) { }
I16vec8()
Definition: dvec.h:299

◆ Is16vec8() [3/3]

Is16vec8::Is16vec8 ( signed short  s7,
signed short  s6,
signed short  s5,
signed short  s4,
signed short  s3,
signed short  s2,
signed short  s1,
signed short  s0 
)
inline

Definition at line 332 of file dvec.h.

333  {
334  _MM_8W(0,vec) = s0;
335  _MM_8W(1,vec) = s1;
336  _MM_8W(2,vec) = s2;
337  _MM_8W(3,vec) = s3;
338  _MM_8W(4,vec) = s4;
339  _MM_8W(5,vec) = s5;
340  _MM_8W(6,vec) = s6;
341  _MM_8W(7,vec) = s7;
342  }
struct S2 s2
#define _MM_8W(element, vector)
Definition: dvec.h:45
struct S1 s1
__m128i vec
Definition: dvec.h:61

Member Function Documentation

◆ operator *=()

Definition at line 352 of file dvec.h.

352 { return *this = (Is16vec8) _mm_mullo_epi16(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator -=()

Definition at line 351 of file dvec.h.

351 { return *this = (Is16vec8) _mm_sub_epi16(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator&=()

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

Definition at line 346 of file dvec.h.

346 { return *this = (Is16vec8) _mm_and_si128(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator+=()

Definition at line 350 of file dvec.h.

350 { return *this = (Is16vec8) _mm_add_epi16(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator<<() [1/2]

Definition at line 354 of file dvec.h.

354 { return _mm_sll_epi16(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator<<() [2/2]

Is16vec8 Is16vec8::operator<< ( int  count)
inline

Definition at line 355 of file dvec.h.

355 { return _mm_slli_epi16(vec,count); }
GLuint GLuint GLsizei count
Definition: gl.h:1545
__m128i vec
Definition: dvec.h:61

◆ operator<<=() [1/2]

Is16vec8& Is16vec8::operator<<= ( const M128 a)
inline

Definition at line 356 of file dvec.h.

356 { return *this = (Is16vec8)_mm_sll_epi16(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator<<=() [2/2]

Is16vec8& Is16vec8::operator<<= ( int  count)
inline

Definition at line 357 of file dvec.h.

357 { return *this = (Is16vec8)_mm_slli_epi16(vec,count); }
GLuint GLuint GLsizei count
Definition: gl.h:1545
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61

◆ operator=()

Definition at line 344 of file dvec.h.

344 { return *this = (Is16vec8) a; }
Is16vec8()
Definition: dvec.h:330
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator>>() [1/2]

Definition at line 359 of file dvec.h.

359 { return _mm_sra_epi16(vec,a); }
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator>>() [2/2]

Is16vec8 Is16vec8::operator>> ( int  count)
inline

Definition at line 360 of file dvec.h.

360 { return _mm_srai_epi16(vec,count); }
GLuint GLuint GLsizei count
Definition: gl.h:1545
__m128i vec
Definition: dvec.h:61

◆ operator>>=() [1/2]

Is16vec8& Is16vec8::operator>>= ( const M128 a)
inline

Definition at line 361 of file dvec.h.

361 { return *this = (Is16vec8)_mm_sra_epi16(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator>>=() [2/2]

Is16vec8& Is16vec8::operator>>= ( int  count)
inline

Definition at line 362 of file dvec.h.

362 { return *this = (Is16vec8)_mm_srai_epi16(vec,count); }
GLuint GLuint GLsizei count
Definition: gl.h:1545
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61

◆ operator[]() [1/2]

const signed short& Is16vec8::operator[] ( int  i) const
inline

Definition at line 380 of file dvec.h.

381  {
382  assert(static_cast<unsigned int>(i) < 8);
383  return _MM_8W(i,vec);
384  }
#define assert(x)
Definition: debug.h:53
#define _MM_8W(element, vector)
Definition: dvec.h:45
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]

signed short& Is16vec8::operator[] ( int  i)
inline

Definition at line 386 of file dvec.h.

387  {
388  assert(static_cast<unsigned int>(i) < 8);
389  return _MM_8W(i,vec);
390  }
#define assert(x)
Definition: debug.h:53
#define _MM_8W(element, vector)
Definition: dvec.h:45
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^=()

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

Definition at line 348 of file dvec.h.

348 { return *this = (Is16vec8) _mm_xor_si128(vec,a); }
Is16vec8()
Definition: dvec.h:330
__m128i vec
Definition: dvec.h:61
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

◆ operator|=()

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

Definition at line 347 of file dvec.h.

347 { return *this = (Is16vec8) _mm_or_si128(vec,a); }
Is16vec8()
Definition: dvec.h:330
__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: