--- old/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShuffle.java 2019-04-19 11:40:16.293254800 -0700 +++ new/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShuffle.java 2019-04-19 11:40:15.804356100 -0700 @@ -130,6 +130,43 @@ } /** + * Returns a shuffle with lane elements set to sequential {@code int} values starting from {@code start}. + *
+ * This method behaves as if a shuffle is created from an identity + * index mapping function as follows: + *
{@code + * return VectorShuffle.shuffle(i -> i + start); + * }+ * + * @param species shuffle species + * @param start starting value of sequence + * @return a shuffle of lane indexes + */ + @ForceInline + public static
+ * This method behaves as if a shuffle is created from an identity + * index mapping function as follows: + *
{@code + * return VectorShuffle.shuffle(i -> (i + start) & (species.length() - 1)); + * }+ * + * @param species shuffle species + * @param start starting value of sequence + * @return a shuffle of lane indexes + */ + @ForceInline + public static
@@ -160,14 +197,14 @@
*
* @param species shuffle species
* @param ixs the {@code int} array
- * @param i the offset into the array
+ * @param offset the offset into the array
* @return a shuffle loaded from the {@code int} array
- * @throws IndexOutOfBoundsException if {@code i < 0}, or
- * {@code i > a.length - species.length()}
+ * @throws IndexOutOfBoundsException if {@code offset < 0}, or
+ * {@code offset > a.length - species.length()}
*/
@ForceInline
- public static