18 references to PackUnsignedSaturate
System.Private.CoreLib (18)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Sse2.cs (1)
1249
public static Vector128<byte> PackUnsignedSaturate(Vector128<short> left, Vector128<short> right) =>
PackUnsignedSaturate
(left, right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (2)
1398
return Sse2.
PackUnsignedSaturate
(lowerMin, upperMin);
1433
return Sse2.
PackUnsignedSaturate
(lower.AsInt16(), upper.AsInt16());
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
234
sourceLower = Sse2.
PackUnsignedSaturate
((source0 & Vector128.Create((ushort)255)).AsInt16(), (source1 & Vector128.Create((ushort)255)).AsInt16());
235
sourceUpper = Sse2.
PackUnsignedSaturate
((source0 >>> 8).AsInt16(), (source1 >>> 8).AsInt16());
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyHelper.cs (1)
230
return Sse2.
PackUnsignedSaturate
(source0.AsInt16(), source1.AsInt16());
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (1)
399
? Sse2.
PackUnsignedSaturate
(input0.AsInt16(), input1.AsInt16())
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (1)
1174
return Sse2.
PackUnsignedSaturate
(source0, source1).AsByte();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (2)
1280
Vector128<uint> vecNarrow = Sse2.
PackUnsignedSaturate
(vecWide, vecWide).AsUInt32();
1679
return Sse2.
PackUnsignedSaturate
(vectorFirst.AsInt16(), vectorSecond.AsInt16());
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.cs (4)
814
Vector128<byte> latin1Vector = Sse2.
PackUnsignedSaturate
(utf16VectorFirst, utf16VectorFirst);
855
latin1Vector = Sse2.
PackUnsignedSaturate
(utf16VectorFirst, utf16VectorFirst);
897
latin1Vector = Sse2.
PackUnsignedSaturate
(utf16VectorFirst, utf16VectorSecond);
932
latin1Vector = Sse2.
PackUnsignedSaturate
(utf16VectorFirst, utf16VectorFirst);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.Helpers.cs (1)
59
Vector128<uint> vecNarrow = Sse2.
PackUnsignedSaturate
(vecWide, vecWide).AsUInt32();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.Transcoding.cs (3)
984
Sse2.StoreScalar((ulong*)pOutputBuffer /* unaligned */, Sse2.
PackUnsignedSaturate
(utf16Data, utf16Data).AsUInt64());
1028
Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.
PackUnsignedSaturate
(utf16Data, utf16Data).AsUInt32()));
1076
Unsafe.WriteUnaligned(pOutputBuffer, Sse2.ConvertToUInt32(Sse2.
PackUnsignedSaturate
(utf16Data, utf16Data).AsUInt32()));