Structure to create a 128 vector with 32 bit signed integer constants. More...
Public Member Functions | |
operator Vector_128 () const noexcept | |
Accessor to load the 128 bit vector value. | |
Public Attributes | ||
union { | ||
int32_t i [4] | ||
Value as 4 signed 32 bit integers. More... | ||
Vector_128 v | ||
Value as a 128 bit vector. More... | ||
}; | ||
Structure to create a 128 vector with 32 bit signed integer constants.
There is no standard for initializing 128 bit vectors at compile time. This structure fixes the problem by creating a union between the 128 bit value and an array of data that maps directly over it.
|
inlinenoexcept |
union { ... } Burger::Vector_128Int32 |
int32_t Burger::Vector_128Int32::i[4] |
Value as 4 signed 32 bit integers.
Vector_128 Burger::Vector_128Int32::v |
Value as a 128 bit vector.