17 references to PackUnsignedSaturate
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Sse2.cs (1)
1225public static Vector128<byte> PackUnsignedSaturate(Vector128<short> left, Vector128<short> right) => PackUnsignedSaturate(left, right);
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (2)
1373return Sse2.PackUnsignedSaturate(lowerMin, upperMin); 1408return Sse2.PackUnsignedSaturate(lower.AsInt16(), upper.AsInt16());
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
233sourceLower = Sse2.PackUnsignedSaturate((source0 & Vector128.Create((ushort)255)).AsInt16(), (source1 & Vector128.Create((ushort)255)).AsInt16()); 234sourceUpper = Sse2.PackUnsignedSaturate((source0 >>> 8).AsInt16(), (source1 >>> 8).AsInt16());
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyHelper.cs (1)
222return Sse2.PackUnsignedSaturate(source0.AsInt16(), source1.AsInt16());
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (1)
1174return Sse2.PackUnsignedSaturate(source0, source1).AsByte();
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (2)
1276Vector128<uint> vecNarrow = Sse2.PackUnsignedSaturate(vecWide, vecWide).AsUInt32(); 1674return Sse2.PackUnsignedSaturate(vectorFirst.AsInt16(), vectorSecond.AsInt16());
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.cs (4)
813Vector128<byte> latin1Vector = Sse2.PackUnsignedSaturate(utf16VectorFirst, utf16VectorFirst); 854latin1Vector = Sse2.PackUnsignedSaturate(utf16VectorFirst, utf16VectorFirst); 896latin1Vector = Sse2.PackUnsignedSaturate(utf16VectorFirst, utf16VectorSecond); 931latin1Vector = Sse2.PackUnsignedSaturate(utf16VectorFirst, utf16VectorFirst);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.Helpers.cs (1)
59Vector128<uint> vecNarrow = Sse2.PackUnsignedSaturate(vecWide, vecWide).AsUInt32();
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.Transcoding.cs (3)
982Sse2.StoreScalar((ulong*)pOutputBuffer /* unaligned */, Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt64()); 1015Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32())); 1058Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.PackUnsignedSaturate(utf16Data, utf16Data).AsUInt32()));