In a project, I want my code to be: 1)Accurate 2)fast 3)Power efficient (sorted by priority)
I can use assembly but it is a little hard.
Currently I'm using -O3 optimization level. But it increases program memory usage a lot (-Os: 892B, -O1: 968B, -O3: 1500B) and it means more instructions to run. And more instructions = more power consumption.
How much does -O3 increase the performance? Does it worth? Which level is the best for my application?