tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Microkernel< float, 128, X86_SSE > Struct Reference

#include <sse2_microkernel.h>

Public Types

using VecType = __m128
 
using ScalarType = float
 

Static Public Member Functions

static FORCE_INLINE VecType load (const ScalarType *ptr) noexcept
 
static FORCE_INLINE VecType loadu (const ScalarType *ptr) noexcept
 
static FORCE_INLINE void store (ScalarType *ptr, VecType val) noexcept
 
static FORCE_INLINE void storeu (ScalarType *ptr, VecType val) noexcept
 
static FORCE_INLINE VecType set1 (ScalarType scalar) noexcept
 
static FORCE_INLINE VecType add (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType add (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType mul (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType mul (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType sub (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType sub (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType sub (ScalarType a, VecType b) noexcept
 
static FORCE_INLINE VecType div (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType div (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType div (ScalarType a, VecType b) noexcept
 
static FORCE_INLINE VecType fmadd (VecType a, VecType b, VecType c) noexcept
 
static FORCE_INLINE VecType min (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType min (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType max (VecType a, VecType b) noexcept
 
static FORCE_INLINE VecType max (VecType a, ScalarType b) noexcept
 
static FORCE_INLINE VecType gather (const ScalarType *base, const my_size_t *indices) noexcept
 
static FORCE_INLINE void scatter (ScalarType *base, const my_size_t *indices, VecType val) noexcept
 
static FORCE_INLINE VecType abs (VecType v) noexcept
 
static FORCE_INLINE bool all_within_tolerance (VecType a, VecType b, ScalarType tol) noexcept
 

Static Public Attributes

static constexpr my_size_t simdWidth = 4
 

Member Typedef Documentation

◆ ScalarType

using Microkernel< float, 128, X86_SSE >::ScalarType = float

◆ VecType

using Microkernel< float, 128, X86_SSE >::VecType = __m128

Member Function Documentation

◆ abs()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::abs ( VecType  v)
inlinestaticnoexcept

◆ add() [1/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::add ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ add() [2/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::add ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ all_within_tolerance()

static FORCE_INLINE bool Microkernel< float, 128, X86_SSE >::all_within_tolerance ( VecType  a,
VecType  b,
ScalarType  tol 
)
inlinestaticnoexcept

◆ div() [1/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::div ( ScalarType  a,
VecType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ div() [2/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::div ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ div() [3/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::div ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ fmadd()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::fmadd ( VecType  a,
VecType  b,
VecType  c 
)
inlinestaticnoexcept

◆ gather()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::gather ( const ScalarType base,
const my_size_t indices 
)
inlinestaticnoexcept

◆ load()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::load ( const ScalarType ptr)
inlinestaticnoexcept

◆ loadu()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::loadu ( const ScalarType ptr)
inlinestaticnoexcept

◆ max() [1/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::max ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ max() [2/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::max ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ min() [1/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::min ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ min() [2/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::min ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ mul() [1/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::mul ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ mul() [2/2]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::mul ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ scatter()

static FORCE_INLINE void Microkernel< float, 128, X86_SSE >::scatter ( ScalarType base,
const my_size_t indices,
VecType  val 
)
inlinestaticnoexcept

◆ set1()

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::set1 ( ScalarType  scalar)
inlinestaticnoexcept

◆ store()

static FORCE_INLINE void Microkernel< float, 128, X86_SSE >::store ( ScalarType ptr,
VecType  val 
)
inlinestaticnoexcept

◆ storeu()

static FORCE_INLINE void Microkernel< float, 128, X86_SSE >::storeu ( ScalarType ptr,
VecType  val 
)
inlinestaticnoexcept

◆ sub() [1/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::sub ( ScalarType  a,
VecType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ sub() [2/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::sub ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ sub() [3/3]

static FORCE_INLINE VecType Microkernel< float, 128, X86_SSE >::sub ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

Member Data Documentation

◆ simdWidth

constexpr my_size_t Microkernel< float, 128, X86_SSE >::simdWidth = 4
staticconstexpr

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