26 references to Create
System.Numerics.Tensors (25)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (12)
456Vector256<uint> sign = value & Vector256.Create(SingleSignMask); 462Vector256<uint> offsetExponent = bitValueInProcess & Vector256.Create(HalfExponentMask); 468Vector256<uint> infinityOrNaNMask = Vector256.Equals(offsetExponent, Vector256.Create(HalfExponentMask)); 471Vector256<uint> maskedExponentLowerBound = subnormalMask & Vector256.Create(ExponentLowerBound); 474Vector256<uint> offsetMaskedExponentLowerBound = Vector256.Create(ExponentOffset) | maskedExponentLowerBound; 485bitValueInProcess &= Vector256.Create(HalfToSingleBitsMask); 650Vector256<uint> sign = Vector256.ShiftRightLogical(bitValue & Vector256.Create(SingleSignMask), 16); 662Vector256<uint> exponentOffset0 = Vector256.Max(value, Vector256.Create(MinExp).AsSingle()).AsUInt32(); 665exponentOffset0 &= Vector256.Create(SingleBiasedExponentMask); 668exponentOffset0 += Vector256.Create(Exponent13); 675Vector256<uint> maskedHalfExponentForNaN = ~realMask & Vector256.Create(ExponentMask); 678bitValue -= Vector256.Create(Exponent126);
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (2)
70if (Vector256.GreaterThanAny(xpi.AsUInt32() & Vector256.Create(CosOperatorSingle.SignMask), Vector256.Create(CosOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
111Vector256<uint> lowHalf = Vector256.Create((uint)0x0000FFFF);
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (4)
170Vector256<uint> c1 = Vector256.Create(0x55555555u); 171Vector256<uint> c2 = Vector256.Create(0x33333333u); 172Vector256<uint> c3 = Vector256.Create(0x0F0F0F0Fu); 173Vector256<uint> c4 = Vector256.Create(0x01010101u);
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (1)
89Vector256<uint> sign = x.AsUInt32() & Vector256.Create(~(uint)int.MaxValue);
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (2)
70if (Vector256.GreaterThanAny(xpi.AsUInt32() & Vector256.Create(SinOperatorSingle.SignMask), Vector256.Create(SinOperatorSingle.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
159if (Vector256.GreaterThanAny(uxMasked.AsUInt32(), Vector256.Create(MaxVectorizedValue))) 185Vector256<float> result = (poly.AsUInt32() ^ (x.AsUInt32() & Vector256.Create(~SignMask))).AsSingle();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (1)
93Vector256<uint> sign = x.AsUInt32() & Vector256.Create(~(uint)int.MaxValue);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (1)
552Vector256<int> lowerBits = Avx2.And(vector, Create(0x0000FFFFU)).AsInt32();