Skip to content
Snippets Groups Projects
Commit a0ba1d77 authored by Christophe Favergeon's avatar Christophe Favergeon
Browse files

CMSIS-DSP : Correcting issue 1248

ARM_MATH_DSP is not behind a define guard
parent a6aec0c5
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ void arm_dot_prod_f32(
blkCnt--;
}
#if __aarch64__
#if defined(__aarch64__)
sum = vpadds_f32(vpadd_f32(vget_low_f32(accum), vget_high_f32(accum)));
#else
tmp = vpadd_f32(vget_low_f32(accum), vget_high_f32(accum));
......
......@@ -64,7 +64,7 @@ arm_status arm_conv_partial_q7(
uint32_t numPoints)
{
#if ARM_MATH_DSP
#if defined(ARM_MATH_DSP)
const q7_t *pIn1; /* InputA pointer */
const q7_t *pIn2; /* InputB pointer */
......
......@@ -264,7 +264,7 @@ arm_status arm_mat_cholesky_f32(
k+=4;
}
#if __aarch64__
#if defined(__aarch64__)
sum0 = vpadds_f32(vpadd_f32(vget_low_f32(acc0), vget_high_f32(acc0)));
sum1 = vpadds_f32(vpadd_f32(vget_low_f32(acc1), vget_high_f32(acc1)));
sum2 = vpadds_f32(vpadd_f32(vget_low_f32(acc2), vget_high_f32(acc2)));
......@@ -322,7 +322,7 @@ arm_status arm_mat_cholesky_f32(
k+=4;
}
#if __aarch64__
#if defined(__aarch64__)
sum = vpadds_f32(vpadd_f32(vget_low_f32(acc), vget_high_f32(acc)));
#else
tmp = vpadd_f32(vget_low_f32(acc), vget_high_f32(acc));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment