35 references to AsUInt32
System.Numerics.Tensors (26)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (1)
74typeof(T) == typeof(float) ? Vector256.EqualsAny(result.AsUInt32(), Vector256<uint>.Zero) :
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (7)
450(HalfAsWidenedUInt32ToSingle(lowerInt32.AsUInt32()), 451HalfAsWidenedUInt32ToSingle(upperInt32.AsUInt32())); 491Vector256<uint> absoluteValue = (bitValueInProcess.AsSingle() - maskedExponentLowerBound.AsSingle()).AsUInt32(); 647Vector256<uint> bitValue = value.AsUInt32(); 653Vector256<uint> realMask = Vector256.Equals(value, value).AsUInt32(); 662Vector256<uint> exponentOffset0 = Vector256.Max(value, Vector256.Create(MinExp).AsSingle()).AsUInt32(); 672bitValue = value.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
70if (Vector256.GreaterThanAny(xpi.AsUInt32() & Vector256.Create(CosOperatorSingle.SignMask), Vector256.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
496if (sizeof(T) == 4) return Avx2.BlendVariable(left.AsUInt32(), right.AsUInt32(), (~mask).AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (3)
112Vector256<uint> x_bot16 = Avx2.Or(Avx2.ShiftLeftLogical(x.AsUInt32(), 16), lowHalf); 113Vector256<uint> x_top16 = Avx2.Or(x.AsUInt32(), lowHalf); 122return Avx512CD.VL.LeadingZeroCount(x.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (1)
175Vector256<uint> tmp = x.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (1)
76return (value >> 31) | ((-value).AsUInt32() >> 31).AsInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
89Vector256<uint> sign = x.AsUInt32() & Vector256.Create(~(uint)int.MaxValue); 90return (sign ^ result.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
70if (Vector256.GreaterThanAny(xpi.AsUInt32() & Vector256.Create(SinOperatorSingle.SignMask), Vector256.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (4)
159if (Vector256.GreaterThanAny(uxMasked.AsUInt32(), Vector256.Create(MaxVectorizedValue))) 165Vector256<uint> odd = dn.AsUInt32() << 31; 185Vector256<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector256.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
93Vector256<uint> sign = x.AsUInt32() & Vector256.Create(~(uint)int.MaxValue); 94return (sign ^ (-z / (z + Vector256.Create(2f))).AsUInt32()).As<uint, T>();
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (5)
454lowerBits = vector.AsUInt32(); 455lowerBits = Avx2.Blend(lowerBits, Create(0x43300000_00000000UL).AsUInt32(), 0b10101010); // Blend the 32 lowest significant bits of vector with the bit representation of double(2^52) */ 1979return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 2074return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2149return LessThan(Abs(vector).AsUInt32() - Vector256<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (4)
110public readonly uint Value32_0 => Value256.AsUInt32()[0]; 111public readonly uint Value32_1 => Value256.AsUInt32()[1]; 115public readonly uint ToUpperMask32_0 => ToUpperMask256.AsUInt32()[0]; 116public readonly uint ToUpperMask32_1 => ToUpperMask256.AsUInt32()[1];