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