~/talk

Beating Hand Tuned Assembly in Compiled Languages

Talkat Philly ETE 2015 · 2015-04-07..04-08· [compilers-and-language-design]
links:none on file
slides:none on file

Claims a practical 20x win over hand-tuned assembly for real-world inputs by generating 85,000 lines of generated C++ from four lines of algorithmic code, using register-tiling that reduces memory accesses and hardware counter-guided tuning. Method increases arithmetic but cuts cache/TLB loads, yields up to ~7x speedups over GMP on key kernels, multiplies with algorithmic gains so overall runtimes shrink (parity with assembly only around degree ~10,000). Work takes ~18 months and produces reproducible auto-generated code and three world records.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:38What is multi-precision arithmetic
  3. 14:18GMP library and its optimizations
  4. 20:38Problem with single-operation focus
  5. 23:53Root isolation algorithm overview
  6. 30:37Memory access and tiling strategy
  7. 37:17Cache tiling results and limitations
  8. 39:47Register tiling implementation
  9. 45:46Performance speedup with register tiles
  10. 51:04Comparing with hand-tuned assembly
  11. 53:13Full recursion tree evaluation
  12. 57:05Benchmarking and final results
  13. 59:09Q&A and closing
~/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.