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
NeonFloatIntrinsics Struct Reference

#include <neon_intrinsics.h>

Inheritance diagram for NeonFloatIntrinsics:
Inheritance graph
[legend]

Public Types

using VecType = float32x4_t
 
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 fmadd (VecType a, ScalarType b, VecType c) noexcept
 
static FORCE_INLINE VecType fmsub (VecType a, VecType b, VecType c) noexcept
 
static FORCE_INLINE VecType fmsub (VecType a, ScalarType b, VecType c) noexcept
 
static FORCE_INLINE VecType fnmadd (VecType a, VecType b, VecType c) noexcept
 
static FORCE_INLINE VecType fnmadd (VecType a, ScalarType b, VecType c) noexcept
 
static FORCE_INLINE VecType fnmsub (VecType a, VecType b, VecType c) noexcept
 
static FORCE_INLINE VecType fnmsub (VecType a, ScalarType 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
 
static constexpr my_size_t num_registers = 32
 

Member Typedef Documentation

◆ ScalarType

◆ VecType

using NeonFloatIntrinsics::VecType = float32x4_t

Member Function Documentation

◆ abs()

static FORCE_INLINE VecType NeonFloatIntrinsics::abs ( VecType  v)
inlinestaticnoexcept

◆ add() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::add ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ add() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::add ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ all_within_tolerance()

static FORCE_INLINE bool NeonFloatIntrinsics::all_within_tolerance ( VecType  a,
VecType  b,
ScalarType  tol 
)
inlinestaticnoexcept

◆ div() [1/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::div ( ScalarType  a,
VecType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ div() [2/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::div ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ div() [3/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::div ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ fmadd() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fmadd ( VecType  a,
ScalarType  b,
VecType  c 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ fmadd() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fmadd ( VecType  a,
VecType  b,
VecType  c 
)
inlinestaticnoexcept

◆ fmsub() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fmsub ( VecType  a,
ScalarType  b,
VecType  c 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ fmsub() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fmsub ( VecType  a,
VecType  b,
VecType  c 
)
inlinestaticnoexcept

◆ fnmadd() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fnmadd ( VecType  a,
ScalarType  b,
VecType  c 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ fnmadd() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fnmadd ( VecType  a,
VecType  b,
VecType  c 
)
inlinestaticnoexcept

◆ fnmsub() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fnmsub ( VecType  a,
ScalarType  b,
VecType  c 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ fnmsub() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::fnmsub ( VecType  a,
VecType  b,
VecType  c 
)
inlinestaticnoexcept

◆ gather()

static FORCE_INLINE VecType NeonFloatIntrinsics::gather ( const ScalarType base,
const my_size_t indices 
)
inlinestaticnoexcept

◆ load()

static FORCE_INLINE VecType NeonFloatIntrinsics::load ( const ScalarType ptr)
inlinestaticnoexcept

◆ loadu()

static FORCE_INLINE VecType NeonFloatIntrinsics::loadu ( const ScalarType ptr)
inlinestaticnoexcept

◆ max() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::max ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ max() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::max ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ min() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::min ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ min() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::min ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ mul() [1/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::mul ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ mul() [2/2]

static FORCE_INLINE VecType NeonFloatIntrinsics::mul ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

◆ scatter()

static FORCE_INLINE void NeonFloatIntrinsics::scatter ( ScalarType base,
const my_size_t indices,
VecType  val 
)
inlinestaticnoexcept

◆ set1()

static FORCE_INLINE VecType NeonFloatIntrinsics::set1 ( ScalarType  scalar)
inlinestaticnoexcept

◆ store()

static FORCE_INLINE void NeonFloatIntrinsics::store ( ScalarType ptr,
VecType  val 
)
inlinestaticnoexcept

◆ storeu()

static FORCE_INLINE void NeonFloatIntrinsics::storeu ( ScalarType ptr,
VecType  val 
)
inlinestaticnoexcept

◆ sub() [1/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::sub ( ScalarType  a,
VecType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ sub() [2/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::sub ( VecType  a,
ScalarType  b 
)
inlinestaticnoexcept
Here is the call graph for this function:

◆ sub() [3/3]

static FORCE_INLINE VecType NeonFloatIntrinsics::sub ( VecType  a,
VecType  b 
)
inlinestaticnoexcept

Member Data Documentation

◆ num_registers

constexpr my_size_t NeonFloatIntrinsics::num_registers = 32
staticconstexpr

◆ simdWidth

constexpr my_size_t NeonFloatIntrinsics::simdWidth = 4
staticconstexpr

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