38 references to Create
System.Private.CoreLib (38)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
882Vector64<T> vector = Vector64.Create(value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (34)
35get => Create(T.E); 42get => Create(T.Pi); 49get => Create(T.Tau); 61get => Create(T.Epsilon); 68get => Create(T.NaN); 75get => Create(T.NegativeInfinity); 82get => Create(T.NegativeZero); 89get => Create(T.PositiveInfinity); 101get => Create(T.NegativeOne); 171public static bool All<T>(Vector64<T> vector, T value) => vector == Create(value); 213public static bool Any<T>(Vector64<T> vector, T value) => EqualsAny(vector, Create(value)); 827public static int Count<T>(Vector64<T> vector, T value) => BitOperations.PopCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 875public static Vector64<byte> Create(byte value) => Create<byte>(value); 881public static Vector64<double> Create(double value) => Create<double>(value); 888public static Vector64<short> Create(short value) => Create<short>(value); 895public static Vector64<int> Create(int value) => Create<int>(value); 901public static Vector64<long> Create(long value) => Create<long>(value); 907public static Vector64<nint> Create(nint value) => Create<nint>(value); 914public static Vector64<nuint> Create(nuint value) => Create<nuint>(value); 922public static Vector64<sbyte> Create(sbyte value) => Create<sbyte>(value); 928public static Vector64<float> Create(float value) => Create<float>(value); 936public static Vector64<ushort> Create(ushort value) => Create<ushort>(value); 944public static Vector64<uint> Create(uint value) => Create<uint>(value); 951public static Vector64<ulong> Create(ulong value) => Create<ulong>(value); 1344public static Vector64<T> CreateSequence<T>(T start, T step) => (Vector64<T>.Indices * step) + Create(start); 1851int result = BitOperations.TrailingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 1996return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2000return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 2071return LessThan(Abs(vector).AsUInt32() - Vector64<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2075return LessThan(Abs(vector).AsUInt64() - Vector64<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>(); 2093public static int LastIndexOf<T>(Vector64<T> vector, T value) => 31 - BitOperations.LeadingZeroCount(Equals(vector, Create(value)).ExtractMostSignificantBits()); 2931public static bool None<T>(Vector64<T> vector, T value) => !EqualsAny(vector, Create(value));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (3)
41get => Vector64.Create(Scalar<T>.AllBitsSet); 104get => Vector64.Create(Scalar<T>.One); 616static Vector64<T> ISimdVector<Vector64<T>, T>.Create(T value) => Vector64.Create(value);