Following "indexVector" can be implemented with vector instructions on most of the platforms.
Adding hotspot intrinsifaction implementation benefits some APIs like "VectorMask.indexInRange".
// FIXME @IntrinsicCandidate
public static
<V extends Vector<E>,
E,
S extends VectorSpecies<E>>
V indexVector(Class<? extends V> vClass, Class<E> eClass,
int length,
V v, int step, S s,
IndexOperation<V, S> defaultImpl) {
assert isNonCapturingLambda(defaultImpl) : defaultImpl;
return defaultImpl.index(v, step, s);
}
Adding hotspot intrinsifaction implementation benefits some APIs like "VectorMask.indexInRange".
// FIXME @IntrinsicCandidate
public static
<V extends Vector<E>,
E,
S extends VectorSpecies<E>>
V indexVector(Class<? extends V> vClass, Class<E> eClass,
int length,
V v, int step, S s,
IndexOperation<V, S> defaultImpl) {
assert isNonCapturingLambda(defaultImpl) : defaultImpl;
return defaultImpl.index(v, step, s);
}
- relates to
-
JDK-8295762 [Vector API] Update generate_iota_indices for x86_32 after JDK-8293409
-
- Resolved
-
-
SKARA-1640 Bot failed to update and resolve the JBS issue for commit integrated into jdk repo
-
- Resolved
-
-
JDK-8295662 jdk/incubator/vector tests fail "assert(VM_Version::supports_avx512vlbw()) failed"
-
- Closed
-