In my experience arm clang compiler often times produced code that is ~10-20 percent faster (hence less energy consuming) than gcc with the same optimisation levels
(Building bare metal code with a lot of DSP and MATMUL)
(Building bare metal code with a lot of DSP and MATMUL)
You can try it : https://github.com/powturbo/Turbo-Base64