Home
last modified time | relevance | path

Searched defs:vector_traits (Results 1 – 16 of 16) sorted by relevance

/cmsis-dsp-latest/dsppp/Include/dsppp/num_features/
Dq15.hpp41 struct vector_traits<Q15,arch, struct
46 typedef Q15 type;
49 typedef type::value_type storage_type;
53 typedef bool vector;
55 typedef bool temp_accumulator;
57 typedef uint32_t predicate_t;
61 static constexpr bool has_vector = false;
63 static constexpr bool is_float = false;
65 static constexpr bool is_fixed = true;
67 static constexpr bool has_predicate = false;
Dq31.hpp42 struct vector_traits<Q31,arch, struct
46 typedef Q31 type;
49 typedef type::value_type storage_type;
53 typedef bool vector;
55 typedef bool temp_accumulator;
57 typedef uint32_t predicate_t;
61 static constexpr bool has_vector = false;
63 static constexpr bool is_float = false;
65 static constexpr bool is_fixed = true;
67 static constexpr bool has_predicate = false;
Dq7.hpp46 struct vector_traits<Q7,arch, struct
51 typedef Q7 type;
54 typedef type::value_type storage_type;
58 typedef bool vector;
60 typedef bool temp_accumulator;
62 typedef uint32_t predicate_t;
66 static constexpr bool has_vector = false;
68 static constexpr bool is_float = false;
70 static constexpr bool is_fixed = true;
72 static constexpr bool has_predicate = false;
Ddouble.hpp46 struct vector_traits<double,arch,void> { struct
51 typedef double type;
56 typedef double storage_type;
64 typedef bool vector;
70 typedef bool temp_accumulator;
76 typedef uint32_t predicate_t;
81 static constexpr bool has_vector = false;
84 static constexpr bool is_float = true;
86 static constexpr bool is_fixed = false;
88 static constexpr bool has_predicate = false;
Dfloat.hpp53 struct vector_traits<float,arch, struct
58 typedef float type;
61 typedef float storage_type;
66 typedef bool vector;
68 typedef bool temp_accumulator;
70 typedef uint32_t predicate_t;
74 static constexpr bool has_vector = false;
76 static constexpr bool is_float = true;
78 static constexpr bool is_fixed = false;
81 static constexpr bool has_predicate = false;
Dhalf.hpp49 struct vector_traits<float16_t> { struct
51 typedef float16_t type;
53 typedef float16_t storage_type;
57 typedef bool vector;
59 typedef bool temp_accumulator;
61 typedef uint32_t predicate_t;
64 static constexpr bool has_vector = false;
66 static constexpr bool is_float = true;
68 static constexpr bool is_fixed = false;
70 static constexpr bool has_predicate = false;
Dgroup.hpp65 struct vector_traits<std::tuple<E...>,arch> { struct
72 typedef std::tuple<typename vector_traits<E,arch>::temp_accumulator...> temp_accumulator; argument
75 typedef std::tuple<typename vector_traits<E,arch>::vector...> vector; argument
78 typedef std::tuple<typename vector_traits<E,arch>::predicate_t...> predicate_t; argument
81 static constexpr int nb_lanes = vector_traits<RefScalar,arch>::nb_lanes; argument
84 static constexpr bool has_vector = vector_traits<RefScalar,arch>::has_vector; argument
87 static constexpr bool is_float = vector_traits<RefScalar,arch>::is_float; argument
90 static constexpr bool is_fixed = vector_traits<RefScalar,arch>::is_fixed; argument
93 static constexpr bool has_predicate = vector_traits<RefScalar,arch>::has_predicate; argument
102 return(std::make_tuple(vector_traits<E,arch>::temp_acc_zero()...)); in temp_acc_zero() argument
/cmsis-dsp-latest/dsppp/Include/dsppp/Neon/
Dfloat.hpp13 struct vector_traits<float,arch, struct
16 typedef float type;
17 typedef float storage_type;
18 typedef float32x4_t vector;
19 static constexpr bool has_vector = true;
20 static constexpr bool is_float = true;
21 static constexpr bool is_fixed = false;
23 static constexpr int nb_lanes = 4;
25 static constexpr float zero_lane() {return 0.0f;}; in zero_lane()
/cmsis-dsp-latest/dsppp/Include/dsppp/
Dnumber.hpp72 struct vector_traits { struct
73 typedef T type; //!< Scalar datatype
74 typedef T storage_type; //!< Storage type (for instance for Q15 scalar the storage is int16_t)
75 static constexpr bool has_vector = false; //!< True if scalar type has a related vector type
76 …static constexpr bool is_float = false; //!< True if scalar type is a float (half, float or double)
77 static constexpr bool is_fixed = false; //!< True if scalar type is fixed point
/cmsis-dsp-latest/dsppp/Include/dsppp/DSP/
Dq15.hpp51 struct vector_traits<Q15,DSP,typename std::enable_if<true>::type> struct
54 typedef Q15 type;
57 typedef type::value_type storage_type;
60 typedef Q15DSPVector vector;
63 typedef Q<33,30> temp_accumulator;
81 typedef uint32_t predicate_t;
84 static constexpr bool has_vector = true;
87 static constexpr bool is_float = false;
90 static constexpr bool is_fixed = true;
93 static constexpr bool has_predicate = false;
[all …]
Dq7.hpp32 struct vector_traits<Q7,DSP,typename std::enable_if<true>::type> struct
34 typedef Q7 type;
35 typedef type::value_type storage_type;
36 typedef Q7DSPVector vector;
37 typedef Q<17,14> temp_accumulator;
50 typedef uint32_t predicate_t;
53 static constexpr bool has_vector = true;
54 static constexpr bool is_float = false;
55 static constexpr bool is_fixed = true;
56 static constexpr bool has_predicate = false;
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/Helium/
Dq31.hpp30 struct vector_traits<Q31,arch, struct
33 typedef Q31 type;
34 typedef type::value_type storage_type;
35 typedef int32x4_t vector;
36 typedef Q<9,54> temp_accumulator;
37 typedef mve_pred16_t predicate_t;
39 static constexpr bool has_vector = true;
40 static constexpr bool is_float = false;
41 static constexpr bool is_fixed = true;
42 static constexpr bool has_predicate = true;
[all …]
Dfloat.hpp38 struct vector_traits<float,arch, struct
42 typedef float type;
44 typedef float storage_type;
46 typedef float32x4_t vector;
48 typedef float32x4_t temp_accumulator;
50 typedef mve_pred16_t predicate_t;
52 static constexpr bool has_vector = true;
54 static constexpr bool is_float = true;
56 static constexpr bool is_fixed = false;
58 static constexpr bool has_predicate = true;
[all …]
Dhalf.hpp27 struct vector_traits<float16_t,arch,typename std::enable_if<std::is_base_of<Helium,arch>::value>::t… struct
30 typedef float16_t type;
32 typedef float16_t storage_type;
34 typedef float16x8_t vector;
36 typedef float16x8_t temp_accumulator;
38 typedef mve_pred16_t predicate_t;
41 static constexpr bool has_vector = true;
43 static constexpr bool is_float = true;
45 static constexpr bool is_fixed = false;
47 static constexpr bool has_predicate = true;
[all …]
Dq15.hpp33 struct vector_traits<Q15,arch, struct
37 typedef Q15 type;
40 typedef type::value_type storage_type;
43 typedef int16x8_t vector;
46 typedef Q<33,30> temp_accumulator;
49 typedef mve_pred16_t predicate_t;
52 static constexpr bool has_vector = true;
55 static constexpr bool is_float = false;
58 static constexpr bool is_fixed = true;
61 static constexpr bool has_predicate = true;
[all …]
Dq7.hpp29 struct vector_traits<Q7,arch, struct
32 typedef Q7 type;
33 typedef type::value_type storage_type;
34 typedef int8x16_t vector;
35 typedef Q<17,14> temp_accumulator;
36 typedef mve_pred16_t predicate_t;
38 static constexpr bool has_vector = true;
39 static constexpr bool is_float = false;
40 static constexpr bool is_fixed = true;
41 static constexpr bool has_predicate = true;
[all …]