MFEM  v4.5.2
Finite element discretization library
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

◆ scalar_type [1/2]

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

Definition at line 31 of file m128.hpp.

◆ scalar_type [2/2]

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

Definition at line 31 of file vsx128.hpp.

Constructor & Destructor Documentation

◆ AutoSIMD() [1/4]

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

◆ AutoSIMD() [2/4]

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

◆ AutoSIMD() [3/4]

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

◆ AutoSIMD() [4/4]

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

Member Function Documentation

◆ fma() [1/6]

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.

◆ fma() [2/6]

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.

◆ fma() [3/6]

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.

◆ fma() [4/6]

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.

◆ fma() [5/6]

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.

◆ fma() [6/6]

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.

◆ mul() [1/6]

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.

◆ mul() [2/6]

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.

◆ mul() [3/6]

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.

◆ mul() [4/6]

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.

◆ mul() [5/6]

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.

◆ mul() [6/6]

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.

◆ operator*() [1/4]

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.

◆ operator*() [2/4]

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.

◆ operator*() [3/4]

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

Definition at line 163 of file m128.hpp.

◆ operator*() [4/4]

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

Definition at line 166 of file vsx128.hpp.

◆ operator*=() [1/4]

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.

◆ operator*=() [2/4]

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.

◆ operator*=() [3/4]

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

Definition at line 97 of file m128.hpp.

◆ operator*=() [4/4]

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

Definition at line 97 of file vsx128.hpp.

◆ operator+() [1/6]

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

Definition at line 122 of file m128.hpp.

◆ operator+() [2/6]

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

Definition at line 126 of file vsx128.hpp.

◆ operator+() [3/6]

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.

◆ operator+() [4/6]

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.

◆ operator+() [5/6]

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

Definition at line 135 of file m128.hpp.

◆ operator+() [6/6]

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

Definition at line 138 of file vsx128.hpp.

◆ operator+=() [1/4]

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.

◆ operator+=() [2/4]

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.

◆ operator+=() [3/4]

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

Definition at line 73 of file vsx128.hpp.

◆ operator+=() [4/4]

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

Definition at line 73 of file m128.hpp.

◆ operator-() [1/6]

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

Definition at line 115 of file vsx128.hpp.

◆ operator-() [2/6]

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

Definition at line 115 of file m128.hpp.

◆ operator-() [3/6]

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.

◆ operator-() [4/6]

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.

◆ operator-() [5/6]

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

Definition at line 149 of file m128.hpp.

◆ operator-() [6/6]

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

Definition at line 152 of file vsx128.hpp.

◆ operator-=() [1/4]

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.

◆ operator-=() [2/4]

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.

◆ operator-=() [3/4]

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

Definition at line 85 of file m128.hpp.

◆ operator-=() [4/4]

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

Definition at line 85 of file vsx128.hpp.

◆ operator/() [1/4]

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.

◆ operator/() [2/4]

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.

◆ operator/() [3/4]

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

Definition at line 177 of file m128.hpp.

◆ operator/() [4/4]

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

Definition at line 180 of file vsx128.hpp.

◆ operator/=() [1/4]

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.

◆ operator/=() [2/4]

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.

◆ operator/=() [3/4]

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

Definition at line 109 of file vsx128.hpp.

◆ operator/=() [4/4]

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

Definition at line 109 of file m128.hpp.

◆ operator=() [1/4]

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.

◆ operator=() [2/4]

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.

◆ operator=() [3/4]

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

Definition at line 61 of file m128.hpp.

◆ operator=() [4/4]

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

Definition at line 61 of file vsx128.hpp.

◆ operator[]() [1/4]

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

Definition at line 45 of file m128.hpp.

◆ operator[]() [2/4]

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

Definition at line 45 of file vsx128.hpp.

◆ operator[]() [3/4]

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

Definition at line 50 of file vsx128.hpp.

◆ operator[]() [4/4]

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

◆ @12

union { ... }

◆ @4

union { ... }

◆ align_bytes

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

Definition at line 33 of file m128.hpp.

◆ m128d

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

Definition at line 37 of file m128.hpp.

◆ size

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

Definition at line 32 of file m128.hpp.

◆ vd

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

Definition at line 37 of file vsx128.hpp.

◆ vec

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: