Top Inners Fields Constructors Methods
jdk.incubator.vector

pack-priv final Class Byte512Vector

extends ByteVector
Class Inheritance
Annotations
@SuppressWarnings:cast
Imports
java.lang.foreign.MemorySegment, java.util.Arrays, .Objects, java.util.function.IntUnaryOperator, 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<Byte>
pack-priv static final Byte512Vector
pack-priv static final Class<Byte512Vector>
pack-priv static final int
pack-priv static final VectorShape
pack-priv static final int
pack-priv static final ByteVector.ByteSpecies
pack-priv static final Byte512Vector
Inherited from jdk.incubator.vector.ByteVector:
ARRAY_BASEARRAY_BOOLEAN_BASEARRAY_BOOLEAN_SHIFTARRAY_SHIFTELEMENT_LAYOUTFORBID_OPCODE_KINDSPECIES_128SPECIES_256SPECIES_512SPECIES_64SPECIES_MAXSPECIES_PREFERRED

Constructor Summary

AccessConstructor and Description
pack-priv
Byte512Vector(byte[] v)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Byte512Vector
addIndex(int
the number to multiply by each lane index N, typically 1
scale
)

Implements abstract jdk.incubator.vector.ByteVector.addIndex.

Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.
pack-priv final Byte512Vector
pack-priv final AbstractVector<?>
public final int
bitSize()

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

Returns the total size, in bits, of this vector.
public Byte512Vector
blend(Vector<Byte>
the second input vector, containing replacement lane values
v
,
VectorMask<Byte>
the mask controlling lane selection from the second input vector
m
)

Implements abstract jdk.incubator.vector.ByteVector.blend.

Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.
pack-priv final Byte512Vector
pack-priv final Byte512Vector
public final Byte512Vector
broadcast(byte
the value to broadcast
e
)

Implements abstract jdk.incubator.vector.ByteVector.broadcast.

Returns a vector of the same species as this one where all lane elements are set to the primitive value e.
public final Byte512Vector
broadcast(long
the value to broadcast
e
)

Implements abstract jdk.incubator.vector.ByteVector.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.
public final Byte512Vector.Byte512Mask
compare(VectorOperators.Comparison
the operation used to compare lane values
op
,
Vector<Byte>
a second input vector
v
)

Implements abstract jdk.incubator.vector.ByteVector.compare.

Tests this vector by comparing it with another input vector, according to the given comparison operation.
public final Byte512Vector.Byte512Mask
compare(VectorOperators.Comparison
the operation used to compare lane values
op
,
byte
the input scalar
s
)

Implements abstract jdk.incubator.vector.ByteVector.compare.

Tests this vector by comparing it with an input scalar, according to the given comparison operation.
public final Byte512Vector.Byte512Mask
compare(VectorOperators.Comparison
the operation used to compare lane values
op
,
long
the input scalar
s
)

Implements abstract jdk.incubator.vector.ByteVector.compare.

Tests this vector by comparing it with an input scalar, according to the given comparison operation.
public final Byte512Vector.Byte512Mask
compare(VectorOperators.Comparison
the operation used to compare lane values
op
,
Vector<Byte>
a second input vector
v
,
VectorMask<Byte>
the mask controlling lane selection
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 Byte512Vector
compress(VectorMask<Byte>
the mask controlling the compression
m
)

Implements abstract jdk.incubator.vector.ByteVector.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<Byte, F>
the desired scalar conversion to apply lane-wise
conv
,
VectorSpecies<F>
the desired output species
rsp
,
int
the part number of the result, or zero if neither expanding nor contracting
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<Byte>
elementType()

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

Returns the primitive element type (ETYPE) of this vector.
public Byte512Vector
expand(VectorMask<Byte>
the mask controlling the compression
m
)

Implements abstract jdk.incubator.vector.ByteVector.expand.

Expands the lane elements of this vector under the control of a specific mask.
pack-priv final ByteVector
fromArray0(byte[] a, int offset)

Implements abstract jdk.incubator.vector.ByteVector.fromArray0.

pack-priv final ByteVector
fromArray0(byte[] a, int offset, VectorMask<Byte> m, int offsetInRange)

Implements abstract jdk.incubator.vector.ByteVector.fromArray0.

pack-priv final ByteVector
fromBooleanArray0(boolean[] a, int offset)

Implements abstract jdk.incubator.vector.ByteVector.fromBooleanArray0.

pack-priv final ByteVector
fromBooleanArray0(boolean[] a, int offset, VectorMask<Byte> m, int offsetInRange)

Implements abstract jdk.incubator.vector.ByteVector.fromBooleanArray0.

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

Implements abstract jdk.incubator.vector.ByteVector.fromMemorySegment0.

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

Implements abstract jdk.incubator.vector.ByteVector.intoArray0.

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

Implements abstract jdk.incubator.vector.ByteVector.intoArray0.

pack-priv final void
pack-priv final void
pack-priv Byte512Vector.Byte512Shuffle
pack-priv Byte512Vector.Byte512Shuffle
iotaShuffle(int start, int step, boolean wrap)

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

public byte
lane(int
the lane index
i
)

Implements abstract jdk.incubator.vector.ByteVector.lane.

Gets the lane element at lane index i
public byte
laneHelper(int i)

public Byte512Vector
lanewise(VectorOperators.Unary
the operation used to process lane values
op
)

Implements abstract jdk.incubator.vector.ByteVector.lanewise.

Operates on the lane values of this vector.
public Byte512Vector
lanewise(VectorOperators.Unary
the operation used to process lane values
op
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.lanewise.

Operates on the lane values of this vector, with selection of lane elements controlled by a mask.
public Byte512Vector
lanewise(VectorOperators.Binary
the operation used to combine lane values
op
,
Vector<Byte>
the input vector
v
)

Implements abstract jdk.incubator.vector.ByteVector.lanewise.

Combines the corresponding lane values of this vector with those of a second input vector.
public Byte512Vector
lanewise(VectorOperators.Binary
the operation used to combine lane values
op
,
Vector<Byte>
the second input vector
v
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.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 Byte512Vector
lanewise(VectorOperators.Ternary
the operation used to combine lane values
op
,
Vector<Byte>
the second input vector
v1
,
Vector<Byte>
the third input vector
v2
)

Implements abstract jdk.incubator.vector.ByteVector.lanewise.

Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.
public final Byte512Vector
lanewise(VectorOperators.Ternary
the operation used to combine lane values
op
,
Vector<Byte>
the second input vector
v1
,
Vector<Byte>
the third input vector
v2
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.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 Byte512Vector
pack-priv Byte512Vector
public final int
length()

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

Returns the lane count, or vector length (VLENGTH).
pack-priv Byte512Vector.Byte512Mask
public Byte512Vector
rearrange(VectorShuffle<Byte>
the shuffle controlling lane index selection
s
)

Implements abstract jdk.incubator.vector.ByteVector.rearrange.

Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.
public Byte512Vector
rearrange(VectorShuffle<Byte>
the shuffle controlling lane index selection
shuffle
,
VectorMask<Byte>
the mask controlling application of the shuffle
m
)

Implements abstract jdk.incubator.vector.ByteVector.rearrange.

Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.
public Byte512Vector
rearrange(VectorShuffle<Byte>
the shuffle controlling lane selection from both input vectors
s
,
Vector<Byte>
the second input vector
v
)

Implements abstract jdk.incubator.vector.ByteVector.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 byte
reduceLanes(VectorOperators.Associative
the operation used to combine lane values
op
)

Implements abstract jdk.incubator.vector.ByteVector.reduceLanes.

Returns a value accumulated from all the lanes of this vector.
public final byte
reduceLanes(VectorOperators.Associative
the operation used to combine lane values
op
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.reduceLanes.

Returns a value accumulated from selected lanes of this vector, controlled by a mask.
public final long
reduceLanesToLong(VectorOperators.Associative
the operation used to combine lane values
op
)

Implements abstract jdk.incubator.vector.ByteVector.reduceLanesToLong.

Returns a value accumulated from all the lanes of this vector.
public final long
reduceLanesToLong(VectorOperators.Associative
the operation used to combine lane values
op
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.reduceLanesToLong.

Returns a value accumulated from selected lanes of this vector, controlled by a mask.
public final <F> Vector<F>
reinterpretShape(VectorSpecies<F>
the desired vector species
toSpecies
,
int
the part number of the result, or zero if neither expanding nor contracting
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 byte
public Byte512Vector
selectFrom(Vector<Byte>
the vector supplying the result values
v
)

Implements abstract jdk.incubator.vector.ByteVector.selectFrom.

Using index values stored in the lanes of this vector, assemble values stored in second vector v.
public Byte512Vector
selectFrom(Vector<Byte>
the vector supplying the result values
v
,
VectorMask<Byte>
the mask controlling selection from v
m
)

Implements abstract jdk.incubator.vector.ByteVector.selectFrom.

Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.
public final VectorShape
shape()

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

Returns the shape of this vector.
pack-priv Byte512Vector.Byte512Shuffle
pack-priv Byte512Vector.Byte512Shuffle
pack-priv Byte512Vector.Byte512Shuffle
public Byte512Vector
slice(int
the first input lane to transfer into the slice
origin
,
Vector<Byte>
a second vector logically concatenated with the first, before the slice is taken (if omitted it defaults to zero)
v
)

Implements abstract jdk.incubator.vector.ByteVector.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 Byte512Vector
slice(int
the first input lane to transfer into the slice
origin
)

Implements abstract jdk.incubator.vector.ByteVector.slice.

Slices a segment of adjacent lanes, starting at a given origin lane in the current vector.
public final Byte512Vector.Byte512Mask
test(VectorOperators.Test
the operation used to test lane values
op
)

Implements abstract jdk.incubator.vector.ByteVector.test.

Tests the lanes of this vector according to the given operation.
public final Byte512Vector.Byte512Mask
test(VectorOperators.Test
the operation used to test lane values
op
,
VectorMask<Byte>
the mask controlling lane selection
m
)

Implements abstract jdk.incubator.vector.ByteVector.test.

Test selected lanes of this vector, according to the given operation.
pack-priv final Byte512Vector
pack-priv final Byte512Vector
public VectorShuffle<Byte>
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 Byte512Vector
unslice(int
the first output lane to receive the slice
origin
,
Vector<Byte>
the background vector that (as two copies) will receive the inserted slice
w
,
int
the part number of the result (either zero or one)
part
)

Implements abstract jdk.incubator.vector.ByteVector.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 Byte512Vector
unslice(int
the first output lane to receive the slice
origin
,
Vector<Byte>
the background vector that (as two copies) will receive the inserted slice, if they are set in m
w
,
int
the part number of the result (either zero or one)
part
,
VectorMask<Byte>
the mask controlling lane selection from the current vector
m
)

Implements abstract jdk.incubator.vector.ByteVector.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 Byte512Vector
unslice(int
the first output lane to receive the slice
origin
)

Implements abstract jdk.incubator.vector.ByteVector.unslice.

Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.
pack-priv final Byte512Vector
pack-priv final Byte512Vector
pack-priv final byte[]
pack-priv final Byte512Vector
vectorFactory(byte[] vec)

Implements abstract jdk.incubator.vector.ByteVector.vectorFactory.

Build a vector directly using my own constructor.
public final ByteVector.ByteSpecies
public Byte512Vector
withLane(int
the lane index of the lane element to be replaced
i
,
byte
the value to be placed
e
)

Implements abstract jdk.incubator.vector.ByteVector.withLane.

Replaces the lane element of this vector at lane index i with value e.
public Byte512Vector
withLaneHelper(int i, byte e)

Inherited from jdk.incubator.vector.ByteVector:
absaddaddaddaddaddIndexTemplateandandarrayAddressbitCountbitwiseBlendbitwiseBlendbitwiseBlendbitwiseBlendblendblendblendTemplatebooleanArrayAddressbOpTemplatebOpTemplatebroadcastbroadcastbroadcastTemplatebroadcastTemplatebTestbyteArrayAddresscomparecomparecompareTemplatecompareTemplatecompareTemplatecompareTemplatecompressHelpercompressTemplatedivdivdivdiveqeqequalsexpandHelperexpandTemplatefromArrayfromArrayfromArrayfromArrayfromArray0TemplatefromArray0TemplatefromBitsfromBooleanArrayfromBooleanArrayfromBooleanArrayfromBooleanArrayfromBooleanArray0TemplatefromBooleanArray0TemplatefromMemorySegmentfromMemorySegmentfromMemorySegment0TemplatefromMemorySegment0TemplatehashCodeintoArrayintoArrayintoArrayintoArrayintoArray0TemplateintoArray0TemplateintoBooleanArrayintoBooleanArrayintoBooleanArrayintoBooleanArrayintoBooleanArray0TemplateintoMemorySegmentintoMemorySegmentintoMemorySegment0intoMemorySegment0TemplatelanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiseShiftTemplatelanewiseShiftTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplateldLongOpldLongOpldOpldOpltltmaskFactorymaxmaxmaybeSwapmemorySegmentGetmemorySegmentSetminminmulmulmulmulnegnotnumberOfLeadingZerosnumberOfTrailingZerosopCodeopCodeopKindororrearrangeTemplaterearrangeTemplaterearrangeTemplatereduceLanesTemplatereduceLanesTemplatereinterpretAsBytesreverserOpTemplaterOpTemplaterotateLeftrotateRightselectFromTemplateselectFromTemplateslicesliceTemplatesliceTemplatespeciesstLongOpstLongOpstOpstOpsubsubsubsubtestTemplatetestTemplatetoArraytoBitstoDoubleArraytoIntArraytoLongArraytOpTemplatetOpTemplatetoShuffleTemplatetoStringunsliceTemplateunsliceTemplateunsliceTemplateuOpTemplateuOpTemplateviewAsFloatingLanesviewAsIntegralLanesvOpvOpzero