~/talk

What About the Integer Numbers?

Talkat ML 2022 · on Thursday, 2022-09-15· [compilers-and-language-design]
links:none on file
slides:none on file

Argues for fast hardware support for proper integers and presents three novel tricks for tagged integers, including the sofa technique that performs a small-integer add with a single branch and the Reno technique that reuses high-bit pointer ranges. Implements them in Koka and compares on ARM64/x64: microbenchmarks sometimes tie, but Pythagorean-triples runs show sofa about 12% faster than older schemes. Concludes these software tricks help but current ISAs poorly support tagged arithmetic and proposes simple ISA extensions.

AI-written summary · about

  1. 0:00Integer numbers in programming
  2. 1:04Real integer support lacking
  3. 2:31Fast-path techniques for integers
  4. 3:54Tagging and overflow checks
  5. 6:03Optimizing integer addition
  6. 8:17Sofa technique for overflow
  7. 10:04Reno technique and tricks
  8. 12:12Benchmarking techniques
  9. 13:36Performance differences
  10. 14:58Hardware for faster integers
  11. 15:40Future directions
  12. 16:02Q&A
~/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.