~/talk

xsimd: from xtensor to firefox

Talkat PyData Paris 2024 · 2024-09-25..09-26· [rust]
links:none on file
slides:none on file

xsimd provides a portable C++ SIMD abstraction that compiles to real ISA intrinsics (Intel, ARM, RISC‑V, WebAssembly) with both static and dynamic dispatch across ISAs. The codebase is a 25,000‑line header‑only library; a Firefox image/translation kernel moves from hand assembly to xsimd and produces the same assembly output, and adding ARM neon support takes nine lines of instantiation. Experiments use clang on Godbolt and downstream adopters include xtensor, Pythran, Apache Arrow and Firefox.

AI-written summary · about

  1. 0:00Small data vectorization intro
  2. 1:07Vector instructions on CPUs
  3. 4:44Intrinsics to portable SIMD
  4. 7:57Godbolt code generation
  5. 10:25What is xsimd
  6. 13:40SIMD libraries overview
  7. 14:42Generic SIMD function in xsimd
  8. 16:48New instruction sets support
  9. 17:51Static and dynamic dispatch
  10. 18:15Where xsimd is used
  11. 20:07Firefox code migration
  12. 22:35Firefox performance gains
  13. 23:59Gemmlowp matrix multiply
  14. 25:45Acknowledgments and resources
  15. 26:05Q&A: Dynamic dispatch limits
  16. 29:00Q&A: Accuracy guarantees
  17. 31:13Q&A: BLAS library interest
~/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.