45 references to AsUInt32
System.IO.Hashing (2)
System\IO\Hashing\Adler32.cs (2)
437vs1 += Avx512BW.SumAbsoluteDifferences(data, Vector512<byte>.Zero).AsUInt32(); 439vs2 += Avx512BW.MultiplyAddAdjacent(Avx512BW.MultiplyAddAdjacent(data, weights), Vector512<short>.One).AsUInt32();
System.Numerics.Tensors (37)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
61typeof(T) == typeof(float) ? Vector512.EqualsAny(result.AsUInt32(), Vector512<uint>.Zero) : 469TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)i)).AsUInt32(), 470TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + Vector512<T>.Count))).AsUInt32()), 472TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + (2 * Vector512<T>.Count)))).AsUInt32(), 473TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + (3 * Vector512<T>.Count)))).AsUInt32()));
System\Numerics\Tensors\netcore\TensorPrimitives.BitDecrement.cs (4)
149Vector512<uint> bits = xFloat.AsUInt32(); 153Vector512.IsNegative(xFloat).AsUInt32(), 158Vector512<uint> isPositiveZero = Vector512.IsZero(xFloat).AsUInt32(); 161Vector512<uint> isNaNOrNegInf = (Vector512.IsNaN(xFloat) | Vector512.IsNegativeInfinity(xFloat)).AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.BitIncrement.cs (3)
149Vector512<uint> bits = xFloat.AsUInt32(); 153Vector512.IsNegative(xFloat).AsUInt32(), 161Vector512<uint> isNaNOrPosInf = (Vector512.IsNaN(xFloat) | Vector512.IsPositiveInfinity(xFloat)).AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (7)
500(HalfAsWidenedUInt32ToSingle(lowerInt32.AsUInt32()), 501HalfAsWidenedUInt32ToSingle(upperInt32.AsUInt32())); 541Vector512<uint> absoluteValue = (bitValueInProcess.AsSingle() - maskedExponentLowerBound.AsSingle()).AsUInt32(); 709Vector512<uint> bitValue = value.AsUInt32(); 715Vector512<uint> realMask = Vector512.Equals(value, value).AsUInt32(); 724Vector512<uint> exponentOffset0 = Vector512.Max(value, Vector512.Create(MinExp).AsSingle()).AsUInt32(); 734bitValue = value.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
100if (Vector512.GreaterThanAny(xpi.AsUInt32() & Vector512.Create(CosOperatorSingle.SignMask), Vector512.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
490if (sizeof(T) == 4) return Avx512F.BlendVariable(left.AsUInt32(), right.AsUInt32(), (~mask).AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (3)
163Vector512<uint> x_bot16 = (x.AsUInt32() << 16) | lowHalf; 164Vector512<uint> x_top16 = x.AsUInt32() | lowHalf; 173return Avx512CD.LeadingZeroCount(x.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (1)
223Vector512<uint> tmp = x.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (1)
102return (value >> 31) | ((-value).AsUInt32() >> 31).AsInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
121Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue); 122return (sign ^ result.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
100if (Vector512.GreaterThanAny(xpi.AsUInt32() & Vector512.Create(SinOperatorSingle.SignMask), Vector512.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (4)
201if (Vector512.GreaterThanAny(uxMasked.AsUInt32(), Vector512.Create(MaxVectorizedValue))) 207Vector512<uint> odd = dn.AsUInt32() << 31; 227Vector512<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector512.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
122Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue); 123return (sign ^ (-z / (z + Vector512.Create(2f))).AsUInt32()).As<uint, T>();
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (2)
188str = Vector512.ConditionalSelect(maskBB, temp3.AsUInt32(), temp2.AsUInt32()).AsSByte();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (4)
2091return ~IsZero(AndNot(Vector512<float>.PositiveInfinity.AsUInt32(), vector.AsUInt32())).As<uint, T>(); 2186return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2261return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();