Mjolnir Core
Core functionality of the Mjolnir API
Functions
direct_access.h File Reference

Contains functions to access individual elements of an x86 vector register. More...

#include "mjolnir/core/fundamental_types.h"
#include "mjolnir/core/x86/definitions.h"
#include "mjolnir/core/x86/intrinsics.h"
#include "mjolnir/core/x86/permutation.h"
#include <array>
#include <cassert>
Include dependency graph for direct_access.h:

Go to the source code of this file.

Functions

template<UST t_index, FloatVectorRegister T_RegisterType>
auto get (T_RegisterType src) noexcept -> ElementType< T_RegisterType >
 Get the value of a specific element from a vector register. More...
 
template<FloatVectorRegister T_RegisterType>
auto get (T_RegisterType src, UST index) noexcept -> ElementType< T_RegisterType >
 Get the value of a specific element from a vector register. More...
 
template<UST t_index, FloatVectorRegister T_RegisterType>
void set (T_RegisterType &dst, ElementType< T_RegisterType > value) noexcept
 Set the value of a specific vector register element. More...
 
template<FloatVectorRegister T_RegisterType>
void set (T_RegisterType &dst, UST index, ElementType< T_RegisterType > value) noexcept
 Set the value of a specific vector register element. More...
 

Detailed Description

Contains functions to access individual elements of an x86 vector register.

direct_access.h