Have you ever looked at Cortex M4 instruction set ? There is a particular one that does not seem like much but can do some magic !
I’m talking about SEL intrinsic and this article will show one of its possible usage in a Min/Max detection algorithm.
Lire la suite « Parallel comparison – Min/Max detection »