39 references to AsUInt32
System.IO.Hashing (1)
System\IO\Hashing\Crc32.Vectorized.cs (1)
119uint result = x1.AsUInt32().GetElement(1);
System.Numerics.Tensors (27)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (1)
69typeof(T) == typeof(float) ? Vector128.EqualsAny(result.AsUInt32(), Vector128<uint>.Zero) :
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (7)
398(HalfAsWidenedUInt32ToSingle(lowerInt32.AsUInt32()), 399HalfAsWidenedUInt32ToSingle(upperInt32.AsUInt32())); 439Vector128<uint> absoluteValue = (bitValueInProcess.AsSingle() - maskedExponentLowerBound.AsSingle()).AsUInt32(); 583Vector128<uint> bitValue = value.AsUInt32(); 589Vector128<uint> realMask = Vector128.Equals(value, value).AsUInt32(); 598Vector128<uint> exponentOffset0 = Vector128.Max(value, Vector128.Create(MinExp).AsSingle()).AsUInt32(); 608bitValue = value.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
47if (Vector128.GreaterThanAny(xpi.AsUInt32() & Vector128.Create(CosOperatorSingle.SignMask), Vector128.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
479if (sizeof(T) == 4) return Sse41.BlendVariable(left.AsUInt32(), right.AsUInt32(), (~mask).AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (4)
61Vector128<uint> x_bot16 = Sse2.Or(Sse2.ShiftLeftLogical(x.AsUInt32(), 16), lowHalf); 62Vector128<uint> x_top16 = Sse2.Or(x.AsUInt32(), lowHalf); 71return Avx512CD.VL.LeadingZeroCount(x.AsUInt32()).As<uint, T>(); 86return AdvSimd.LeadingZeroCount(x.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (1)
127Vector128<uint> tmp = x.AsUInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (1)
49return (value >> 31) | ((-value).AsUInt32() >> 31).AsInt32();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
64Vector128<uint> sign = x.AsUInt32() & Vector128.Create(~(uint)int.MaxValue); 65return (sign ^ result.AsUInt32()).As<uint, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
47if (Vector128.GreaterThanAny(xpi.AsUInt32() & Vector128.Create(SinOperatorSingle.SignMask), Vector128.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (4)
124if (Vector128.GreaterThanAny(uxMasked.AsUInt32(), Vector128.Create(MaxVectorizedValue))) 130Vector128<uint> odd = dn.AsUInt32() << 31; 150Vector128<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector128.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
71Vector128<uint> sign = x.AsUInt32() & Vector128.Create(~(uint)int.MaxValue); 72return (sign ^ (-z / (z + Vector128.Create(2f))).AsUInt32()).As<uint, T>();
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (7)
411lowerBits = vector.AsUInt32(); 412lowerBits = Avx2.Blend(lowerBits, Create(0x43300000_00000000UL).AsUInt32(), 0b1010); // Blend the 32 lowest significant bits of vector with the bit representation of double(2^52) 416lowerBits = Sse2.And(vector, Create(0x00000000_FFFFFFFFUL)).AsUInt32(); 417lowerBits = Sse2.Or(lowerBits, Create(0x43300000_00000000UL).AsUInt32()); 1875return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.AsUInt32())).As<uint, T>(); 1970return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2045return LessThan(Abs(vector).AsUInt32() - Vector128<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
1276Vector128<uint> vecNarrow = Sse2.PackUnsignedSaturate(vecWide, vecWide).AsUInt32();
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.Helpers.cs (1)
59Vector128<uint> vecNarrow = Sse2.PackUnsignedSaturate(vecWide, vecWide).AsUInt32();
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.Transcoding.cs (2)
1015Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32())); 1058Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32()));