CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Namespaces

namespace  inner
 

Data Structures

struct  vector_traits< float16_t, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type >
 Vector features for f16 on Helium. More...
 
struct  vctpq< float16_t >
 vctpq for Helium and f16 More...
 

Description


Data Structure Documentation

◆ vector_traits< float16_t, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type >

struct vector_traits< float16_t, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type >
template<typename arch>
struct vector_traits< float16_t, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type >

Vector features for f16 on Helium.

Template Parameters
archCurrent architecture

Public Types

typedef float16_t type
 Scalar datatype.
 
typedef float16_t storage_type
 Storage datatype.
 
typedef float16x8_t vector
 Vector datatype.
 
typedef float16x8_t temp_accumulator
 Temp accumulator datatype.
 
typedef mve_pred16_t predicate_t
 Predicate datatype.
 

Static Public Member Functions

static float16x8_t temp_acc_zero ()
 Vector of 0.
 
static constexpr float16_t zero_lane ()
 Value to write 0 in a lane.
 
static constexpr float16_t lane_value (const float16_t x)
 Convert from lane value.
 

Static Public Attributes

static constexpr bool has_vector = true
 Has vector instructions.
 
static constexpr bool is_float = true
 Is float.
 
static constexpr bool is_fixed = false
 Is not fixed point.
 
static constexpr bool has_predicate = true
 Has predicated loop.
 
static constexpr int nb_lanes = 8
 Number of lanes.
 

Member Function Documentation

◆ lane_value()

static constexpr float16_t lane_value ( const float16_t  x)
inlinestaticconstexpr

Convert from lane value.

Parameters
[in]xLane value
Returns
Lane value with current datatype

◆ temp_acc_zero()

static float16x8_t temp_acc_zero ( )
inlinestatic

Vector of 0.

Returns
Vector of 0

◆ zero_lane()

static constexpr float16_t zero_lane ( )
inlinestaticconstexpr

Value to write 0 in a lane.

Returns
Value to write 0 in a lane

f16 suffix not supported in C++

◆ inner::vctpq< float16_t >

struct inner::vctpq< float16_t >

vctpq for Helium and f16

Static Public Member Functions

static mve_pred16_t mk (uint32_t v)
 Make predicate.
 

Member Function Documentation

◆ mk()

static mve_pred16_t mk ( uint32_t  v)
inlinestatic

Make predicate.

Parameters
[in]vRemaining iterations
Returns
Predicate