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

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

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

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

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

Loading…
Cancel
Save