MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::AutoSIMD< typename, int, int > Struct Template Reference

#include <auto.hpp>

Public Types

typedef scalar_t scalar_type
 

Public Member Functions

 AutoSIMD ()=default
 
 AutoSIMD (const AutoSIMD &)=default
 
MFEM_ALWAYS_INLINE scalar_t & operator[] (int i)
 
MFEM_ALWAYS_INLINE const scalar_t & operator[] (int i) const
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator= (const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator+= (const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator-= (const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator*= (const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDoperator/= (const scalar_t &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 scalar_t &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator- (const scalar_t &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator* (const scalar_t &e) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const AutoSIMD &v) const
 
MFEM_ALWAYS_INLINE AutoSIMD operator/ (const scalar_t &e) const
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const AutoSIMD &v, const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDfma (const scalar_t &e, const AutoSIMD &v)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const AutoSIMD &w)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const AutoSIMD &v, const scalar_t &e)
 
MFEM_ALWAYS_INLINE AutoSIMDmul (const scalar_t &e, const AutoSIMD &v)
 

Public Attributes

scalar_t vec [size]
 

Static Public Attributes

static const int size = S
 
static const int align_bytes = align_bytes_
 

Detailed Description

template<typename, int, int>
struct mfem::AutoSIMD< typename, int, int >

Definition at line 27 of file vsx128.hpp.

Member Typedef Documentation

◆ scalar_type

template<typename , int , int >
typedef scalar_t mfem::AutoSIMD< typename, int, int >::scalar_type

Definition at line 26 of file auto.hpp.

Constructor & Destructor Documentation

◆ AutoSIMD() [1/2]

template<typename , int , int >
mfem::AutoSIMD< typename, int, int >::AutoSIMD ( )
default

◆ AutoSIMD() [2/2]

template<typename , int , int >
mfem::AutoSIMD< typename, int, int >::AutoSIMD ( const AutoSIMD< typename, int, int > & )
default

Member Function Documentation

◆ fma() [1/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::fma ( const AutoSIMD< typename, int, int > & v,
const AutoSIMD< typename, int, int > & w )
inline

Definition at line 193 of file auto.hpp.

◆ fma() [2/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::fma ( const AutoSIMD< typename, int, int > & v,
const scalar_t & e )
inline

Definition at line 200 of file auto.hpp.

◆ fma() [3/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::fma ( const scalar_t & e,
const AutoSIMD< typename, int, int > & v )
inline

Definition at line 207 of file auto.hpp.

◆ mul() [1/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::mul ( const AutoSIMD< typename, int, int > & v,
const AutoSIMD< typename, int, int > & w )
inline

Definition at line 214 of file auto.hpp.

◆ mul() [2/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::mul ( const AutoSIMD< typename, int, int > & v,
const scalar_t & e )
inline

Definition at line 221 of file auto.hpp.

◆ mul() [3/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::mul ( const scalar_t & e,
const AutoSIMD< typename, int, int > & v )
inline

Definition at line 228 of file auto.hpp.

◆ operator*() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator* ( const AutoSIMD< typename, int, int > & v) const
inline

Definition at line 161 of file auto.hpp.

◆ operator*() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator* ( const scalar_t & e) const
inline

Definition at line 169 of file auto.hpp.

◆ operator*=() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator*= ( const AutoSIMD< typename, int, int > & v)
inline

Definition at line 88 of file auto.hpp.

◆ operator*=() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator*= ( const scalar_t & e)
inline

Definition at line 95 of file auto.hpp.

◆ operator+() [1/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator+ ( ) const
inline

Definition at line 124 of file auto.hpp.

◆ operator+() [2/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator+ ( const AutoSIMD< typename, int, int > & v) const
inline

Definition at line 129 of file auto.hpp.

◆ operator+() [3/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator+ ( const scalar_t & e) const
inline

Definition at line 137 of file auto.hpp.

◆ operator+=() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator+= ( const AutoSIMD< typename, int, int > & v)
inline

Definition at line 60 of file auto.hpp.

◆ operator+=() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator+= ( const scalar_t & e)
inline

Definition at line 67 of file auto.hpp.

◆ operator-() [1/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator- ( ) const
inline

Definition at line 116 of file auto.hpp.

◆ operator-() [2/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator- ( const AutoSIMD< typename, int, int > & v) const
inline

Definition at line 145 of file auto.hpp.

◆ operator-() [3/3]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator- ( const scalar_t & e) const
inline

Definition at line 153 of file auto.hpp.

◆ operator-=() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator-= ( const AutoSIMD< typename, int, int > & v)
inline

Definition at line 74 of file auto.hpp.

◆ operator-=() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator-= ( const scalar_t & e)
inline

Definition at line 81 of file auto.hpp.

◆ operator/() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator/ ( const AutoSIMD< typename, int, int > & v) const
inline

Definition at line 177 of file auto.hpp.

◆ operator/() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD mfem::AutoSIMD< typename, int, int >::operator/ ( const scalar_t & e) const
inline

Definition at line 185 of file auto.hpp.

◆ operator/=() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator/= ( const AutoSIMD< typename, int, int > & v)
inline

Definition at line 102 of file auto.hpp.

◆ operator/=() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator/= ( const scalar_t & e)
inline

Definition at line 109 of file auto.hpp.

◆ operator=() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator= ( const AutoSIMD< typename, int, int > & v)
inline

Definition at line 46 of file auto.hpp.

◆ operator=() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE AutoSIMD & mfem::AutoSIMD< typename, int, int >::operator= ( const scalar_t & e)
inline

Definition at line 53 of file auto.hpp.

◆ operator[]() [1/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE scalar_t & mfem::AutoSIMD< typename, int, int >::operator[] ( int i)
inline

Definition at line 36 of file auto.hpp.

◆ operator[]() [2/2]

template<typename , int , int >
MFEM_ALWAYS_INLINE const scalar_t & mfem::AutoSIMD< typename, int, int >::operator[] ( int i) const
inline

Definition at line 41 of file auto.hpp.

Member Data Documentation

◆ align_bytes

template<typename , int , int >
const int mfem::AutoSIMD< typename, int, int >::align_bytes = align_bytes_
static

Definition at line 28 of file auto.hpp.

◆ size

template<typename , int , int >
const int mfem::AutoSIMD< typename, int, int >::size = S
static

Definition at line 27 of file auto.hpp.

◆ vec

template<typename , int , int >
scalar_t mfem::AutoSIMD< typename, int, int >::vec[size]

Definition at line 30 of file auto.hpp.


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