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

pack-priv final Class LongVector256

extends LongVector
Class Inheritance
Annotations
@SuppressWarnings:cast
@ValueBased
Imports
java.lang.foreign.MemorySegment, .ValueLayout, 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<Long>
pack-priv static final Class<Long>
pack-priv static final LongVector256
pack-priv static final Class<LongVector256>
pack-priv static final int
pack-priv static final VectorShape
pack-priv static final int
pack-priv static final LongVector.LongSpecies
pack-priv static final LongVector256
Inherited from jdk.incubator.vector.LongVector:
ARRAY_BASEARRAY_SHIFTELEMENT_LAYOUTFORBID_OPCODE_KINDLANE_TYPE_ORDINALLANEBITS_TYPE_ORDINALSPECIES_128SPECIES_256SPECIES_512SPECIES_64SPECIES_MAXSPECIES_PREFERRED

Constructor Summary

AccessConstructor and Description
pack-priv
LongVector256(long[] v)

pack-priv

Method Summary

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

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256
blend(Vector<Long> v, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.blend.

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

pack-priv final LongVector256
pack-priv final LongVector256
public final LongVector256
broadcast(long e)

Implements abstract jdk.incubator.vector.LongVector.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<Long>
public final LongVector256.LongMask256
compare(VectorOperators.Comparison op, Vector<Long> v)

Implements abstract jdk.incubator.vector.LongVector.compare.

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

public final LongVector256.LongMask256
compare(VectorOperators.Comparison op, long s)

Implements abstract jdk.incubator.vector.LongVector.compare.

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

public final LongVector256.LongMask256
compare(VectorOperators.Comparison op, Vector<Long> v, VectorMask<Long> 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 LongVector256
compress(VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.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<Long, 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<Long>
elementType()

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

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

public LongVector256
expand(VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.expand.

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

pack-priv final LongVector
fromArray0(long[] a, int offset)

Implements abstract jdk.incubator.vector.LongVector.fromArray0.

pack-priv final LongVector
fromArray0(long[] a, int offset, VectorMask<Long> m, int offsetInRange)

Implements abstract jdk.incubator.vector.LongVector.fromArray0.

pack-priv final LongVector
fromArray0(long[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.fromArray0.

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

Implements abstract jdk.incubator.vector.LongVector.fromMemorySegment0.

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

Implements abstract jdk.incubator.vector.LongVector.intoArray0.

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

Implements abstract jdk.incubator.vector.LongVector.intoArray0.

pack-priv final void
intoArray0(long[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.intoArray0.

pack-priv final void
pack-priv LongVector256.LongShuffle256
pack-priv LongVector256.LongShuffle256
iotaShuffle(int start, int step, boolean wrap)

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

public long
lane(int i)

Implements abstract jdk.incubator.vector.LongVector.lane.

Gets the lane element at lane index i

public long
laneHelper(int i)

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

Implements abstract jdk.incubator.vector.LongVector.lanewise.

Operates on the lane values of this vector.

public LongVector256
lanewise(VectorOperators.Unary op, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.lanewise.

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

public LongVector256
lanewise(VectorOperators.Binary op, Vector<Long> v)

Implements abstract jdk.incubator.vector.LongVector.lanewise.

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

public LongVector256
lanewise(VectorOperators.Binary op, Vector<Long> v, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256
lanewise(VectorOperators.Ternary op, Vector<Long> v1, Vector<Long> v2)

Implements abstract jdk.incubator.vector.LongVector.lanewise.

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

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

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

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

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

pack-priv LongVector256.LongMask256
public LongVector256
rearrange(VectorShuffle<Long> s)

Implements abstract jdk.incubator.vector.LongVector.rearrange.

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

public LongVector256
rearrange(VectorShuffle<Long> shuffle, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.rearrange.

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

public LongVector256
rearrange(VectorShuffle<Long> s, Vector<Long> v)

Implements abstract jdk.incubator.vector.LongVector.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 long
reduceLanes(VectorOperators.Associative op)

Implements abstract jdk.incubator.vector.LongVector.reduceLanes.

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

public final long
reduceLanes(VectorOperators.Associative op, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.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.LongVector.reduceLanesToLong.

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

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

Implements abstract jdk.incubator.vector.LongVector.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 long
public LongVector256
selectFrom(Vector<Long> v)

Implements abstract jdk.incubator.vector.LongVector.selectFrom.

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

public LongVector256
selectFrom(Vector<Long> v, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.selectFrom.

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

public LongVector256
selectFrom(Vector<Long> v1, Vector<Long> v2)

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256.LongShuffle256
pack-priv LongVector256.LongShuffle256
public LongVector256
slice(int origin, Vector<Long> v)

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256
slice(int origin)

Implements abstract jdk.incubator.vector.LongVector.slice.

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

public final LongVector256.LongMask256
test(VectorOperators.Test op)

Implements abstract jdk.incubator.vector.LongVector.test.

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

public final LongVector256.LongMask256
test(VectorOperators.Test op, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.test.

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

pack-priv final LongVector256
pack-priv final LongVector256
public final LongVector256.LongShuffle256
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 LongVector256
unslice(int origin, Vector<Long> w, int part)

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256
unslice(int origin, Vector<Long> w, int part, VectorMask<Long> m)

Implements abstract jdk.incubator.vector.LongVector.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 LongVector256
unslice(int origin)

Implements abstract jdk.incubator.vector.LongVector.unslice.

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

pack-priv final LongVector256
pack-priv final LongVector256
pack-priv final long[]
pack-priv final LongVector256
vectorFactory(long[] vec)

Implements abstract jdk.incubator.vector.LongVector.vectorFactory.

Build a vector directly using my own constructor.

public final LongVector.LongSpecies
public LongVector256
withLane(int i, long e)

Implements abstract jdk.incubator.vector.LongVector.withLane.

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

public LongVector256
withLaneHelper(int i, long e)

Inherited from jdk.incubator.vector.LongVector:
absaddaddaddaddaddIndexTemplateandandarrayAddressbitsToShuffle0bitwiseBlendbitwiseBlendbitwiseBlendbitwiseBlendblendblendTemplatebOpTemplatebOpTemplatebroadcastbroadcastTemplatebTestbyteArrayAddresscomparecompareTemplatecompareTemplatecompareTemplatecompressHelpercompressTemplatedivdivdivdiveqeqequalsexpandHelperexpandTemplatefromArrayfromArrayfromArrayfromArrayfromArray0TemplatefromArray0TemplatefromArray0TemplatefromBitsfromMemorySegmentfromMemorySegmentfromMemorySegment0TemplatefromMemorySegment0TemplatehashCodeintoArrayintoArrayintoArrayintoArrayintoArray0TemplateintoArray0TemplateintoArray0TemplateintoMemorySegmentintoMemorySegmentintoMemorySegment0intoMemorySegment0TemplatelanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiselanewiseShiftTemplatelanewiseShiftTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplatelanewiseTemplateldLongOpldLongOpldOpldOpltltmaskFactorymaxmaxmaybeSwapmemorySegmentGetmemorySegmentSetminminmulmulmulmulnegnotopCodeopCodeopKindororrearrangeTemplaterearrangeTemplaterearrangeTemplatereduceLanesTemplatereduceLanesTemplatereinterpretAsBytesrOpTemplaterOpTemplaterotateLeftrotateRightselectFromTemplateselectFromTemplateselectFromTemplateselectFromTwoVectorHelperslicesliceTemplatesliceTemplatespeciesstLongOpstLongOpstOpstOpsubsubsubsubswapIfNeededtestTemplatetestTemplatetoArraytoBitstoDoubleArraytoIntArraytoLongArraytOpTemplatetOpTemplatetoShuffletoStringunsliceTemplateunsliceTemplateunsliceTemplateuOpTemplateuOpTemplateviewAsFloatingLanesviewAsIntegralLanesvOpvOpzero