0xalpharush / static-analysis-and-compilers

Eclectic notes on static analysis and compilers
47 stars 7 forks source link

optimizations #9

Open 0xalpharush opened 1 year ago

0xalpharush commented 1 year ago

https://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=get&target=jambor.pdf

mohammadfawaz commented 1 year ago

This 50 years old paper covers most of the techniques that a compiler should implement: Inline, Unroll (& Vectorize), CSE, DCE, Code Motion, Constant Fold, Peephole. These achieve the majority of the performance needs.