Skip to content
hpcnotes
Loading…
HPC·Compilation
2026.09.11· 1 min

Arithmetic Optimizations

Strength reduction, lea, and the multiply the compiler already rewrote. Do not fight it blindly.
Precomputation........................................................................................................................................................................................................Previous
What Compilers Can and Can't Do........................................................................................................................................................................................................Next
#hpc
Stages of Compilation........................................................................................................................................................................................................2026.09.11
Flags and Targets........................................................................................................................................................................................................2026.09.11
Situational Optimizations........................................................................................................................................................................................................2026.09.11
Contract Programming........................................................................................................................................................................................................2026.09.11
Non-Zero-Cost Abstractions........................................................................................................................................................................................................2026.09.11
Suggest an editMarkdownHistory