We investigate memory loads and stores that the compiler inserts for us without our knowledge: “the compiler’s secret life”. We show that these loads and stores, although necessary for the compiler are not necessary for the correct functioning of our program. And finally, we explain how you can improve the performance of your program by removing them.
All posts tagged register allocation
Loop Optimizations: interpreting the compiler optimization report
We introduce compiler optimization report, a useful tool if you wish to speed up your program by looking at what the compiler failed to optimize.
Loop Optimizations: how does the compiler do it?
Posted on Author Ivica BogosavljevićPosted in Help the Compiler, Performance, Toolchain and Performance2 Replies
We investigate what are the techniques your compiler employs to make your loop run faster.