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

__m128 More...

#include <vsmc/utility/simd.hpp>

Public Member Functions

 M128 ()=default
 
 M128 (const __m128 &value)
 
__m128 * data ()
 
const __m128 * 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 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
 
__m128 & value ()
 
const __m128 & value () const
 

Static Public Member Functions

static constexpr std::size_t size ()
 

Detailed Description

__m128

Definition at line 499 of file simd.hpp.

Constructor & Destructor Documentation

vsmc::M128::M128 ( )
default
vsmc::M128::M128 ( const __m128 &  value)
inline

Definition at line 504 of file simd.hpp.

Member Function Documentation

__m128* vsmc::M128::data ( )
inline

Definition at line 511 of file simd.hpp.

const __m128* vsmc::M128::data ( ) const
inline

Definition at line 512 of file simd.hpp.

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

Definition at line 527 of file simd.hpp.

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

Definition at line 515 of file simd.hpp.

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

Definition at line 521 of file simd.hpp.

void vsmc::M128::set ( float  e3,
float  e2,
float  e1,
float  e0 
)
inline

Definition at line 556 of file simd.hpp.

void vsmc::M128::set0 ( )
inline

Definition at line 552 of file simd.hpp.

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

Definition at line 554 of file simd.hpp.

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

Definition at line 506 of file simd.hpp.

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

Definition at line 546 of file simd.hpp.

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

Definition at line 534 of file simd.hpp.

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

Definition at line 540 of file simd.hpp.

__m128& vsmc::M128::value ( )
inline

Definition at line 508 of file simd.hpp.

const __m128& vsmc::M128::value ( ) const
inline

Definition at line 509 of file simd.hpp.