35 references to AsUInt32
System.Numerics.Tensors (30)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
79typeof(T) == typeof(float) ? Vector512.EqualsAny(result.AsUInt32(), Vector512<uint>.Zero) : 487TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)i)).AsUInt32(), 488TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + Vector512<T>.Count))).AsUInt32()), 490TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + (2 * Vector512<T>.Count)))).AsUInt32(), 491TOperator.Invoke(Vector512.LoadUnsafe(ref xRef, (uint)(i + (3 * Vector512<T>.Count)))).AsUInt32()));
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (7)
502(HalfAsWidenedUInt32ToSingle(lowerInt32.AsUInt32()), 503HalfAsWidenedUInt32ToSingle(upperInt32.AsUInt32())); 543Vector512<uint> absoluteValue = (bitValueInProcess.AsSingle() - maskedExponentLowerBound.AsSingle()).AsUInt32(); 711Vector512<uint> bitValue = value.AsUInt32(); 717Vector512<uint> realMask = Vector512.Equals(value, value).AsUInt32(); 726Vector512<uint> exponentOffset0 = Vector512.Max(value, Vector512.Create(MinExp).AsSingle()).AsUInt32(); 736bitValue = 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)
511if (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 = Avx512F.Or(Avx512F.ShiftLeftLogical(x.AsUInt32(), 16), lowHalf); 164Vector512<uint> x_top16 = Avx512F.Or(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)
104return (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 (5)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (2)
190str = Vector512.ConditionalSelect(maskBB, temp3.AsUInt32(), temp2.AsUInt32()).AsSByte();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (3)
2017return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 2112return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2187return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();