38 #ifndef COMMON_DSPLIB_C7X_INLINES_H_
39 #define COMMON_DSPLIB_C7X_INLINES_H_ 1
62 template <
typename dataType>
static inline uchar64 c7x_permute_even_even_xxx(uchar64 permCtrl, uchar64 in1, uchar64 in0)
66 if (
sizeof(dataType) ==
sizeof(int32_t)) {
67 retVal = __permute_even_even_int(permCtrl, in1, in0);
69 else if (
sizeof(dataType) ==
sizeof(int16_t)) {
70 retVal = __permute_even_even_short(permCtrl, in1, in0);
73 retVal = (uchar64) (0);
79 template <
typename dataType>
static inline uchar64 c7x_permute_odd_odd_xxx(uchar64 permCtrl, uchar64 in1, uchar64 in0)
83 if (
sizeof(dataType) ==
sizeof(int32_t)) {
84 retVal = __permute_odd_odd_int(permCtrl, in1, in0);
86 else if (
sizeof(dataType) ==
sizeof(int16_t)) {
87 retVal = __permute_odd_odd_short(permCtrl, in1, in0);
90 retVal = (uchar64) (0);