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

pack-priv final Class ByteVector512

extends ByteVector
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<Byte>
pack-priv static final Class<Byte>
pack-priv static final ByteVector512
pack-priv static final Class<ByteVector512>
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 ByteVector512
Inherited from jdk.incubator.vector.ByteVector:
ARRAY_BASEARRAY_BOOLEAN_BASEARRAY_BOOLEAN_SHIFTARRAY_SHIFTELEMENT_LAYOUTFORBID_OPCODE_KINDLANE_TYPE_ORDINALLANEBITS_TYPE_ORDINALSPECIES_128SPECIES_256SPECIES_512SPECIES_64SPECIES_MAXSPECIES_PREFERRED

Constructor Summary

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

pack-priv

Method Summary

Modifier and TypeMethod and Description
public final ByteVector512
addIndex(int 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 ByteVector512
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 ByteVector512
blend(Vector<Byte> v, VectorMask<Byte> 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 ByteVector512
pack-priv final ByteVector512
public final ByteVector512
broadcast(byte 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 ByteVector512
broadcast(long 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.

pack-priv final Class<Byte>
public final ByteVector512.ByteMask512
compare(VectorOperators.Comparison op, Vector<Byte> 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 ByteVector512.ByteMask512
compare(VectorOperators.Comparison op, byte 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 ByteVector512.ByteMask512
compare(VectorOperators.Comparison op, long 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 ByteVector512.ByteMask512
compare(VectorOperators.Comparison op, Vector<Byte> v, VectorMask<Byte> 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 ByteVector512
compress(VectorMask<Byte> 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> 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<Byte>
elementType()

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

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

public ByteVector512
expand(VectorMask<Byte> 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
fromArray0(byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m)

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 ByteVector512.ByteShuffle512
pack-priv ByteVector512.ByteShuffle512
iotaShuffle(int start, int step, boolean wrap)

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

public byte
lane(int i)

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

Gets the lane element at lane index i

public byte
laneHelper(int i)

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

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

Operates on the lane values of this vector.

public ByteVector512
lanewise(VectorOperators.Unary op, VectorMask<Byte> 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 ByteVector512
lanewise(VectorOperators.Binary op, Vector<Byte> v)

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

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

public ByteVector512
lanewise(VectorOperators.Binary op, Vector<Byte> v, VectorMask<Byte> 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 ByteVector512
lanewise(VectorOperators.Ternary op, Vector<Byte> v1, Vector<Byte> 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 ByteVector512
lanewise(VectorOperators.Ternary op, Vector<Byte> v1, Vector<Byte> v2, VectorMask<Byte> 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 ByteVector512
pack-priv ByteVector512
public final int
length()

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

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

pack-priv ByteVector512.ByteMask512
public ByteVector512
rearrange(VectorShuffle<Byte> 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 ByteVector512
rearrange(VectorShuffle<Byte> shuffle, VectorMask<Byte> 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 ByteVector512
rearrange(VectorShuffle<Byte> s, Vector<Byte> 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 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 op, VectorMask<Byte> 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 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 op, VectorMask<Byte> 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> 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 byte
public ByteVector512
selectFrom(Vector<Byte> 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 ByteVector512
selectFrom(Vector<Byte> v, VectorMask<Byte> 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 ByteVector512
selectFrom(Vector<Byte> v1, Vector<Byte> v2)

Implements abstract jdk.incubator.vector.ByteVector.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 ByteVector512.ByteShuffle512
pack-priv ByteVector512.ByteShuffle512
public ByteVector512
slice(int origin, Vector<Byte> 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 ByteVector512
slice(int 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 ByteVector512.ByteMask512
test(VectorOperators.Test op)

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

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

public final ByteVector512.ByteMask512
test(VectorOperators.Test op, VectorMask<Byte> m)

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

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

pack-priv final ByteVector512
pack-priv final ByteVector512
public final ByteVector512.ByteShuffle512
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 ByteVector512
unslice(int origin, Vector<Byte> w, int 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 ByteVector512
unslice(int origin, Vector<Byte> w, int part, VectorMask<Byte> 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 ByteVector512
unslice(int 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 ByteVector512
pack-priv final ByteVector512
pack-priv final byte[]
pack-priv final ByteVector512
vectorFactory(byte[] vec)

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

Build a vector directly using my own constructor.

public final ByteVector.ByteSpecies
public ByteVector512
withLane(int i, byte e)

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

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

public ByteVector512
withLaneHelper(int i, byte e)

Inherited from jdk.incubator.vector.ByteVector:
absaddaddaddaddaddIndexTemplateandandarrayAddressbitCountbitsToShuffle0bitwiseBlendbitwiseBlendbitwiseBlendbitwiseBlendblendblendblendTemplatebooleanArrayAddressbOpTemplatebOpTemplatebroadcastbroadcastbroadcastTemplatebroadcastTemplatebTestbyteArrayAddresscomparecomparecompareTemplatecompareTemplatecompareTemplatecompareTemplatecompressHelpercompressTemplatedivdivdivdiveqeqequalsexpandHelperexpandTemplatefromArrayfromArrayfromArrayfromArrayfromArray0TemplatefromArray0TemplatefromArray0TemplatefromBitsfromBooleanArrayfromBooleanArrayfromBooleanArrayfromBooleanArrayfromBooleanArray0TemplatefromBooleanArray0TemplatefromMemorySegmentfromMemorySegmentfromMemorySegment0TemplatefromMemorySegment0TemplatehashCodeintoArrayintoArrayintoArrayintoArrayintoArray0TemplateintoArray0TemplateintoBooleanArrayintoBooleanArrayintoBooleanArrayintoBooleanArrayintoBooleanArray0TemplateintoMemorySegmentintoMemorySegmentintoMemorySegment0intoMemorySegment0TemplatelanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiseShiftTemplatelanewiseShiftTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplateldLongOpldLongOpldOpldOpltltmaskFactorymaxmaxmaybeSwapmemorySegmentGetmemorySegmentSetminminmulmulmulmulnegnotnumberOfLeadingZerosnumberOfTrailingZerosopCodeopCodeopKindororrearrangeTemplaterearrangeTemplaterearrangeTemplatereduceLanesTemplatereduceLanesTemplatereinterpretAsBytesreverserOpTemplaterOpTemplaterotateLeftrotateRightselectFromTemplateselectFromTemplateselectFromTemplateselectFromTwoVectorHelperslicesliceTemplatesliceTemplatespeciesstLongOpstLongOpstOpstOpsubsubsubsubswapIfNeededtestTemplatetestTemplatetoArraytoBitstoDoubleArraytoIntArraytoLongArraytOpTemplatetOpTemplatetoShuffletoStringunsliceTemplateunsliceTemplateunsliceTemplateuOpTemplateuOpTemplateviewAsFloatingLanesviewAsIntegralLanesvOpvOpzero