Mathter
A configurable 3D math library for game developers.
Static Public Member Functions | Public Attributes | List of all members
mathter::Simd< double, 2 > Union Template Reference

#include <Simd_SSE2.hpp>

Static Public Member Functions

static Simd mul (const Simd &lhs, const Simd &rhs)
 
static Simd div (const Simd &lhs, const Simd &rhs)
 
static Simd add (const Simd &lhs, const Simd &rhs)
 
static Simd sub (const Simd &lhs, const Simd &rhs)
 
static Simd mul (const Simd &lhs, double rhs)
 
static Simd div (const Simd &lhs, double rhs)
 
static Simd add (const Simd &lhs, double rhs)
 
static Simd sub (const Simd &lhs, double rhs)
 
static Simd mad (const Simd &a, const Simd &b, const Simd &c)
 
static Simd spread (double value)
 
static Simd set (double x, double y)
 
template<int Count>
static double dot (const Simd &lhs, const Simd &rhs)
 
template<int i0, int i1>
static Simd shuffle (const Simd &arg)
 

Public Attributes

__m128d reg
 
double v [4]
 

Member Function Documentation

◆ add() [1/2]

static Simd mathter::Simd< double, 2 >::add ( const Simd< double, 2 > &  lhs,
const Simd< double, 2 > &  rhs 
)
inlinestatic

◆ add() [2/2]

static Simd mathter::Simd< double, 2 >::add ( const Simd< double, 2 > &  lhs,
double  rhs 
)
inlinestatic

◆ div() [1/2]

static Simd mathter::Simd< double, 2 >::div ( const Simd< double, 2 > &  lhs,
const Simd< double, 2 > &  rhs 
)
inlinestatic

◆ div() [2/2]

static Simd mathter::Simd< double, 2 >::div ( const Simd< double, 2 > &  lhs,
double  rhs 
)
inlinestatic

◆ dot()

template<int Count>
static double mathter::Simd< double, 2 >::dot ( const Simd< double, 2 > &  lhs,
const Simd< double, 2 > &  rhs 
)
inlinestatic

◆ mad()

static Simd mathter::Simd< double, 2 >::mad ( const Simd< double, 2 > &  a,
const Simd< double, 2 > &  b,
const Simd< double, 2 > &  c 
)
inlinestatic

◆ mul() [1/2]

static Simd mathter::Simd< double, 2 >::mul ( const Simd< double, 2 > &  lhs,
const Simd< double, 2 > &  rhs 
)
inlinestatic

◆ mul() [2/2]

static Simd mathter::Simd< double, 2 >::mul ( const Simd< double, 2 > &  lhs,
double  rhs 
)
inlinestatic

◆ set()

static Simd mathter::Simd< double, 2 >::set ( double  x,
double  y 
)
inlinestatic

◆ shuffle()

template<int i0, int i1>
static Simd mathter::Simd< double, 2 >::shuffle ( const Simd< double, 2 > &  arg)
inlinestatic

◆ spread()

static Simd mathter::Simd< double, 2 >::spread ( double  value)
inlinestatic

◆ sub() [1/2]

static Simd mathter::Simd< double, 2 >::sub ( const Simd< double, 2 > &  lhs,
const Simd< double, 2 > &  rhs 
)
inlinestatic

◆ sub() [2/2]

static Simd mathter::Simd< double, 2 >::sub ( const Simd< double, 2 > &  lhs,
double  rhs 
)
inlinestatic

Member Data Documentation

◆ reg

__m128d mathter::Simd< double, 2 >::reg

◆ v

double mathter::Simd< double, 2 >::v[4]

The documentation for this union was generated from the following file: