STM32L552 CMSIS DSP Performance Issue
I am using the NUCLEO-L552ZE-Q board to check the cycle counts for some of the CMSIS DSP library functions and getting unexpected results. I am comparing against ST AN4841 benchmarks and getting over 2.5 times more cycles than the Cortex-M4 in the application note. From my understanding, the Cortex-M33 should provide slightly better performance than a Cortex-M4 on an instruction cycle match up. I am using the examples from the CMSIS library and only checking the cycles used for arm_cfft_f32() and arm_fir_f32() functions, with all interrupts disabled, no peripherals (NUCLEO-L552ZE-Q CubeIDE template), no RTOS. I have used both SWV and DWT->CYCCNT to measure. Also, I am using the pre-compiled CMSIS library with FPU and DSP enabled and tried both the ST provided library as well as v5.7.0 from ARM. Am I completely missing something here?
