VCV Rack API v2
Loading...
Searching...
No Matches
rack::simd::Vector< int32_t, 4 > Struct Reference

#include <Vector.hpp>

Collaboration diagram for rack::simd::Vector< int32_t, 4 >:
[legend]

Public Types

using type = int32_t
 

Public Member Functions

 Vector ()=default
 
 Vector (__m128i v)
 
 Vector (int32_t x)
 
 Vector (int32_t x1, int32_t x2, int32_t x3, int32_t x4)
 
void store (int32_t *x)
 
int32_t & operator[] (int i)
 
const int32_t & operator[] (int i) const
 
 Vector (Vector< float, 4 > a)
 

Static Public Member Functions

static Vector zero ()
 
static Vector mask ()
 
static Vector load (const int32_t *x)
 
static Vector cast (Vector< float, 4 > a)
 

Public Attributes

union rack::simd::Vector< int32_t, 4 >:: { ... }  
 

Static Public Attributes

static constexpr int size = 4
 

Member Typedef Documentation

◆ type

using rack::simd::Vector< int32_t, 4 >::type = int32_t

Constructor & Destructor Documentation

◆ Vector() [1/5]

rack::simd::Vector< int32_t, 4 >::Vector ( )
default

◆ Vector() [2/5]

rack::simd::Vector< int32_t, 4 >::Vector ( __m128i v)
inline

◆ Vector() [3/5]

rack::simd::Vector< int32_t, 4 >::Vector ( int32_t x)
inline

◆ Vector() [4/5]

rack::simd::Vector< int32_t, 4 >::Vector ( int32_t x1,
int32_t x2,
int32_t x3,
int32_t x4 )
inline

◆ Vector() [5/5]

rack::simd::Vector< int32_t, 4 >::Vector ( Vector< float, 4 > a)
inline

Member Function Documentation

◆ zero()

static Vector rack::simd::Vector< int32_t, 4 >::zero ( )
inlinestatic

◆ mask()

static Vector rack::simd::Vector< int32_t, 4 >::mask ( )
inlinestatic

◆ load()

static Vector rack::simd::Vector< int32_t, 4 >::load ( const int32_t * x)
inlinestatic

◆ store()

void rack::simd::Vector< int32_t, 4 >::store ( int32_t * x)
inline

◆ operator[]() [1/2]

int32_t & rack::simd::Vector< int32_t, 4 >::operator[] ( int i)
inline

◆ operator[]() [2/2]

const int32_t & rack::simd::Vector< int32_t, 4 >::operator[] ( int i) const
inline

◆ cast()

Vector< int32_t, 4 > rack::simd::Vector< int32_t, 4 >::cast ( Vector< float, 4 > a)
inlinestatic

Member Data Documentation

◆ size

int rack::simd::Vector< int32_t, 4 >::size = 4
staticconstexpr

◆ v

__m128i rack::simd::Vector< int32_t, 4 >::v

◆ s

int32_t rack::simd::Vector< int32_t, 4 >::s[4]

◆ []

union rack::simd::Vector< int32_t, 4 > { ... } rack::simd::Vector< int32_t, 4 >

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