~/talk

.NET Intrinsics in CoreCLR 3.0

Talkat Dotnetos Conference 2019 · 2019-10-10..10-11· [web-performance]
links:none on file
slides:none on file

Demonstrates how .NET Core 3.0 CPU intrinsics rewrite the quicksort partition into an 8‑way branchless block using Vector256 loads/stores, compare, movemask/popcnt/permute and a 256‑entry permutation table; inner loop uses unsafe pointers, 64 bytes of stack slack, and no branches per vectorized chunk. Benchmarks show roughly 2.7× speed at 1M ints versus Array.Sort (C++ implementation) as a working proof of concept, with further improvements still possible.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:54CPU branch predictability
  3. 6:01Introduction to intrinsics
  4. 9:05Quicksort algorithm overview
  5. 18:31Vectorized instruction set
  6. 28:55Vectorized partition design
  7. 37:26Implementation and results
~/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.