mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-10 21:50:07 +00:00
8383830: Vector API: internal AbstractVector helper methods exposed in public Javadoc
Reviewed-by: psandoz
This commit is contained in:
parent
8480d12c6f
commit
dab7414e8d
@ -184,7 +184,7 @@ abstract sealed class AbstractVector<E> extends Vector<E>
|
||||
}
|
||||
|
||||
@ForceInline
|
||||
protected static <T> VectorShuffle<T> normalizeSubLanesForSpecies(AbstractSpecies<T> targetSpecies, int subLanesPerSrc) {
|
||||
static <T> VectorShuffle<T> normalizeSubLanesForSpecies(AbstractSpecies<T> targetSpecies, int subLanesPerSrc) {
|
||||
final int lanes = targetSpecies.laneCount();
|
||||
|
||||
if ((lanes % subLanesPerSrc) != 0) {
|
||||
@ -205,7 +205,7 @@ abstract sealed class AbstractVector<E> extends Vector<E>
|
||||
}
|
||||
|
||||
@ForceInline
|
||||
protected final int subLanesToSwap(AbstractSpecies<?> srcSpecies) {
|
||||
final int subLanesToSwap(AbstractSpecies<?> srcSpecies) {
|
||||
if (java.nio.ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user