~/talk

Just Enough Assembly for Compiler Explorer

Talkat Meeting C++ 2022 · 2022-11-17..11-19· [compilers-and-language-design]
slides:none on file

Promise: 50 minutes to decode Compiler Explorer output into concrete actions and reasons. Live emulation of an x86-64 CPU walks through registers, push/pop, memory addressing, LEA trick, compares and conditional jumps, calling convention and returns, and how optimization collapses stack traffic. Examples use GCC 12.2 assembly, show inlining vs call, and run in Compiler Explorer’s execute box. Slides include a tiny stack visualizer and practical tips for reproducing and comparing compilers.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57What is Compiler Restore
  3. 3:43Assembly
  4. 7:36Memory
  5. 11:14Address Memory
  6. 14:17Register Sizes
  7. 16:00Ins
  8. 17:35Arrays
  9. 23:05Conditionals
  10. 26:48Compare
  11. 29:26Loops
  12. 32:02Example
  13. 33:25Calling Convention
  14. 41:20Procedural Programming
  15. 48:35Optimization
  16. 50:59Implementation
  17. 56:53Assembly Documentation
  18. 58:48Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.