31 references to AsUInt32
System.Numerics.Tensors (26)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (1)
79typeof(T) == typeof(float) ? Vector512.EqualsAny(result.AsUInt32(), Vector512<uint>.Zero) :
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)
93if (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)
102return (value >> 31) | ((-value).AsUInt32() >> 31).AsInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
114Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue); 115return (sign ^ result.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
93if (Vector512.GreaterThanAny(xpi.AsUInt32() & Vector512.Create(SinOperatorSingle.SignMask), Vector512.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (4)
194if (Vector512.GreaterThanAny(uxMasked.AsUInt32(), Vector512.Create(MaxVectorizedValue))) 200Vector512<uint> odd = dn.AsUInt32() << 31; 220Vector512<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector512.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
115Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue); 116return (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)
2006return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 2101return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2176return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();