~/talk

Auto-Vectorization in HotSpot

links:none on file
slides:none on file

C2 uses the SuperWord algorithm to pack isomorphic, unrolled iterations into SIMD vectors and builds a dependency graph that separates data and memory edges so loads can be reordered before stores. It adds runtime aliasing checks for MemorySegment and speculative compilation with deopt/recompile when overlaps occur. Reduction handling moves partial sums out of the loop or uses recursive folding; some floating reductions still fall back to scalar for correctness. Alignment and cache-line splits cause real 20–50% regressions; work continues on cost modeling, if-conversion, and broader pointer support.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Why vectorize
  3. 3:57AutoVectorization
  4. 11:50Reductions
  5. 18:53pointers
  6. 26:16alignment
  7. 32:32future
  8. 34:51outro
~/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.