Signals and Threads

Compiler optimization with Greta Yorsh

Sep 30, 2020
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Arm Work Sparked Super-Optimization

  • At Arm Greta saw tight hardware/compiler interactions and felt constrained by separate passes.
  • That motivated interest in super-optimization to search globally for optimal instruction sequences.
INSIGHT

What Super-Optimization Actually Does

  • Super-optimization searches for the provably optimal instruction sequence equivalent to a given snippet.
  • Equivalence checking reduces to program equivalence verification, feasible for straight-line code but expensive overall.
ADVICE

Apply Super-Opt Selectively

  • Use super-optimization selectively for critical code or to evaluate hardware/compiler trade-offs.
  • Run expensive searches offline to inform backend design rather than in daily developer builds.
Get the Snipd Podcast app to discover more snips from this episode
Get the app