vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | Static Public Member Functions | List of all members
vsmc::M256 Class Reference

__m256 More...

#include <vsmc/utility/simd.hpp>

Public Member Functions

 M256 ()=default
 
 M256 (const __m256 &value)
 
__m256 * data ()
 
const __m256 * data () const
 
template<typename T >
void load (const T *mem)
 
template<typename T >
void load_a (const T *mem)
 
template<typename T >
void load_u (const T *mem)
 
void set (float e7, float e6, float e5, float e4, float e3, float e2, float e1, float e0)
 
void set0 ()
 
void set1 (float e)
 
template<typename T >
void store (T *mem) const
 
template<typename T >
void store_a (T *mem) const
 
template<typename T >
void store_u (T *mem) const
 
__m256 & value ()
 
const __m256 & value () const
 

Static Public Member Functions

static constexpr std::size_t size ()
 

Detailed Description

__m256

Definition at line 1209 of file simd.hpp.

Constructor & Destructor Documentation

vsmc::M256::M256 ( )
default
vsmc::M256::M256 ( const __m256 &  value)
inline

Definition at line 1214 of file simd.hpp.

Member Function Documentation

__m256* vsmc::M256::data ( )
inline

Definition at line 1221 of file simd.hpp.

const __m256* vsmc::M256::data ( ) const
inline

Definition at line 1222 of file simd.hpp.

template<typename T >
void vsmc::M256::load ( const T *  mem)
inline

Definition at line 1237 of file simd.hpp.

template<typename T >
void vsmc::M256::load_a ( const T *  mem)
inline

Definition at line 1225 of file simd.hpp.

template<typename T >
void vsmc::M256::load_u ( const T *  mem)
inline

Definition at line 1231 of file simd.hpp.

void vsmc::M256::set ( float  e7,
float  e6,
float  e5,
float  e4,
float  e3,
float  e2,
float  e1,
float  e0 
)
inline

Definition at line 1266 of file simd.hpp.

void vsmc::M256::set0 ( )
inline

Definition at line 1262 of file simd.hpp.

void vsmc::M256::set1 ( float  e)
inline

Definition at line 1264 of file simd.hpp.

static constexpr std::size_t vsmc::M256::size ( )
inlinestatic

Definition at line 1216 of file simd.hpp.

template<typename T >
void vsmc::M256::store ( T *  mem) const
inline

Definition at line 1256 of file simd.hpp.

template<typename T >
void vsmc::M256::store_a ( T *  mem) const
inline

Definition at line 1244 of file simd.hpp.

template<typename T >
void vsmc::M256::store_u ( T *  mem) const
inline

Definition at line 1250 of file simd.hpp.

__m256& vsmc::M256::value ( )
inline

Definition at line 1218 of file simd.hpp.

const __m256& vsmc::M256::value ( ) const
inline

Definition at line 1219 of file simd.hpp.