26 references to Create
System.Numerics.Tensors (25)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (12)
404Vector128<uint> sign = value & Vector128.Create(SingleSignMask); 410Vector128<uint> offsetExponent = bitValueInProcess & Vector128.Create(HalfExponentMask); 416Vector128<uint> infinityOrNaNMask = Vector128.Equals(offsetExponent, Vector128.Create(HalfExponentMask)); 419Vector128<uint> maskedExponentLowerBound = subnormalMask & Vector128.Create(ExponentLowerBound); 422Vector128<uint> offsetMaskedExponentLowerBound = Vector128.Create(ExponentOffset) | maskedExponentLowerBound; 433bitValueInProcess &= Vector128.Create(HalfToSingleBitsMask); 586Vector128<uint> sign = Vector128.ShiftRightLogical(bitValue & Vector128.Create(SingleSignMask), 16); 598Vector128<uint> exponentOffset0 = Vector128.Max(value, Vector128.Create(MinExp).AsSingle()).AsUInt32(); 601exponentOffset0 &= Vector128.Create(SingleBiasedExponentMask); 604exponentOffset0 += Vector128.Create(Exponent13); 611Vector128<uint> maskedHalfExponentForNaN = ~realMask & Vector128.Create(ExponentMask); 614bitValue -= Vector128.Create(Exponent126);
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (2)
47if (Vector128.GreaterThanAny(xpi.AsUInt32() & Vector128.Create(CosOperatorSingle.SignMask), Vector128.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
60Vector128<uint> lowHalf = Vector128.Create((uint)0x0000FFFF);
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (4)
122Vector128<uint> c1 = Vector128.Create(0x55555555u); 123Vector128<uint> c2 = Vector128.Create(0x33333333u); 124Vector128<uint> c3 = Vector128.Create(0x0F0F0F0Fu); 125Vector128<uint> c4 = Vector128.Create(0x01010101u);
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (1)
64Vector128<uint> sign = x.AsUInt32() & Vector128.Create(~(uint)int.MaxValue);
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (2)
47if (Vector128.GreaterThanAny(xpi.AsUInt32() & Vector128.Create(SinOperatorSingle.SignMask), Vector128.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
124if (Vector128.GreaterThanAny(uxMasked.AsUInt32(), Vector128.Create(MaxVectorizedValue))) 150Vector128<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector128.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (1)
71Vector128<uint> sign = x.AsUInt32() & Vector128.Create(~(uint)int.MaxValue);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
515Vector128<int> lowerBits = Sse2.And(vector, Create(0x0000FFFFU)).AsInt32();