| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final AbstractSpecies | |
| pack-priv AbstractVector | |
| pack-priv final VectorShape | |
| pack-priv AbstractSpecies | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final LaneType | |
| pack-priv final Class | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final Class | |
| pack-priv AbstractShuffle | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final Function | |
| pack-priv final VectorShape | |
| pack-priv final Class |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractSpecies(VectorShape vectorShape, LaneType laneType, Class<? extends AbstractVector<E>> vectorType, Class<? extends AbstractMask<E>> maskType, Class<? extends AbstractShuffle<E>> shuffleType, Function<Object, ? extends AbstractVector<E>> vectorFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv AbstractSpecies | |
| pack-priv AbstractSpecies | |
| pack-priv static final IllegalArgumentException | |
| pack-priv final IllegalArgumentException | |
| pack-priv abstract AbstractVector | |
| pack-priv AbstractSpecies | |
| pack-priv Class | |
| public final <F> VectorSpecies | check(Class<F> elementType)
Implements jdk. Checks that this species has the given element type, and returns this species unchanged. |
| pack-priv AbstractSpecies | |
| pack-priv final <F> AbstractSpecies | |
| pack-priv static ClassCastException | checkFailed(Object what, Object required)
Helper for throwing CheckCastExceptions, used by the various Vector*.check(*) methods. |
| pack-priv void | |
| private IllegalArgumentException | |
| private static AbstractSpecies | |
| pack-priv AbstractVector | dummyVector()
Do not use a dummy except to call methods on it when you don't care about the lane values. |
| pack-priv final int | |
| public final int | elementSize()
Implements jdk. Returns the lane size, in bits, of vectors of this species. |
| public Class | elementType()
Implements jdk. Returns the primitive element type of vectors of this species. |
| public final boolean | equals(Object obj)
Overrides java. Implements jdk. Indicates whether this species is identical to some other object. |
| pack-priv static <E> AbstractSpecies | |
| pack-priv static AbstractSpecies | |
| pack-priv abstract Vector | |
| pack-priv Class | |
| public final int | Returns: a hash code value for this shuffleOverrides java. Implements jdk. Returns a hash code value for the shuffle, based on the lane source indexes and the vector species. |
| public final VectorMask | indexInRange(int offset, int limit)
Implements jdk. Returns a mask of this species where only
the lanes at index N such that the adjusted index
|
| public final VectorMask | indexInRange(long offset, long limit)
Implements jdk. Returns a mask of this species where only
the lanes at index N such that the adjusted index
|
| pack-priv final VectorShape | |
| pack-priv AbstractSpecies | |
| pack-priv abstract AbstractVector | |
| pack-priv Object | |
| public final VectorShuffle | iotaShuffle(int start, int step, boolean wrap)
Implements jdk. Creates a shuffle using source indexes set to sequential
values starting from |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv int | |
| public final int | length()
Implements jdk. Returns the number of lanes in a vector of this species. |
| public VectorMask | loadMask(boolean[] bits, int offset)
Implements jdk. Returns a mask of this species where lane elements are initialized from the given array at the given offset. |
| pack-priv abstract long | |
| public final int | loopBound(int length)
Implements jdk. Loop control function which returns the largest multiple of
|
| public final long | loopBound(long length)
Implements jdk. Loop control function which returns the largest multiple of
|
| private AbstractVector | |
| private AbstractShuffle | |
| pack-priv AbstractMask | |
| public final Class | maskType()
Implements jdk. Returns the vector mask type for this species. |
| pack-priv AbstractMask | |
| public int | partLimit(VectorSpecies<?> toSpecies, boolean lanewise)
Implements jdk. Given this species and a second one, reports the net
expansion or contraction of a (potentially) resizing
reinterpretation cast
or
|
| pack-priv abstract AbstractVector | |
| public final VectorShuffle | shuffleFromArray(int[] sourceIndexes, int offset)
Implements jdk. Creates a shuffle for this species from
an |
| public final VectorShuffle | shuffleFromOp(IntUnaryOperator fn)
Implements jdk. Creates a shuffle for this species from
the successive values of an operator applied to
the range |
| public final VectorShuffle | shuffleFromValues(int... sourceIndexes)
Implements jdk. Creates a shuffle for this species from a series of source indexes. |
| pack-priv final Class | |
| pack-priv AbstractShuffle | |
| public final String | toString()
Overrides java. Implements jdk. Returns a string of the form "Species[ETYPE, VLENGTH, SHAPE]",
where |
| public final int | vectorBitSize()
Implements jdk. Returns the total vector size, in bits, of any vector of this species. |
| public final int | vectorByteSize()
Implements jdk. Returns the total vector size, in bytes, of any vector of this species. |
| public final VectorShape | vectorShape()
Implements jdk. Returns the shape of vectors produced by this species. |
| public Class | vectorType()
Implements jdk. Returns the vector type of this species. |
| public final <F> VectorSpecies | withLanes(Class<F> newType)
Implements jdk. Finds a species with the given element type and the same shape as this species. |
| pack-priv final AbstractSpecies | |
| public final VectorSpecies | withShape(VectorShape newShape)
Implements jdk. Finds a species with the given shape and the same elementType as this species. |
| public abstract AbstractVector | zero()
Redeclares jdk. Returns a vector of this species
where all lane elements are set to
the default primitive value, |
| CACHES | back to summary |
|---|---|
| private static final AbstractSpecies<?>[][] CACHES
| |
| dummyVector | back to summary |
|---|---|
| pack-priv AbstractVector<E> dummyVector
| |
| indexShape | back to summary |
|---|---|
| pack-priv final VectorShape indexShape | |
| indexSpecies | back to summary |
|---|---|
| pack-priv AbstractSpecies<Integer> indexSpecies
| |
| laneCount | back to summary |
|---|---|
| pack-priv final int laneCount | |
| laneCountLog2P1 | back to summary |
|---|---|
| pack-priv final int laneCountLog2P1 | |
| laneType | back to summary |
|---|---|
| pack-priv final LaneType laneType | |
| maskType | back to summary |
|---|---|
| pack-priv final Class<? extends AbstractMask<E>> maskType | |
| maxScale | back to summary |
|---|---|
| pack-priv final int maxScale | |
| minScale | back to summary |
|---|---|
| pack-priv final int minScale | |
| shuffleType | back to summary |
|---|---|
| pack-priv final Class<? extends AbstractShuffle<E>> shuffleType | |
| swapBytesShuffle | back to summary |
|---|---|
| pack-priv AbstractShuffle<Byte> swapBytesShuffle
| |
| vectorBitSize | back to summary |
|---|---|
| pack-priv final int vectorBitSize | |
| vectorByteSize | back to summary |
|---|---|
| pack-priv final int vectorByteSize | |
| vectorFactory | back to summary |
|---|---|
| pack-priv final Function<Object, ? extends AbstractVector<E>> vectorFactory | |
| vectorShape | back to summary |
|---|---|
| pack-priv final VectorShape vectorShape | |
| vectorType | back to summary |
|---|---|
| pack-priv final Class<? extends AbstractVector<E>> vectorType | |
| AbstractSpecies | back to summary |
|---|---|
| pack-priv AbstractSpecies(VectorShape vectorShape, LaneType laneType, Class<? extends AbstractVector<E>> vectorType, Class<? extends AbstractMask<E>> maskType, Class<? extends AbstractShuffle<E>> shuffleType, Function<Object, ? extends AbstractVector<E>> vectorFactory) | |
| asFloating | back to summary |
|---|---|
pack-priv AbstractSpecies
| |
| asIntegral | back to summary |
|---|---|
pack-priv AbstractSpecies
| |
| badArrayBits | back to summary |
|---|---|
| pack-priv static final IllegalArgumentException badArrayBits(Object iv, boolean isInt, long cv) | |
| badElementBits | back to summary |
|---|---|
| pack-priv final IllegalArgumentException badElementBits(long iv, Object cv) | |
| broadcastBits | back to summary |
|---|---|
| pack-priv abstract AbstractVector | |
| byteSpecies | back to summary |
|---|---|
pack-priv AbstractSpecies
| |
| carrierType | back to summary |
|---|---|
pack-priv Class
| |
| check | back to summary |
|---|---|
| public final <F> VectorSpecies Implements jdk. Doc from jdk. Checks that this species has the given element type,
and returns this species unchanged.
The effect is similar to this pseudocode:
| |
| check | back to summary |
|---|---|
pack-priv AbstractSpecies
| |
| check0 | back to summary |
|---|---|
pack-priv final <F> AbstractSpecies
| |
| checkFailed | back to summary |
|---|---|
| pack-priv static ClassCastException checkFailed(Object what, Object required) Helper for throwing CheckCastExceptions, used by the various Vector*.check(*) methods. | |
| checkScale | back to summary |
|---|---|
pack-priv void checkScale(int scale)
| |
| checkScaleFailed | back to summary |
|---|---|
| private IllegalArgumentException checkScaleFailed(int scale) | |
| computeSpecies | back to summary |
|---|---|
| private static AbstractSpecies | |
| dummyVector | back to summary |
|---|---|
| pack-priv AbstractVector Do not use a dummy except to call methods on it when you don't care about the lane values. The main benefit of it is to populate the type profile, which then allows the JIT to derive constant values for dummy.species(), the current species, and then for all of its attributes: ETYPE, VLENGTH, VSHAPE, etc.
| |
| elementByteSize | back to summary |
|---|---|
pack-priv final int elementByteSize()
| |
| elementSize | back to summary |
|---|---|
| public final int elementSize() Implements jdk. Doc from jdk. Returns the lane size, in bits, of vectors of this species.
| |
| elementType | back to summary |
|---|---|
| public Class Implements jdk. Doc from jdk. Returns the primitive element type of vectors of this species.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object obj) Overrides java. Implements jdk. Doc from jdk. Indicates whether this species is identical to some other object. Two species are identical only if they have the same shape and same element type.
| |
| findSpecies | back to summary |
|---|---|
pack-priv static <E> AbstractSpecies
| |
| findSpecies | back to summary |
|---|---|
pack-priv static AbstractSpecies
| |
| fromIntValues | back to summary |
|---|---|
| pack-priv abstract Vector | |
| genericElementType | back to summary |
|---|---|
pack-priv Class
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Implements jdk. Returns a hash code value for the shuffle, based on the lane source indexes and the vector species.
| |
| indexInRange | back to summary |
|---|---|
| public final VectorMask Implements jdk. Doc from jdk. Returns a mask of this species where only
the lanes at index N such that the adjusted index
This method returns the value of the expression
| |
| indexInRange | back to summary |
|---|---|
| public final VectorMask Implements jdk. Doc from jdk. Returns a mask of this species where only
the lanes at index N such that the adjusted index
This method returns the value of the expression
| |
| indexShape | back to summary |
|---|---|
pack-priv final VectorShape indexShape()
| |
| indexSpecies | back to summary |
|---|---|
pack-priv AbstractSpecies
| |
| iota | back to summary |
|---|---|
| pack-priv abstract AbstractVector | |
| iotaArray | back to summary |
|---|---|
| pack-priv Object iotaArray() | |
| iotaShuffle | back to summary |
|---|---|
| public final VectorShuffle Implements jdk. Doc from jdk. Creates a shuffle using source indexes set to sequential
values starting from
This method returns the value of the expression
If
| |
| laneCount | back to summary |
|---|---|
pack-priv final int laneCount()
| |
| laneCountLog2 | back to summary |
|---|---|
pack-priv final int laneCountLog2()
| |
| laneTypeOrdinal | back to summary |
|---|---|
pack-priv int laneTypeOrdinal()
| |
| length | back to summary |
|---|---|
| public final int length() Implements jdk. Doc from jdk. Returns the number of lanes in a vector of this species.
| |
| loadMask | back to summary |
|---|---|
| public VectorMask Implements jdk. Doc from jdk. Returns a mask of this species
where lane elements are initialized
from the given array at the given offset.
Equivalent to
| |
| longToElementBits | back to summary |
|---|---|
| pack-priv abstract long longToElementBits(long e) | |
| loopBound | back to summary |
|---|---|
| public final int loopBound(int length) Implements jdk. Doc from jdk. Loop control function which returns the largest multiple of
Specifically, this method computes
| |
| loopBound | back to summary |
|---|---|
| public final long loopBound(long length) Implements jdk. Doc from jdk. Loop control function which returns the largest multiple of
Specifically, this method computes
| |
| makeDummyVector | back to summary |
|---|---|
| private AbstractVector | |
| makeSwapBytesShuffle | back to summary |
|---|---|
| private AbstractShuffle | |
| maskFactory | back to summary |
|---|---|
| pack-priv AbstractMask Build a mask by directly calling its constructor. It is an error if the array is aliased elsewhere.
| |
| maskType | back to summary |
|---|---|
| public final Class Implements jdk. Doc from jdk. Returns the vector mask type for this species.
| |
| opm | back to summary |
|---|---|
| pack-priv AbstractMask | |
| partLimit | back to summary |
|---|---|
| public int partLimit(VectorSpecies<?> toSpecies, boolean lanewise) Implements jdk. Doc from jdk. Given this species and a second one, reports the net
expansion or contraction of a (potentially) resizing
reinterpretation cast
or
| |
| rvOp | back to summary |
|---|---|
| pack-priv abstract AbstractVector | |
| shuffleFromArray | back to summary |
|---|---|
| public final VectorShuffle Implements jdk. Doc from jdk. Creates a shuffle for this species from
an For each shuffle lane, where
| |
| shuffleFromOp | back to summary |
|---|---|
| public final VectorShuffle Implements jdk. Doc from jdk. Creates a shuffle for this species from
the successive values of an operator applied to
the range For each shuffle lane, where Care should be taken to ensure This method behaves as if a shuffle is created from an array of mapped indexes as follows:
| |
| shuffleFromValues | back to summary |
|---|---|
| public final VectorShuffle Implements jdk. Doc from jdk. Creates a shuffle for this species from a series of source indexes. For each shuffle lane, where
| |
| shuffleType | back to summary |
|---|---|
pack-priv final Class
| |
| swapBytesShuffle | back to summary |
|---|---|
pack-priv AbstractShuffle
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Implements jdk. Doc from jdk. Returns a string of the form "Species[ETYPE, VLENGTH, SHAPE]",
where
| |
| vectorBitSize | back to summary |
|---|---|
| public final int vectorBitSize() Implements jdk. Doc from jdk. Returns the total vector size, in bits, of any vector
of this species.
This is the same value as
| |
| vectorByteSize | back to summary |
|---|---|
| public final int vectorByteSize() Implements jdk. Doc from jdk. Returns the total vector size, in bytes, of any vector
of this species.
This is the same value as
| |
| vectorShape | back to summary |
|---|---|
| public final VectorShape vectorShape() Implements jdk. Doc from jdk. Returns the shape of vectors produced by this species.
| |
| vectorType | back to summary |
|---|---|
| public Class Implements jdk. Doc from jdk. Returns the vector type of this species. A vector is of this species if and only if it is of the corresponding vector type.
| |
| withLanes | back to summary |
|---|---|
| public final <F> VectorSpecies Implements jdk. Doc from jdk. Finds a species with the given element type and the
same shape as this species.
Returns the same value as
| |
| withLanes | back to summary |
|---|---|
pack-priv final AbstractSpecies
| |
| withShape | back to summary |
|---|---|
| public final VectorSpecies Implements jdk. Doc from jdk. Finds a species with the given shape and the same
elementType as this species.
Returns the same value as
| |
| zero | back to summary |
|---|---|
| public abstract AbstractVector Redeclares jdk. Doc from jdk. Returns a vector of this species
where all lane elements are set to
the default primitive value, | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| apply | back to summary |
|---|---|
| public boolean apply(int i) | |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| apply | back to summary |
|---|---|
| public long apply(int i) | |