CMSIS-DSP: Removed new compilation warnings with AC6.17 compiler.

pull/19/head
Christophe Favergeon 5 years ago
parent 2bc66f36fb
commit 515c07c575

@ -143,22 +143,17 @@ __STATIC_INLINE float16x8_t vtaylor_polyq_f16(
return res; return res;
} }
__STATIC_INLINE float16x8_t vmant_exp_f16( #define VMANT_EXP_F16(x) \
float16x8_t x, any16x8_t r; \
int16x8_t * e) int16x8_t n; \
{ \
any16x8_t r; r.f = x; \
int16x8_t n; n = r.i >> 10; \
n = n - 15; \
r.f = x; r.i = r.i - (n << 10);\
n = r.i >> 10; \
n = n - 15; vecExpUnBiased = n; \
r.i = r.i - (n << 10); vecTmpFlt1 = r.f;
*e = n;
return r.f;
}
__STATIC_INLINE float16x8_t vlogq_f16(float16x8_t vecIn) __STATIC_INLINE float16x8_t vlogq_f16(float16x8_t vecIn)
{ {
@ -170,7 +165,7 @@ __STATIC_INLINE float16x8_t vlogq_f16(float16x8_t vecIn)
/* /*
* extract exponent * extract exponent
*/ */
vecTmpFlt1 = vmant_exp_f16(vecIn, &vecExpUnBiased); VMANT_EXP_F16(vecIn);
vecTmpFlt0 = vecTmpFlt1 * vecTmpFlt1; vecTmpFlt0 = vecTmpFlt1 * vecTmpFlt1;
/* /*

@ -49,9 +49,7 @@ static void checkInnerTail(float32_t *b)
#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)
int round; int round;
#endif #endif
int nb=0;
/* /*
@ -66,9 +64,6 @@ static void checkInnerTail(float32_t *b)
blockSize = configp[0]; blockSize = configp[0];
numTaps = configp[1]; numTaps = configp[1];
nb += 2*blockSize;
#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)
/* Copy coefficients and pad to zero /* Copy coefficients and pad to zero
*/ */

@ -40,7 +40,6 @@ static void checkInnerTail(q31_t *b)
#endif #endif
int blockSize; int blockSize;
int numTaps; int numTaps;
int nb=1;
/* /*
@ -113,7 +112,6 @@ static void checkInnerTail(q31_t *b)
configp += 2; configp += 2;
orgcoefsp += numTaps; orgcoefsp += numTaps;
nb += blockSize + blockSize;
} }

@ -622,7 +622,6 @@ void UnaryTestsF32::test_mat_inverse_f32()
int i; int i;
arm_status status; arm_status status;
int nb=0;
for(i=0;i < nbMatrixes ; i ++) for(i=0;i < nbMatrixes ; i ++)
{ {
@ -654,7 +653,6 @@ void UnaryTestsF32::test_mat_inverse_f32()
inp1 += (rows * columns); inp1 += (rows * columns);
nb += (rows * columns);
} }

@ -439,7 +439,6 @@ void UnaryTestsF64::test_mat_inverse_f64()
int i; int i;
arm_status status; arm_status status;
int nb=0;
for(i=0;i < nbMatrixes ; i ++) for(i=0;i < nbMatrixes ; i ++)
{ {
@ -472,8 +471,6 @@ void UnaryTestsF64::test_mat_inverse_f64()
inp1 += (rows * columns); inp1 += (rows * columns);
nb += (rows * columns);
} }
ASSERT_EMPTY_TAIL(outputll); ASSERT_EMPTY_TAIL(outputll);

Loading…
Cancel
Save