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, 4, 32 > Struct Template Reference

#include <m256.hpp>

Collaboration diagram for mfem::AutoSIMD< double, 4, 32 >:
[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
 
__ATTRS_ai double & operator[] (int i)
 
__ATTRS_ai const double & operator[] (int i) const
 
__ATTRS_ai AutoSIMDoperator= (const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDoperator= (const double &e)
 
__ATTRS_ai AutoSIMDoperator+= (const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDoperator+= (const double &e)
 
__ATTRS_ai AutoSIMDoperator-= (const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDoperator-= (const double &e)
 
__ATTRS_ai AutoSIMDoperator*= (const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDoperator*= (const double &e)
 
__ATTRS_ai AutoSIMDoperator/= (const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDoperator/= (const double &e)
 
__ATTRS_ai AutoSIMD operator- () const
 
__ATTRS_ai AutoSIMD operator+ () const
 
__ATTRS_ai AutoSIMD operator+ (const AutoSIMD &v) const
 
__ATTRS_ai AutoSIMD operator+ (const double &e) const
 
__ATTRS_ai AutoSIMD operator- (const AutoSIMD &v) const
 
__ATTRS_ai AutoSIMD operator- (const double &e) const
 
__ATTRS_ai AutoSIMD operator* (const AutoSIMD &v) const
 
__ATTRS_ai AutoSIMD operator* (const double &e) const
 
__ATTRS_ai AutoSIMD operator/ (const AutoSIMD &v) const
 
__ATTRS_ai AutoSIMD operator/ (const double &e) const
 
__ATTRS_ai AutoSIMDfma (const AutoSIMD &v, const AutoSIMD &w)
 
__ATTRS_ai AutoSIMDfma (const AutoSIMD &v, const double &e)
 
__ATTRS_ai AutoSIMDfma (const double &e, const AutoSIMD &v)
 
__ATTRS_ai AutoSIMDmul (const AutoSIMD &v, const AutoSIMD &w)
 
__ATTRS_ai AutoSIMDmul (const AutoSIMD &v, const double &e)
 
__ATTRS_ai AutoSIMDmul (const double &e, const AutoSIMD &v)
 

Public Attributes

union mfem::AutoSIMD< double, 4, 32 >:: { ... }  
 
union mfem::AutoSIMD< double, 4, 32 >:: { ... }  
 
__m256d m256d
 
double vec [size]
 
vector4double vd
 

Static Public Attributes

static constexpr int size = 4
 
static constexpr int align_bytes = 32
 

Detailed Description

template<>
struct mfem::AutoSIMD< double, 4, 32 >

Definition at line 29 of file m256.hpp.

Member Typedef Documentation

typedef double mfem::AutoSIMD< double, 4, 32 >::scalar_type

Definition at line 27 of file qpx256.hpp.

typedef double mfem::AutoSIMD< double, 4, 32 >::scalar_type

Definition at line 31 of file m256.hpp.

Constructor & Destructor Documentation

mfem::AutoSIMD< double, 4, 32 >::AutoSIMD ( )
default
mfem::AutoSIMD< double, 4, 32 >::AutoSIMD ( const AutoSIMD< double, 4, 32 > &  )
default
mfem::AutoSIMD< double, 4, 32 >::AutoSIMD ( )
default
mfem::AutoSIMD< double, 4, 32 >::AutoSIMD ( const AutoSIMD< double, 4, 32 > &  )
default

Member Function Documentation

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::fma ( const AutoSIMD< double, 4, 32 > &  v,
const AutoSIMD< double, 4, 32 > &  w 
)
inline

Definition at line 173 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::fma ( const AutoSIMD< double, 4, 32 > &  v,
const double &  e 
)
inline

Definition at line 179 of file qpx256.hpp.

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

Definition at line 183 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::fma ( const double &  e,
const AutoSIMD< double, 4, 32 > &  v 
)
inline

Definition at line 185 of file qpx256.hpp.

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

Definition at line 193 of file m256.hpp.

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

Definition at line 203 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::mul ( const AutoSIMD< double, 4, 32 > &  v,
const AutoSIMD< double, 4, 32 > &  w 
)
inline

Definition at line 191 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::mul ( const AutoSIMD< double, 4, 32 > &  v,
const double &  e 
)
inline

Definition at line 197 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::mul ( const double &  e,
const AutoSIMD< double, 4, 32 > &  v 
)
inline

Definition at line 203 of file qpx256.hpp.

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

Definition at line 213 of file m256.hpp.

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

Definition at line 219 of file m256.hpp.

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

Definition at line 225 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator* ( const AutoSIMD< double, 4, 32 > &  v) const
inline

Definition at line 145 of file qpx256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator* ( const double &  e) const
inline

Definition at line 152 of file qpx256.hpp.

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

Definition at line 155 of file m256.hpp.

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

Definition at line 162 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator*= ( const AutoSIMD< double, 4, 32 > &  v)
inline

Definition at line 81 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator*= ( const double &  e)
inline

Definition at line 87 of file qpx256.hpp.

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

Definition at line 91 of file m256.hpp.

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

Definition at line 97 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator+ ( ) const
inline

Definition at line 112 of file qpx256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator+ ( const AutoSIMD< double, 4, 32 > &  v) const
inline

Definition at line 117 of file qpx256.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator+ ( ) const
inline

Definition at line 122 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator+ ( const double &  e) const
inline

Definition at line 124 of file qpx256.hpp.

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

Definition at line 127 of file m256.hpp.

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

Definition at line 134 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator+= ( const AutoSIMD< double, 4, 32 > &  v)
inline

Definition at line 57 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator+= ( const double &  e)
inline

Definition at line 63 of file qpx256.hpp.

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

Definition at line 67 of file m256.hpp.

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

Definition at line 73 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator- ( ) const
inline

Definition at line 105 of file qpx256.hpp.

MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator- ( ) const
inline

Definition at line 115 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator- ( const AutoSIMD< double, 4, 32 > &  v) const
inline

Definition at line 131 of file qpx256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator- ( const double &  e) const
inline

Definition at line 138 of file qpx256.hpp.

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

Definition at line 141 of file m256.hpp.

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

Definition at line 148 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator-= ( const AutoSIMD< double, 4, 32 > &  v)
inline

Definition at line 69 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator-= ( const double &  e)
inline

Definition at line 75 of file qpx256.hpp.

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

Definition at line 79 of file m256.hpp.

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

Definition at line 85 of file m256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator/ ( const AutoSIMD< double, 4, 32 > &  v) const
inline

Definition at line 159 of file qpx256.hpp.

__ATTRS_ai AutoSIMD mfem::AutoSIMD< double, 4, 32 >::operator/ ( const double &  e) const
inline

Definition at line 166 of file qpx256.hpp.

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

Definition at line 169 of file m256.hpp.

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

Definition at line 176 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator/= ( const AutoSIMD< double, 4, 32 > &  v)
inline

Definition at line 93 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator/= ( const double &  e)
inline

Definition at line 99 of file qpx256.hpp.

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

Definition at line 103 of file m256.hpp.

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

Definition at line 109 of file m256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator= ( const AutoSIMD< double, 4, 32 > &  v)
inline

Definition at line 45 of file qpx256.hpp.

__ATTRS_ai AutoSIMD& mfem::AutoSIMD< double, 4, 32 >::operator= ( const double &  e)
inline

Definition at line 51 of file qpx256.hpp.

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

Definition at line 55 of file m256.hpp.

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

Definition at line 61 of file m256.hpp.

__ATTRS_ai double& mfem::AutoSIMD< double, 4, 32 >::operator[] ( int  i)
inline

Definition at line 41 of file qpx256.hpp.

__ATTRS_ai const double& mfem::AutoSIMD< double, 4, 32 >::operator[] ( int  i) const
inline

Definition at line 43 of file qpx256.hpp.

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

Definition at line 45 of file m256.hpp.

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

Definition at line 50 of file m256.hpp.

Member Data Documentation

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

Definition at line 33 of file m256.hpp.

__m256d mfem::AutoSIMD< double, 4, 32 >::m256d

Definition at line 37 of file m256.hpp.

static constexpr int mfem::AutoSIMD< double, 4, 32 >::size = 4
static

Definition at line 32 of file m256.hpp.

vector4double mfem::AutoSIMD< double, 4, 32 >::vd

Definition at line 33 of file qpx256.hpp.

double mfem::AutoSIMD< double, 4, 32 >::vec[size]

Definition at line 38 of file m256.hpp.


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