APIdia Launch Partner
Top Inners Fields Constructors Methods
jdk.incubator.vector

pack-priv final Class ShortVector256

extends ShortVector
Class Inheritance
Annotations
@SuppressWarnings:cast
@ValueBased
Imports
java.lang.foreign.MemorySegment, java.nio.ByteOrder, java.util.Arrays, .Objects, java.util.function.IntUnaryOperator, jdk.internal.ValueBased, jdk.internal.vm.annotation.ForceInline, jdk.internal.vm.vector.VectorSupport

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv static final Class<Short>
pack-priv static final Class<Short>
pack-priv static final ShortVector256
pack-priv static final Class<ShortVector256>
pack-priv static final int
pack-priv static final VectorShape
pack-priv static final int
pack-priv static final ShortVector.ShortSpecies
pack-priv static final ShortVector256
Inherited from jdk.incubator.vector.ShortVector:
ARRAY_BASEARRAY_CHAR_BASEARRAY_CHAR_SHIFTARRAY_SHIFTELEMENT_LAYOUTFORBID_OPCODE_KINDLANE_TYPE_ORDINALLANEBITS_TYPE_ORDINALSPECIES_128SPECIES_256SPECIES_512SPECIES_64SPECIES_MAXSPECIES_PREFERRED

Constructor Summary

AccessConstructor and Description
pack-priv
ShortVector256(short[] v)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public final ShortVector256
addIndex(int scale)

Implements abstract jdk.incubator.vector.ShortVector.addIndex.

Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.

pack-priv final ByteVector256
pack-priv final AbstractVector<?>
public final int
bitSize()

Implements abstract jdk.incubator.vector.Vector.bitSize.

Returns the total size, in bits, of this vector.

pack-priv final <F> VectorShuffle<F>
public ShortVector256
blend(Vector<Short> v, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.blend.

Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.

pack-priv final ShortVector256
pack-priv final ShortVector256
public final ShortVector256
broadcast(short e)

Implements abstract jdk.incubator.vector.ShortVector.broadcast.

Returns a vector of the same species as this one where all lane elements are set to the primitive value e.

public final ShortVector256
broadcast(long e)

Implements abstract jdk.incubator.vector.ShortVector.broadcast.

Returns a vector of the same species as this one where all lane elements are set to the primitive value e.

public final int
byteSize()

Implements abstract jdk.incubator.vector.Vector.byteSize.

Returns the total size, in bytes, of this vector.

pack-priv final Class<Short>
public final ShortVector256.ShortMask256
compare(VectorOperators.Comparison op, Vector<Short> v)

Implements abstract jdk.incubator.vector.ShortVector.compare.

Tests this vector by comparing it with another input vector, according to the given comparison operation.

public final ShortVector256.ShortMask256
compare(VectorOperators.Comparison op, short s)

Implements abstract jdk.incubator.vector.ShortVector.compare.

Tests this vector by comparing it with an input scalar, according to the given comparison operation.

public final ShortVector256.ShortMask256
compare(VectorOperators.Comparison op, long s)

Implements abstract jdk.incubator.vector.ShortVector.compare.

Tests this vector by comparing it with an input scalar, according to the given comparison operation.

public final ShortVector256.ShortMask256
compare(VectorOperators.Comparison op, Vector<Short> v, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.Vector.compare.

Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.

public ShortVector256
compress(VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.compress.

Compresses the lane elements of this vector selecting lanes under the control of a specific mask.

public final <F> Vector<F>
convertShape(VectorOperators.Conversion<Short, F> conv, VectorSpecies<F> rsp, int part)

Implements abstract jdk.incubator.vector.AbstractVector.convertShape.

Converts this vector to a vector of the given species, shape and element type, converting lane values from the current ETYPE to a new lane type (called FTYPE here) according to the indicated conversion.

public final int
elementSize()

Implements abstract jdk.incubator.vector.Vector.elementSize.

Returns the size of each lane, in bits, of this vector.

public final Class<Short>
elementType()

Implements abstract jdk.incubator.vector.Vector.elementType.

Returns the primitive element type (ETYPE) of this vector.

public ShortVector256
expand(VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.expand.

Expands the lane elements of this vector under the control of a specific mask.

pack-priv final ShortVector
fromArray0(short[] a, int offset)

Implements abstract jdk.incubator.vector.ShortVector.fromArray0.

pack-priv final ShortVector
fromArray0(short[] a, int offset, VectorMask<Short> m, int offsetInRange)

Implements abstract jdk.incubator.vector.ShortVector.fromArray0.

pack-priv final ShortVector
fromArray0(short[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.fromArray0.

pack-priv final ShortVector
fromCharArray0(char[] a, int offset)

Implements abstract jdk.incubator.vector.ShortVector.fromCharArray0.

pack-priv final ShortVector
fromCharArray0(char[] a, int offset, VectorMask<Short> m, int offsetInRange)

Implements abstract jdk.incubator.vector.ShortVector.fromCharArray0.

pack-priv final ShortVector
pack-priv final ShortVector
fromMemorySegment0(MemorySegment ms, long offset, VectorMask<Short> m, int offsetInRange)

Implements abstract jdk.incubator.vector.ShortVector.fromMemorySegment0.

pack-priv final void
intoArray0(short[] a, int offset)

Implements abstract jdk.incubator.vector.ShortVector.intoArray0.

pack-priv final void
intoArray0(short[] a, int offset, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.intoArray0.

pack-priv final void
pack-priv final void
pack-priv ShortVector256.ShortShuffle256
pack-priv ShortVector256.ShortShuffle256
iotaShuffle(int start, int step, boolean wrap)

Implements abstract jdk.incubator.vector.AbstractVector.iotaShuffle.

public short
lane(int i)

Implements abstract jdk.incubator.vector.ShortVector.lane.

Gets the lane element at lane index i

public short
laneHelper(int i)

pack-priv final int
public ShortVector256
lanewise(VectorOperators.Unary op)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Operates on the lane values of this vector.

public ShortVector256
lanewise(VectorOperators.Unary op, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Operates on the lane values of this vector, with selection of lane elements controlled by a mask.

public ShortVector256
lanewise(VectorOperators.Binary op, Vector<Short> v)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Combines the corresponding lane values of this vector with those of a second input vector.

public ShortVector256
lanewise(VectorOperators.Binary op, Vector<Short> v, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.

public final ShortVector256
lanewise(VectorOperators.Ternary op, Vector<Short> v1, Vector<Short> v2)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.

public final ShortVector256
lanewise(VectorOperators.Ternary op, Vector<Short> v1, Vector<Short> v2, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.lanewise.

Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.

pack-priv ShortVector256
pack-priv ShortVector256
public final int
length()

Implements abstract jdk.incubator.vector.Vector.length.

Returns the lane count, or vector length (VLENGTH).

pack-priv ShortVector256.ShortMask256
public ShortVector256
rearrange(VectorShuffle<Short> s)

Implements abstract jdk.incubator.vector.ShortVector.rearrange.

Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.

public ShortVector256
rearrange(VectorShuffle<Short> shuffle, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.rearrange.

Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.

public ShortVector256
rearrange(VectorShuffle<Short> s, Vector<Short> v)

Implements abstract jdk.incubator.vector.ShortVector.rearrange.

Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.

public final short
reduceLanes(VectorOperators.Associative op)

Implements abstract jdk.incubator.vector.ShortVector.reduceLanes.

Returns a value accumulated from all the lanes of this vector.

public final short
reduceLanes(VectorOperators.Associative op, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.reduceLanes.

Returns a value accumulated from selected lanes of this vector, controlled by a mask.

public final long
reduceLanesToLong(VectorOperators.Associative op)

Implements abstract jdk.incubator.vector.ShortVector.reduceLanesToLong.

Returns a value accumulated from all the lanes of this vector.

public final long
reduceLanesToLong(VectorOperators.Associative op, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.reduceLanesToLong.

Returns a value accumulated from selected lanes of this vector, controlled by a mask.

public final <F> Vector<F>
reinterpretShape(VectorSpecies<F> toSpecies, int part)

Implements abstract jdk.incubator.vector.Vector.reinterpretShape.

Transforms this vector to a vector of the given species of element type F, reinterpreting the bytes of this vector without performing any value conversions.

pack-priv final short
public ShortVector256
selectFrom(Vector<Short> v)

Implements abstract jdk.incubator.vector.ShortVector.selectFrom.

Using index values stored in the lanes of this vector, assemble values stored in second vector v.

public ShortVector256
selectFrom(Vector<Short> v, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.selectFrom.

Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.

public ShortVector256
selectFrom(Vector<Short> v1, Vector<Short> v2)

Implements abstract jdk.incubator.vector.ShortVector.selectFrom.

Using values stored in the lanes of this vector, assemble values stored in the second vector v1 and third vector v2.

public final VectorShape
shape()

Implements abstract jdk.incubator.vector.Vector.shape.

Returns the shape of this vector.

pack-priv ShortVector256.ShortShuffle256
pack-priv ShortVector256.ShortShuffle256
public ShortVector256
slice(int origin, Vector<Short> v)

Implements abstract jdk.incubator.vector.ShortVector.slice.

Slices a segment of adjacent lanes, starting at a given origin lane in the current vector, and continuing (as needed) into an immediately following vector.

public ShortVector256
slice(int origin)

Implements abstract jdk.incubator.vector.ShortVector.slice.

Slices a segment of adjacent lanes, starting at a given origin lane in the current vector.

public final ShortVector256.ShortMask256
test(VectorOperators.Test op)

Implements abstract jdk.incubator.vector.ShortVector.test.

Tests the lanes of this vector according to the given operation.

public final ShortVector256.ShortMask256
test(VectorOperators.Test op, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.test.

Test selected lanes of this vector, according to the given operation.

pack-priv final ShortVector256
pack-priv final ShortVector256
public final ShortVector256.ShortShuffle256
toShuffle()

Implements abstract jdk.incubator.vector.Vector.toShuffle.

Converts this vector into a shuffle, converting the lane values to int and regarding them as source indexes.

public ShortVector256
unslice(int origin, Vector<Short> w, int part)

Implements abstract jdk.incubator.vector.ShortVector.unslice.

Reverses a slice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequent slice() operation.

public ShortVector256
unslice(int origin, Vector<Short> w, int part, VectorMask<Short> m)

Implements abstract jdk.incubator.vector.ShortVector.unslice.

Reverses a slice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequent slice() operation.

public ShortVector256
unslice(int origin)

Implements abstract jdk.incubator.vector.ShortVector.unslice.

Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.

pack-priv final ShortVector256
pack-priv final ShortVector256
pack-priv final short[]
pack-priv final ShortVector256
vectorFactory(short[] vec)

Implements abstract jdk.incubator.vector.ShortVector.vectorFactory.

Build a vector directly using my own constructor.

public final ShortVector.ShortSpecies
public ShortVector256
withLane(int i, short e)

Implements abstract jdk.incubator.vector.ShortVector.withLane.

Replaces the lane element of this vector at lane index i with value e.

public ShortVector256
withLaneHelper(int i, short e)

Inherited from jdk.incubator.vector.ShortVector:
absaddaddaddaddaddIndexTemplateandandarrayAddressbitCountbitsToShuffle0bitwiseBlendbitwiseBlendbitwiseBlendbitwiseBlendblendblendblendTemplatebOpTemplatebOpTemplatebroadcastbroadcastbroadcastTemplatebroadcastTemplatebTestbyteArrayAddresscharArrayAddresscomparecomparecompareTemplatecompareTemplatecompareTemplatecompareTemplatecompressHelpercompressTemplatedivdivdivdiveqeqequalsexpandHelperexpandTemplatefromArrayfromArrayfromArrayfromArrayfromArray0TemplatefromArray0TemplatefromArray0TemplatefromBitsfromCharArrayfromCharArrayfromCharArrayfromCharArrayfromCharArray0TemplatefromCharArray0TemplatefromMemorySegmentfromMemorySegmentfromMemorySegment0TemplatefromMemorySegment0TemplatehashCodeintoArrayintoArrayintoArrayintoArrayintoArray0TemplateintoArray0TemplateintoCharArrayintoCharArrayintoCharArrayintoCharArrayintoCharArray0TemplateintoMemorySegmentintoMemorySegmentintoMemorySegment0intoMemorySegment0TemplatelanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiseShiftTemplatelanewiseShiftTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplateldLongOpldLongOpldOpldOpltltmaskFactorymaxmaxmaybeSwapmemorySegmentGetmemorySegmentSetminminmulmulmulmulnegnotnumberOfLeadingZerosnumberOfTrailingZerosopCodeopCodeopKindororrearrangeTemplaterearrangeTemplaterearrangeTemplatereduceLanesTemplatereduceLanesTemplatereinterpretAsBytesreverserOpTemplaterOpTemplaterotateLeftrotateRightselectFromTemplateselectFromTemplateselectFromTemplateselectFromTwoVectorHelperslicesliceTemplatesliceTemplatespeciesstLongOpstLongOpstOpstOpsubsubsubsubswapIfNeededtestTemplatetestTemplatetoArraytoBitstoDoubleArraytoIntArraytoLongArraytOpTemplatetOpTemplatetoShuffletoStringunsliceTemplateunsliceTemplateunsliceTemplateuOpTemplateuOpTemplateviewAsFloatingLanesviewAsIntegralLanesvOpvOpzero