~/talk

The Vector in Your CPU: Exploiting SIMD for Superscalar Performance

Talkat DotNext 2015 Moscow · on Friday, 2015-12-11· [dotnet]
slides:none on file

Claims that single threaded .NET code can get 4x–8x speedups by emitting SIMD instructions at runtime using System.Numerics.Vectors and the RyuJIT in .NET 4.6 on x64. Demonstrates array add and dot product rewrites that replace scalar ops with vector loads, multiplies and stores, shows a refactor for min/max using vector compare and conditional select, and notes limits from instruction latency, missing intrinsics, and memory bandwidth and CPU feature variability.

AI-written summary · about

  1. 0:00Introduction to SIMD vectorization
  2. 1:54Why focus on single-core performance
  3. 3:18Vector instructions vs parallelization
  4. 5:03How vector instructions work
  5. 8:20Evolution of SIMD instruction sets
  6. 11:13Using Intel Intrinsics Guide
  7. 12:16Latency and throughput explained
  8. 14:45SIMD in .NET with System.Numerics
  9. 18:02Limitations and compatibility
  10. 19:08Simple vectorization example
  11. 23:44Vectorizing dot product algorithm
  12. 28:20Profiling vectorized code
  13. 29:46Vectorizing algorithms with dependencies
  14. 36:13Closing thoughts on vectorization
  15. 39:02Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.