~/talk

You Won’t Believe This One Weird CPU Instruction!

Talkat !!Con 2019 · 2019-06-01..06-03· [machine-learning, web-performance]
slides:none on file

Popcnt counts set bits and ends up as the core primitive across surprising places: compute Hamming weight and Hamming distance with XOR + popcnt to measure errors, design codes with at least a three-bit distance for single-bit correction, accelerate binary convolutional neural nets with XNOR + popcnt for matrix multiplies on phones and routers, represent chess bitboards and molecular fingerprints compactly, and enable succinct rank/select structures. Historical note: CDC 6000 uses 60-bit words and compilers (GCC 9.1, clang 3.7) auto-replace naive implementations.

AI-written summary · about

  1. 0:00Intro
  2. 0:18What is PopCon
  3. 0:42Is it useful
  4. 1:02The NSA instruction
  5. 1:53Why would NSA need this instruction
  6. 2:27The conspiracy theory
  7. 2:56Error correction
  8. 3:25Data comparison
  9. 3:38Error recovery
  10. 3:57Binary convolutional
  11. 4:11Whats convolutional
  12. 4:23Why convolutional
  13. 4:56Matrix multiplication
  14. 5:17Bitboard representation
  15. 5:34Molecular fingerprinting
  16. 5:46Hash array map trees
  17. 6:16Data structures
  18. 6:44Compiler Explorer
  19. 7:24Outro
~/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.