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 LongVectorLongVector.abs()Returns the absolute value of this vector.final LongVectorLongVector.add(long e) Adds this vector to the broadcast of an input scalar.final LongVectorLongVector.add(long e, VectorMask<Long> m) Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVectorAdds this vector to a second input vector.final LongVectorLongVector.add(Vector<Long> v, VectorMask<Long> m) Adds this vector to a second input vector, selecting lanes under the control of a mask.abstract LongVectorLongVector.addIndex(int scale) Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.final LongVectorLongVector.and(long e) Computes the bitwise logical conjunction (&) of this vector and a scalar.final LongVectorComputes the bitwise logical conjunction (&) of this vector and a second input vector.final LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.bitwiseBlend(Vector<Long> bits, long mask) Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.final LongVectorLongVector.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 LongVectorLongVector.blend(long e, VectorMask<Long> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.abstract LongVectorLongVector.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 LongVectorLongVector.broadcast(long e) Returns a vector of the same species as this one where all lane elements are set to the primitive valuee.static LongVectorLongVector.broadcast(VectorSpecies<Long> species, long e) Returns a vector of the given species where all lane elements are set to the primitive valuee.final LongVectorLongVector.div(long e) Divides this vector by the broadcast of an input scalar.final LongVectorLongVector.div(long e, VectorMask<Long> m) Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVectorDivides this vector by a second input vector.final LongVectorLongVector.div(Vector<Long> v, VectorMask<Long> m) Divides this vector by a second input vector under the control of a mask.static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset) Loads a vector from an array of typelong[]starting at an offset.static LongVectorLongVector.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 fixedoffsetto a series of secondary offsets from an index map.static LongVectorLongVector.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 fixedoffsetto a series of secondary offsets from an index map.static LongVectorLongVector.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 LongVectorLongVector.fromByteArray(VectorSpecies<Long> species, byte[] a, int offset, ByteOrder bo) Loads a vector from a byte array starting at an offset.static LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.lanewise(VectorOperators.Binary op, long e) Combines the lane values of this vector with the value of a broadcast scalar.final LongVectorLongVector.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 LongVectorLongVector.lanewise(VectorOperators.Binary op, Vector<Long> v) Combines the corresponding lane values of this vector with those of a second input vector.final LongVectorLongVector.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 LongVectorLongVector.lanewise(VectorOperators.Ternary op, long e1, long e2) Combines the lane values of this vector with the values of two broadcast scalars.final LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.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 LongVectorLongVector.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 LongVectorCombines the corresponding lane values of this vector with the lanes of a second and a third input vector.final LongVectorLongVector.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 LongVectorLongVector.lanewise(VectorOperators.Unary op) Operates on the lane values of this vector.final LongVectorLongVector.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 LongVectorLongVector.max(long e) Computes the larger of this vector and the broadcast of an input scalar.final LongVectorComputes the larger of this vector and a second input vector.final LongVectorLongVector.min(long e) Computes the smaller of this vector and the broadcast of an input scalar.final LongVectorComputes the smaller of this vector and a second input vector.final LongVectorLongVector.mul(long e) Multiplies this vector by the broadcast of an input scalar.final LongVectorLongVector.mul(long e, VectorMask<Long> m) Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final LongVectorMultiplies this vector by a second input vector.final LongVectorLongVector.mul(Vector<Long> v, VectorMask<Long> m) Multiplies this vector by a second input vector under the control of a mask.final LongVectorLongVector.neg()Negates this vector.final LongVectorLongVector.not()Computes the bitwise logical complement (~) of this vector.final LongVectorLongVector.or(long e) Computes the bitwise logical disjunction (|) of this vector and a scalar.final LongVectorComputes the bitwise logical disjunction (|) of this vector and a second input vector.abstract LongVectorLongVector.rearrange(VectorShuffle<Long> m) Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstract LongVectorLongVector.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 LongVectorLongVector.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 LongVectorVector.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 LongVectorLongVector.selectFrom(Vector<Long> v) Using index values stored in the lanes of this vector, assemble values stored in second vectorv.abstract LongVectorLongVector.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 LongVectorLongVector.slice(int origin) Slices a segment of adjacent lanes, starting at a givenoriginlane in the current vector.abstract LongVectorSlices a segment of adjacent lanes, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.final LongVectorLongVector.slice(int origin, Vector<Long> w, VectorMask<Long> m) Slices a segment of adjacent lanes under the control of a mask, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.final LongVectorLongVector.sub(long e) Subtracts an input scalar from this vector.final LongVectorLongVector.sub(long e, VectorMask<Long> m) Subtracts an input scalar from this vector under the control of a mask.final LongVectorSubtracts a second input vector from this vector.final LongVectorLongVector.sub(Vector<Long> v, VectorMask<Long> m) Subtracts a second input vector from this vector under the control of a mask.abstract LongVectorLongVector.unslice(int origin) Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.abstract LongVectorReverses 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 LongVectorLongVector.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 LongVectorDoubleVector.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 LongVectorLongVector.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 LongVectorLongVector.withLane(int i, long e) Replaces the lane element of this vector at lane indexiwith valuee.static LongVectorLongVector.zero(VectorSpecies<Long> species) Returns a vector of the given species where all lane elements are set to zero, the default primitive value.