Namespaces | |
namespace | inner |
Data Structures | |
struct | vector_traits< Q15, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type > |
Vector features for Q15 on Helium. More... | |
struct vector_traits< Q15, arch, typename std::enable_if< std::is_base_of< Helium, arch >::value >::type > |
Vector features for Q15 on Helium.
arch | Current architecture |
Public Types | |
typedef Q15 | type |
Scalar datatype. | |
typedef type::value_type | storage_type |
Storage datatype (int16_t) | |
typedef int16x8_t | vector |
Vector datatype. | |
typedef Q< 33, 30 > | temp_accumulator |
Temp accumulator datatype. | |
typedef mve_pred16_t | predicate_t |
Predicate for loop. | |
Static Public Member Functions | |
static Q< 33, 30 > | temp_acc_zero () |
Zero. | |
static constexpr int16_t | zero_lane () |
Value to write in a lane to write 0. | |
static constexpr int16_t | lane_value (const Q15 x) |
Convert to lane value. | |
Static Public Attributes | |
static constexpr bool | has_vector = true |
Has vector instructions. | |
static constexpr bool | is_float = false |
Is not float. | |
static constexpr bool | is_fixed = true |
Is fixed point. | |
static constexpr bool | has_predicate = true |
Has predicated loop. | |
static constexpr int | nb_lanes = 8 |
Number of lanes. | |
|
inlinestaticconstexpr |
Convert to lane value.
[in] | x | Lane value |
|
inlinestatic |
Zero.
|
inlinestaticconstexpr |
Value to write in a lane to write 0.