~/talk

Associative Iteration - Shaping Ancient Mathematical Knowledge Into Powerful Bit-fiddling Techniques

Talkat CppCon 2024 · on Monday, 2024-09-16· at 16:45· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Claims associative repetition reduces certain monoid loops from O(log(N)) vs O(N) by using bit-count-driven composition, provides a templated function that instantiates lanewise operations for the SW library and implements elementwise parallel multiplication for arbitrary widths, and demonstrates the compiler emitting compact LEA/addition-chain assembly rather than naive loops. The technique uses the most significant bit regressive wave and lane masks, shows concrete asm and performance wins, and the implementation works as advertised.

AI-written summary · about

  1. 0:00Welcome
  2. 1:07Associative iteration
  3. 6:09Associativity in algorithms
  4. 8:58Egyptian multiplication
  5. 13:00Generalizing to monoids
  6. 17:57SAR SIMD library
  7. 20:50Parallel multiplication
  8. 23:18Parallel exponentiation
  9. 26:41Compiler optimizations
  10. 29:55Performance benefits
  11. 31:20Future applications
  12. 32:23Q&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.