Vector128.LastIndexOfWhereAllBitsSet<T>(Vector128<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of the last element in a vector that has all bits set.
public:
generic <typename T>
static int LastIndexOfWhereAllBitsSet(System::Runtime::Intrinsics::Vector128<T> vector);
public static int LastIndexOfWhereAllBitsSet<T>(System.Runtime.Intrinsics.Vector128<T> vector);
static member LastIndexOfWhereAllBitsSet : System.Runtime.Intrinsics.Vector128<'T> -> int
Public Function LastIndexOfWhereAllBitsSet(Of T) (vector As Vector128(Of T)) As Integer
Type Parameters
- T
The type of the elements in the vector.
Parameters
- vector
- Vector128<T>
The vector whose elements are being checked.
Returns
The index into vector representing the last element that had all bits set; otherwise, -1 if no such element exists.