19 references to Create
Microsoft.CodeAnalysis (1)
Hashing\XxHashShared.cs (1)
770
accVec = xorWithKey * Vector256.
Create
((ulong)Prime32_1);
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
770
accVec = xorWithKey * Vector256.
Create
((ulong)Prime32_1);
System.Collections (1)
System\Collections\BitArray.cs (1)
868
Vector256<byte> bitMask = Vector256.
Create
(0x80402010_08040201).AsByte();
System.IO.Hashing (1)
System\IO\Hashing\XxHashShared.cs (1)
761
accVec = xorWithKey * Vector256.
Create
((ulong)Prime32_1);
System.Numerics.Tensors (8)
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (2)
78
if (Vector256.GreaterThanAny(xpi.AsUInt64() & Vector256.
Create
(CosOperatorDouble.SignMask), Vector256.
Create
(CosOperatorDouble.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (1)
100
Vector256<ulong> sign = x.AsUInt64() & Vector256.
Create
(~(ulong)long.MaxValue);
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (2)
78
if (Vector256.GreaterThanAny(xpi.AsUInt64() & Vector256.
Create
(SinOperatorDouble.SignMask), Vector256.
Create
(SinOperatorDouble.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (2)
304
if (Vector256.GreaterThanAny(uxMasked.AsUInt64(), Vector256.
Create
(MaxVectorizedValue)))
342
Vector256<double> result = (poly.AsUInt64() ^ (x.AsUInt64() & Vector256.
Create
(~SignMask))).AsDouble();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (1)
102
Vector256<ulong> sign = x.AsUInt64() & Vector256.
Create
(~(ulong)long.MaxValue);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (3)
455
lowerBits = Avx2.Blend(lowerBits,
Create
(0x43300000_00000000UL).AsUInt32(), 0b10101010); // Blend the 32 lowest significant bits of vector with the bit representation of double(2^52) */
458
upperBits = Avx2.Xor(upperBits,
Create
(0x45300000_00000000UL)); // Blend upperBits with the bit representation of double(2^84)
460
Vector256<double> result = Avx.Subtract(upperBits.AsDouble(),
Create
(0x45300000_00100000UL).AsDouble()); // Compute in double precision: (upper - (2^84 + 2^52)) + lower
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (2)
1198
Vector256<byte> bitPositions = Avx2.Shuffle(Vector256.
Create
(0x8040201008040201).AsByte(), highNibbles);
1241
Vector256<byte> bitmask = Avx2.Shuffle(Vector256.
Create
(0x8040201008040201).AsByte(), highNibbles);
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
167
Vector256<byte> bitPositions = Avx512Vbmi.VL.PermuteVar32x8(Vector256.
Create
(0x8040201008040201).AsByte(), shifted);
203
Vector256<byte> bitPositions = Avx2.Shuffle(Vector256.
Create
(0x8040201008040201).AsByte(), shifted);