13 references to AsInt16
System.Numerics.Tensors (6)
System\Numerics\Tensors\netcore\TensorPrimitives.Half.cs (4)
340
TUnary.Invoke(xVecUpper)).
AsInt16
();
379
TBinary.Invoke(xVecUpper, yVecUpper)).
AsInt16
();
418
TAggregate.Invoke(xVecUpper, yVecUpper)).
AsInt16
();
487
TTernary.Invoke(xVecUpper, yVecUpper, zVecUpper)).
AsInt16
();
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (2)
463
sizeof(T) == sizeof(short) ? Vector512.LessThan(indices1.
AsInt16
(), indices2.
AsInt16
()).As<short, T>() :
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
673
Vector512<short> mergeConstant1 = Vector512.Create(0x00011000).
AsInt16
();
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyHelper.cs (2)
271
Vector512<byte> packed = Avx512BW.PackUnsignedSaturate(source0.
AsInt16
(), source1.
AsInt16
());
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (2)
414
Vector512.LoadUnsafe(ref Unsafe.AddByteOffset(ref searchSpace, byteOffset)).
AsInt16
(),
415
Vector512.LoadUnsafe(ref Unsafe.AddByteOffset(ref searchSpace, byteOffset + (uint)Vector512<byte>.Count)).
AsInt16
());
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (2)
1702
? PackedSpanHelpers.FixUpPackedVector512Result(Avx512BW.PackUnsignedSaturate(vectorFirst.
AsInt16
(), vectorSecond.
AsInt16
()))