Uses of Class
jdk.incubator.vector.LongVector
Packages that use LongVector
-
Uses of LongVector in jdk.incubator.vector
Methods in jdk.incubator.vector that return LongVectorModifier and TypeMethodDescriptionfinal LongVector
LongVector.abs()
Returns the absolute value of this vector.final LongVector
LongVector.add
(long e) Adds this vector to the broadcast of an input scalar.final LongVector
LongVector.add
(long e, VectorMask<Long> m) Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVector
Adds this vector to a second input vector.final LongVector
LongVector.add
(Vector<Long> v, VectorMask<Long> m) Adds this vector to a second input vector, selecting lanes under the control of a mask.abstract LongVector
LongVector.addIndex
(int scale) Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.final LongVector
LongVector.and
(long e) Computes the bitwise logical conjunction (&
) of this vector and a scalar.final LongVector
Computes the bitwise logical conjunction (&
) of this vector and a second input vector.final LongVector
LongVector.bitwiseBlend
(long bits, long mask) Blends together the bits of a vector and a scalar under the control of another scalar, which supplies mask bits.final LongVector
LongVector.bitwiseBlend
(long bits, Vector<Long> mask) Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits.final LongVector
LongVector.bitwiseBlend
(Vector<Long> bits, long mask) Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.final LongVector
LongVector.bitwiseBlend
(Vector<Long> bits, Vector<Long> mask) Blends together the bits of two vectors under the control of a third, which supplies mask bits.final LongVector
LongVector.blend
(long e, VectorMask<Long> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.abstract LongVector
LongVector.blend
(Vector<Long> v, VectorMask<Long> m) Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstract LongVector
LongVector.broadcast
(long e) Returns a vector of the same species as this one where all lane elements are set to the primitive valuee
.static LongVector
LongVector.broadcast
(VectorSpecies<Long> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee
.final LongVector
LongVector.div
(long e) Divides this vector by the broadcast of an input scalar.final LongVector
LongVector.div
(long e, VectorMask<Long> m) Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVector
Divides this vector by a second input vector.final LongVector
LongVector.div
(Vector<Long> v, VectorMask<Long> m) Divides this vector by a second input vector under the control of a mask.static LongVector
LongVector.fromArray
(VectorSpecies<Long> species, long[] a, int offset) Loads a vector from an array of typelong[]
starting at an offset.static LongVector
LongVector.fromArray
(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typelong[]
, using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static LongVector
LongVector.fromArray
(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Long> m) Gathers a new vector composed of elements from an array of typelong[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static LongVector
LongVector.fromArray
(VectorSpecies<Long> species, long[] a, int offset, VectorMask<Long> m) Loads a vector from an array of typelong[]
starting at an offset and using a mask.static LongVector
LongVector.fromByteArray
(VectorSpecies<Long> species, byte[] a, int offset, ByteOrder bo) Loads a vector from a byte array starting at an offset.static LongVector
LongVector.fromByteArray
(VectorSpecies<Long> species, byte[] a, int offset, ByteOrder bo, VectorMask<Long> m) Loads a vector from a byte array starting at an offset and using a mask.static LongVector
LongVector.fromByteBuffer
(VectorSpecies<Long> species, ByteBuffer bb, int offset, ByteOrder bo) Loads a vector from a byte buffer starting at an offset into the byte buffer.static LongVector
LongVector.fromByteBuffer
(VectorSpecies<Long> species, ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Long> m) Loads a vector from a byte buffer starting at an offset into the byte buffer and using a mask.final LongVector
LongVector.lanewise
(VectorOperators.Binary op, long e) Combines the lane values of this vector with the value of a broadcast scalar.final LongVector
LongVector.lanewise
(VectorOperators.Binary op, long e, VectorMask<Long> m) Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.abstract LongVector
LongVector.lanewise
(VectorOperators.Binary op, Vector<Long> v) Combines the corresponding lane values of this vector with those of a second input vector.final LongVector
LongVector.lanewise
(VectorOperators.Binary op, Vector<Long> v, VectorMask<Long> m) Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, long e1, long e2) Combines the lane values of this vector with the values of two broadcast scalars.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, long e1, long e2, VectorMask<Long> m) Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, long e1, Vector<Long> v2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, long e1, Vector<Long> v2, VectorMask<Long> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, Vector<Long> v1, long e2) Combines the lane values of this vector with the values of another vector and a broadcast scalar.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, Vector<Long> v1, long e2, VectorMask<Long> m) Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.abstract LongVector
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.final LongVector
LongVector.lanewise
(VectorOperators.Ternary op, Vector<Long> v1, Vector<Long> v2, VectorMask<Long> m) 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.abstract LongVector
LongVector.lanewise
(VectorOperators.Unary op) Operates on the lane values of this vector.final LongVector
LongVector.lanewise
(VectorOperators.Unary op, VectorMask<Long> m) Operates on the lane values of this vector, with selection of lane elements controlled by a mask.final LongVector
LongVector.max
(long e) Computes the larger of this vector and the broadcast of an input scalar.final LongVector
Computes the larger of this vector and a second input vector.final LongVector
LongVector.min
(long e) Computes the smaller of this vector and the broadcast of an input scalar.final LongVector
Computes the smaller of this vector and a second input vector.final LongVector
LongVector.mul
(long e) Multiplies this vector by the broadcast of an input scalar.final LongVector
LongVector.mul
(long e, VectorMask<Long> m) Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVector
Multiplies this vector by a second input vector.final LongVector
LongVector.mul
(Vector<Long> v, VectorMask<Long> m) Multiplies this vector by a second input vector under the control of a mask.final LongVector
LongVector.neg()
Negates this vector.final LongVector
LongVector.not()
Computes the bitwise logical complement (~
) of this vector.final LongVector
LongVector.or
(long e) Computes the bitwise logical disjunction (|
) of this vector and a scalar.final LongVector
Computes the bitwise logical disjunction (|
) of this vector and a second input vector.abstract LongVector
LongVector.rearrange
(VectorShuffle<Long> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstract LongVector
LongVector.rearrange
(VectorShuffle<Long> s, Vector<Long> v) 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.abstract LongVector
LongVector.rearrange
(VectorShuffle<Long> s, VectorMask<Long> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstract LongVector
Vector.reinterpretAsLongs()
Reinterprets this vector as a vector of the same shape and contents but a lane type oflong
, where the lanes are assembled from successive bytes according to little-endian order.abstract LongVector
LongVector.selectFrom
(Vector<Long> v) Using index values stored in the lanes of this vector, assemble values stored in second vectorv
.abstract LongVector
LongVector.selectFrom
(Vector<Long> s, VectorMask<Long> m) Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstract LongVector
LongVector.slice
(int origin) Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector.abstract LongVector
Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.final LongVector
LongVector.slice
(int origin, Vector<Long> w, VectorMask<Long> m) Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.final LongVector
LongVector.sub
(long e) Subtracts an input scalar from this vector.final LongVector
LongVector.sub
(long e, VectorMask<Long> m) Subtracts an input scalar from this vector under the control of a mask.final LongVector
Subtracts a second input vector from this vector.final LongVector
LongVector.sub
(Vector<Long> v, VectorMask<Long> m) Subtracts a second input vector from this vector under the control of a mask.abstract LongVector
LongVector.unslice
(int origin) Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.abstract LongVector
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 subsequentslice()
operation.abstract LongVector
LongVector.unslice
(int origin, Vector<Long> w, int part, VectorMask<Long> m) 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 subsequentslice()
operation.final LongVector
DoubleVector.viewAsIntegralLanes()
Views this vector as a vector of the same shape, length, and contents, but a lane type that is not a floating-point type.final LongVector
LongVector.viewAsIntegralLanes()
Views this vector as a vector of the same shape, length, and contents, but a lane type that is not a floating-point type.abstract LongVector
LongVector.withLane
(int i, long e) Replaces the lane element of this vector at lane indexi
with valuee
.static LongVector
LongVector.zero
(VectorSpecies<Long> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.