~/lightning

Lightning Talk: How to Leverage SIMD Intrinsics for Massive Slowdowns

Lightningat C++Now 2023 · 2023-05-07..05-12· [c-and-cpp]
links:none on file
slides:none on file

Naively replacing an elementwise loop with AVX-512 intrinsics (load eight, add eight, store eight) can be 5× slower because the compiler’s auto-vectorizer emits a reordered, dependency-free instruction pipeline the hand-coded version lacks. Matching or exceeding compiler code requires manual unrolling and dependency elimination inside the intrinsics and careful scheduling; with enough painstaking work performance can sometimes recover and even reach up to 30× versus the naïve scalar baseline, but only after significant engineering effort.

AI-written summary · about

~/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.