13 references to AsInt16
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (2)
456
sizeof(T) == sizeof(short) ? Vector256.LessThan(indices1.
AsInt16
(), indices2.
AsInt16
()).As<short, T>() :
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
761
Vector256<short> mergeConstant1 = Vector256.Create(0x00011000).
AsInt16
();
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (2)
255
Vector256<short> shiftBB = Vector256.Create(0x01000010).
AsInt16
();
325
Vector256<short> t3 = Avx2.MultiplyLow(t2.
AsInt16
(), shiftBB);
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (2)
1430
return Avx2.PackUnsignedSaturate(lower.
AsInt16
(), upper.
AsInt16
());
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
184
(source0 & Vector256.Create((ushort)255)).
AsInt16
(),
185
(source1 & Vector256.Create((ushort)255)).
AsInt16
());
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyHelper.cs (2)
245
Vector256<byte> packed = Avx2.PackUnsignedSaturate(source0.
AsInt16
(), source1.
AsInt16
());
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (2)
1694
? PackedSpanHelpers.FixUpPackedVector256Result(Avx2.PackUnsignedSaturate(vectorFirst.
AsInt16
(), vectorSecond.
AsInt16
()))