MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mfem::AutoSIMD< double, 2, 16 > Struct Template Reference

#include <m128.hpp>

Collaboration diagram for mfem::AutoSIMD< double, 2, 16 >:
[legend]

Public Types

typedef double scalar_type
 
typedef double scalar_type
 

Public Member Functions

 AutoSIMD ()=default
 
 AutoSIMD (const AutoSIMD &)=default
 
MFEM_ALWAYS_INLINE double & operator[] (int i)
 
MFEM_ALWAYS_INLINE const double & operator[] (int i) const
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMD operator- () const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ () const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const double &e, const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const double &e, const AutoSIMD &v)
 
 AutoSIMD ()=default
 
 AutoSIMD (const AutoSIMD &)=default
 
MFEM_ALWAYS_INLINE double & operator[] (int i)
 
MFEM_ALWAYS_INLINE const double & operator[] (int i) const
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMD operator- () const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ () const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator+ (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const double &e) const
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const double &e, const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const double &e)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const double &e, const AutoSIMD &v)
 

Public Attributes

union mfem::AutoSIMD< double, 2, 16 >:: { ... }  
 
union mfem::AutoSIMD< double, 2, 16 >:: { ... }  
 
__m128d m128d
 
double vec [size]
 
vector double vd
 

Static Public Attributes

static constexpr int size = 2
 
static constexpr int align_bytes = 16
 

Detailed Description

template<>
struct mfem::AutoSIMD< double, 2, 16 >

Definition at line 29 of file m128.hpp.

Member Typedef Documentation

typedef double mfem::AutoSIMD< double, 2, 16 >::scalar_type

Definition at line 31 of file m128.hpp.

typedef double mfem::AutoSIMD< double, 2, 16 >::scalar_type

Definition at line 31 of file vsx128.hpp.

Constructor & Destructor Documentation

mfem::AutoSIMD< double, 2, 16 >::AutoSIMD ( )
default
mfem::AutoSIMD< double, 2, 16 >::AutoSIMD ( const AutoSIMD< double, 2, 16 > &  )
default
mfem::AutoSIMD< double, 2, 16 >::AutoSIMD ( )
default
mfem::AutoSIMD< double, 2, 16 >::AutoSIMD ( const AutoSIMD< double, 2, 16 > &  )
default

Member Function Documentation

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const AutoSIMD< double, 2, 16 > &  v,
const AutoSIMD< double, 2, 16 > &  w 
)
inline

Definition at line 185 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const AutoSIMD< double, 2, 16 > &  v,
const AutoSIMD< double, 2, 16 > &  w 
)
inline

Definition at line 187 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const AutoSIMD< double, 2, 16 > &  v,
const double &  e 
)
inline

Definition at line 191 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const AutoSIMD< double, 2, 16 > &  v,
const double &  e 
)
inline

Definition at line 193 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const double &  e,
const AutoSIMD< double, 2, 16 > &  v 
)
inline

Definition at line 197 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::fma ( const double &  e,
const AutoSIMD< double, 2, 16 > &  v 
)
inline

Definition at line 199 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const AutoSIMD< double, 2, 16 > &  v,
const AutoSIMD< double, 2, 16 > &  w 
)
inline

Definition at line 203 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const AutoSIMD< double, 2, 16 > &  v,
const AutoSIMD< double, 2, 16 > &  w 
)
inline

Definition at line 205 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const AutoSIMD< double, 2, 16 > &  v,
const double &  e 
)
inline

Definition at line 209 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const AutoSIMD< double, 2, 16 > &  v,
const double &  e 
)
inline

Definition at line 211 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const double &  e,
const AutoSIMD< double, 2, 16 > &  v 
)
inline

Definition at line 215 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::mul ( const double &  e,
const AutoSIMD< double, 2, 16 > &  v 
)
inline

Definition at line 217 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator* ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 156 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator* ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 159 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator* ( const double &  e) const
inline

Definition at line 163 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator* ( const double &  e) const
inline

Definition at line 166 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator*= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 91 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator*= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 91 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator*= ( const double &  e)
inline

Definition at line 97 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator*= ( const double &  e)
inline

Definition at line 97 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( ) const
inline

Definition at line 122 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( ) const
inline

Definition at line 126 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 127 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 131 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( const double &  e) const
inline

Definition at line 135 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator+ ( const double &  e) const
inline

Definition at line 138 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator+= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 67 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator+= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 67 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator+= ( const double &  e)
inline

Definition at line 73 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator+= ( const double &  e)
inline

Definition at line 73 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( ) const
inline

Definition at line 115 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( ) const
inline

Definition at line 115 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 142 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 145 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( const double &  e) const
inline

Definition at line 149 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator- ( const double &  e) const
inline

Definition at line 152 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator-= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 79 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator-= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 79 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator-= ( const double &  e)
inline

Definition at line 85 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator-= ( const double &  e)
inline

Definition at line 85 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator/ ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 170 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator/ ( const AutoSIMD< double, 2, 16 > &  v) const
inline

Definition at line 173 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator/ ( const double &  e) const
inline

Definition at line 177 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 2, 16 >::operator/ ( const double &  e) const
inline

Definition at line 180 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator/= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 103 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator/= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 103 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator/= ( const double &  e)
inline

Definition at line 109 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator/= ( const double &  e)
inline

Definition at line 109 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 55 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator= ( const AutoSIMD< double, 2, 16 > &  v)
inline

Definition at line 55 of file vsx128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator= ( const double &  e)
inline

Definition at line 61 of file m128.hpp.

MFEM_ALWAYS_INLINE AutoSIMD& mfem::AutoSIMD< double, 2, 16 >::operator= ( const double &  e)
inline

Definition at line 61 of file vsx128.hpp.

MFEM_ALWAYS_INLINE double& mfem::AutoSIMD< double, 2, 16 >::operator[] ( int  i)
inline

Definition at line 45 of file m128.hpp.

MFEM_ALWAYS_INLINE double& mfem::AutoSIMD< double, 2, 16 >::operator[] ( int  i)
inline

Definition at line 45 of file vsx128.hpp.

MFEM_ALWAYS_INLINE const double& mfem::AutoSIMD< double, 2, 16 >::operator[] ( int  i) const
inline

Definition at line 50 of file vsx128.hpp.

MFEM_ALWAYS_INLINE const double& mfem::AutoSIMD< double, 2, 16 >::operator[] ( int  i) const
inline

Definition at line 50 of file m128.hpp.

Member Data Documentation

union { ... }
union { ... }
static constexpr int mfem::AutoSIMD< double, 2, 16 >::align_bytes = 16
static

Definition at line 33 of file m128.hpp.

__m128d mfem::AutoSIMD< double, 2, 16 >::m128d

Definition at line 37 of file m128.hpp.

static constexpr int mfem::AutoSIMD< double, 2, 16 >::size = 2
static

Definition at line 32 of file m128.hpp.

vector double mfem::AutoSIMD< double, 2, 16 >::vd

Definition at line 37 of file vsx128.hpp.

double mfem::AutoSIMD< double, 2, 16 >::vec[size]

Definition at line 38 of file m128.hpp.


The documentation for this struct was generated from the following files: