~/talk

x86 Internals for Fun & Profit

slides:none on file

Breaks down how x86 maps C/assembly into micro‑ops, showing that branch prediction and the perf measurements matter: a Python branch-heavy loop runs ~102 ns per element on random data and ~94 ns when sorted (about an 8% speedup) because of better prediction. Describes a 1500-entry micro-op cache that short‑circuits mispredicts, register renaming into 100+ physical registers, six execution ports (three ALUs, two loads, one store), and very expensive divides (dozens to ~80 cycles).

AI-written summary · about

  1. 0:00Start
  2. 6:26ASM overview
  3. 9:01ASM example
  4. 11:27Trip through the Intel pipeline
  5. 19:22Sandy Bridge Branch Prediction
  6. 21:20Does it matter?
  7. 32:44Decode example
  8. 35:21Decoder
  9. 37:28Renaming (example)
  10. 44:12Reservation Station
  11. 44:42Execution!
  12. 49:17SRAM vs DRAM
  13. 51:41Reorder Buffer Write
~/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.