ARM-software / CMSIS-DSP

CMSIS-DSP embedded compute library for Cortex-M and Cortex-A
https://arm-software.github.io/CMSIS-DSP
Apache License 2.0
454 stars 122 forks source link

arm_svm_polynomial_predict_f32.c error #190

Open Q1anWan opened 5 days ago

Q1anWan commented 5 days ago

It seems that when building with option(NEON "Neon acceleration" ON) and option(AUTOVECTORIZE "Prefer autovectorizable code to one using C intrinsics" ON), the arm_vec_exponent_f32 function is not defined, which will cause error in arm_svm_polynomial_predict_f32.c line 407.

christophe0606 commented 5 days ago

@Q1anWan You're right. It looks like the ARM_MATH_AUTOVECTORIZE test is not applied coherently to all Neon versions. The arm_svm_polynomial_predict_f32 is not disabled with ARM_MATH_AUTOVECTORIZE but it should.