Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Burger::Vector_128Word8 Struct Reference

Structure to create a 128 vector with 8 bit unsigned integer constants. More...

Public Member Functions

 operator Vector_128 () const noexcept
 Accessor to load the 128 bit vector value.
 

Public Attributes

union { 
 
   uint8_t   u [16] 
 Value as 16 unsigned 8 bit integers. More...
 
   Vector_128   v 
 Value as a 128 bit vector. More...
 
};  
 

Detailed Description

Structure to create a 128 vector with 8 bit unsigned 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.

// Initialize with 16 8 bit unsigned integers
{{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}};
Structure to create a 128 vector with 8 bit unsigned integer constants.
Definition burger.h:1698
Select a type based if the conditional is true or false.
Definition burger.h:3178
See also
Vector_128Float32, Vector_128Word32, Vector_128Word16, Vector_128Int32

Member Function Documentation

◆ operator Vector_128()

Burger::Vector_128Word8::operator Vector_128 ( ) const
inlinenoexcept

Accessor to load the 128 bit vector value.


See also
Vector_128Word8 or Vector_128

Member Data Documentation

◆ [union]

union { ... } Burger::Vector_128Word8

◆ u

uint8_t Burger::Vector_128Word8::u[16]

Value as 16 unsigned 8 bit integers.

◆ v

Vector_128 Burger::Vector_128Word8::v

Value as a 128 bit vector.