Java Vector API
summary
Java Vector API builds a portable SIMD surface in OpenJDK Project Panama with an x86_64 backend that emits xmm/ymm/zmm code and keeps vectors in registers; generated code shows 256‑bit and 512‑bit zmm codepaths and up to 12–13× speedup on a sepia filter and 4–5× for matrix/dot kernels, using a backend with about 15 parameterized intrinsics to avoid explosion. API is candidate-stage, implements arithmetic/masks/shuffles, still needs alignment, bounds and codegen tuning before wide release.
AI-written summary · about
chapters (6)
- 0:00Start
- 2:46Vector API Methods
- 3:44Simple Example Walkthrough
- 26:15Sepia filter: Generated Code
- 29:23Dot Product: Performance
- 30:32Matrix Multiplication: Performance
related talks
44mVector API for Java
01h 02mVectors and the Numerics on the JVM
44mHotspot JVM Auto Vectorization and Vector API
57mJava Enable Preview: Vector API
48mSIMD Parallel Programming with the Vector API
12m#BuildPropulsionLab at #DevoxxUK: @jbaruch with @speakjava
56mUsing vectors in Java [...]
54mBeyond the Vector API - A Quest for a Lower Level API
