29 references to Create
System.Numerics.Tensors (25)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (12)
508Vector512<uint> sign = value & Vector512.Create(SingleSignMask); 514Vector512<uint> offsetExponent = bitValueInProcess & Vector512.Create(HalfExponentMask); 520Vector512<uint> infinityOrNaNMask = Vector512.Equals(offsetExponent, Vector512.Create(HalfExponentMask)); 523Vector512<uint> maskedExponentLowerBound = subnormalMask & Vector512.Create(ExponentLowerBound); 526Vector512<uint> offsetMaskedExponentLowerBound = Vector512.Create(ExponentOffset) | maskedExponentLowerBound; 537bitValueInProcess &= Vector512.Create(HalfToSingleBitsMask); 714Vector512<uint> sign = Vector512.ShiftRightLogical(bitValue & Vector512.Create(SingleSignMask), 16); 726Vector512<uint> exponentOffset0 = Vector512.Max(value, Vector512.Create(MinExp).AsSingle()).AsUInt32(); 729exponentOffset0 &= Vector512.Create(SingleBiasedExponentMask); 732exponentOffset0 += Vector512.Create(Exponent13); 739Vector512<uint> maskedHalfExponentForNaN = ~realMask & Vector512.Create(ExponentMask); 742bitValue -= Vector512.Create(Exponent126);
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (2)
93if (Vector512.GreaterThanAny(xpi.AsUInt32() & Vector512.Create(CosOperatorSingle.SignMask), Vector512.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
162Vector512<uint> lowHalf = Vector512.Create((uint)0x0000FFFF);
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (4)
218Vector512<uint> c1 = Vector512.Create(0x55555555u); 219Vector512<uint> c2 = Vector512.Create(0x33333333u); 220Vector512<uint> c3 = Vector512.Create(0x0F0F0F0Fu); 221Vector512<uint> c4 = Vector512.Create(0x01010101u);
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (1)
114Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue);
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (2)
93if (Vector512.GreaterThanAny(xpi.AsUInt32() & Vector512.Create(SinOperatorSingle.SignMask), Vector512.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
194if (Vector512.GreaterThanAny(uxMasked.AsUInt32(), Vector512.Create(MaxVectorizedValue))) 220Vector512<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector512.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (1)
115Vector512<uint> sign = x.AsUInt32() & Vector512.Create(~(uint)int.MaxValue);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (4)
159Vector512<ushort> maskAC = Vector512.Create((uint)0x0fc0fc00).AsUInt16(); 160Vector512<uint> maskBB = Vector512.Create((uint)0x3f003f00); 161Vector512<ushort> shiftAC = Vector512.Create((uint)0x0006000a).AsUInt16(); 162Vector512<ushort> shiftBB = Vector512.Create((uint)0x00080004).AsUInt16();