diff --git a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Vector.java b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Vector.java index ccc9fcc1748..8a67a173237 100644 --- a/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Vector.java +++ b/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Vector.java @@ -1039,6 +1039,12 @@ * can encode a mathematical permutation as well as many other * patterns of data movement. * + * <li>The {@link #compress(VectorMask)} and {@link #expand(VectorMask)} + * methods, which select up to {@code VLENGTH} lanes from an + * input vector, and assemble them in lane order. The selection of lanes + * is controlled by a {@code VectorMask}, with set lane elements mapping, by + * compression or expansion in lane order, source lanes to destination lanes. + * * </ul> * <p> Some vector operations are not lane-wise, but rather move data * across lane boundaries. Such operations are typically rare in SIMD