Namespaces | |
namespace | inner |
Data Structures | |
struct | Q15DSPVector |
Representation of a vector when DSP extension supported. More... | |
struct | vector_traits< Q15, DSP, typename std::enable_if< true >::type > |
Vector description for Q15 with DSP extensions. More... | |
struct Q15DSPVector |
Representation of a vector when DSP extension supported.
Public Member Functions | |
Q15DSPVector () | |
Create new 0 initialized vector. | |
Q15DSPVector (int32_t val) | |
Create vector initialized from value. | |
operator int32_t () | |
Return value in vector. | |
|
inlineexplicit |
Create vector initialized from value.
[in] | val | The value |
struct vector_traits< Q15, DSP, typename std::enable_if< true >::type > |
Vector description for Q15 with DSP extensions.
Public Types | |
typedef Q15 | type |
Scalar datatype. | |
typedef type::value_type | storage_type |
Storage datatype. | |
typedef Q15DSPVector | vector |
Vector datatype. | |
typedef Q< 33, 30 > | temp_accumulator |
Accumulator datatype. | |
typedef uint32_t | predicate_t |
Static Public Member Functions | |
static Q< 33, 30 > | temp_acc_zero () |
Zero accumulator. | |
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 some 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 = false |
No predicated loops. | |
static constexpr int | nb_lanes = 2 |
Number of lanes. | |
typedef uint32_t predicate_t |
Dummy type since there is no predicated loop for DSP extensions
|
inlinestaticconstexpr |
Convert to lane value.
[in] | x | Value |
|
inlinestatic |
Zero accumulator.
|
inlinestaticconstexpr |
Value to write in a lane to write 0.