Question
STM32G474RE NUCLEO board SIMD instruction test
Hi
I want to test the execution speed of SIMD instruction. My demo as below.
16-bit addition, for example.
I find the instruction __SADD16() in cmsis_gcc.h. The execution time using __SADD16 is 27us and the time without __SADD16 is 23us. It seems like that the speed is more slow when using __SADD16.
Am I calling the wrong function? Please tell me how to use SIMD instruction correctly to speed up addition or multiplication.
Thanks