28 references to AsInt32
System.Numerics.Tensors (16)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (4)
99
Vector512<T> sameSign = Vector512.Equals(IsNegative(result).
AsInt32
(), currentNegative.
AsInt32
()).As<int, T>();
462
sizeof(T) == sizeof(int) ? Vector512.LessThan(indices1.
AsInt32
(), indices2.
AsInt32
()).As<int, T>() :
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (2)
99
Vector512<T> sameSign = Vector512.Equals(IsNegative(result).
AsInt32
(), currentNegative.
AsInt32
()).As<int, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMin.cs (2)
96
Vector512<T> sameSign = Vector512.Equals(resultNegative.
AsInt32
(), IsNegative(current).
AsInt32
()).As<int, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMinMagnitude.cs (2)
99
Vector512<T> sameSign = Vector512.Equals(resultNegative.
AsInt32
(), IsNegative(current).
AsInt32
()).As<int, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (6)
95
return Vector512.ConditionalSelect(Vector512.Equals(x, Vector512<T>.Zero).
AsInt32
(),
101
Vector512<int> value = x.
AsInt32
();
102
return (value >> 31) | ((-value).AsUInt32() >> 31).
AsInt32
();
106
if (Vector512.EqualsAny(IsNaN(x).
AsInt32
(), Vector512<int>.AllBitsSet))
111
return Vector512.ConditionalSelect(Vector512.LessThan(x, Vector512<T>.Zero).
AsInt32
(),
113
Vector512.ConditionalSelect(Vector512.GreaterThan(x, Vector512<T>.Zero).
AsInt32
(),
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (2)
689
Vector512<sbyte> errorVec = (origIndex.
AsInt32
() | str.
AsInt32
()).AsSByte();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (8)
103
return All(vector.
AsInt32
(), -1);
137
return Any(vector.
AsInt32
(), -1);
687
return Count(vector.
AsInt32
(), -1);
1971
return IndexOf(vector.
AsInt32
(), -1);
2066
return LessThan(vector.
AsInt32
(), Vector512<int>.Zero).As<int, T>();
2141
return GreaterThanOrEqual(vector.
AsInt32
(), Vector512<int>.Zero).As<int, T>();
2202
return LastIndexOf(vector.
AsInt32
(), -1);
2846
return None(vector.
AsInt32
(), -1);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
400
return result.
AsInt32
() == Vector512<int>.AllBitsSet;
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (1)
130
Vector512<byte> shifted = (values.
AsInt32
() >>> VectorizedIndexShift).AsByte();