2016-08-25 01:39 AM
Hi,
I have a 800 bytes array and I need to check if each byte is bigger than a threshold valuefor (i=0;i<800;i++) if Data[i] > TH then ....is there any other method to implement this threshold without loop and if?Thanks,Michael2016-08-25 10:56 AM
Review the ARM Cortex-M7 TRM and the SIMD features supported.
At some level you're going to have to walk over the data, the question is the stride size, this isn't some magic CISC implementation, very little silicon is wasted on features with minimal usage. Suggest you start by unrolling the loop, and learning assembler.2016-08-30 05:44 AM