18 references to AsSByte
System.Private.CoreLib (18)
src\libraries\Common\src\System\HexConverter.cs (1)
309Vector128.Create((short)0x0110).AsSByte()).AsByte();
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (3)
1068Vector128<sbyte> lutShift = Vector128.Create(decoder.Vector128LutShift).AsSByte(); 1069Vector128<sbyte> packBytesMask = Vector128.Create(0x06000102, 0x090A0405, 0x0C0D0E08, 0xffffffff).AsSByte(); 1104merge_ab_and_bc = Ssse3.MultiplyAddAdjacent(str.AsByte(), mergeConstant0.AsSByte());
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (2)
566Vector128<sbyte> mask = Vector128.GreaterThan(str.AsSByte(), const25); 569Vector128<sbyte> tmp = indices.AsSByte() - mask;
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (2)
1155? AdvSimd.ShiftRightArithmetic(source.AsSByte(), 4).AsByte() 1220Vector128<byte> mask = Vector128.GreaterThan(highNibbles.AsSByte(), Vector128.Create((sbyte)0x7)).AsByte();
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (2)
347Vector128<byte> matches = Vector128.LessThan((input - subtraction).AsSByte(), comparison.AsSByte()).AsByte();
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (2)
509return Vector128.LessThan(left.AsSByte(), right.AsSByte()).As<sbyte, T>();
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
74Vector128<byte> mostSignificantBitIsSet = AdvSimd.ShiftRightArithmetic(value.AsSByte(), 7).AsByte();
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.cs (4)
276Vector128<sbyte> lowIndicator1 = Vector128.Create((sbyte)(0x80 - 'A')) + vec1.AsSByte(); 277Vector128<sbyte> lowIndicator2 = Vector128.Create((sbyte)(0x80 - 'A')) + vec2.AsSByte(); 287Vector128.AndNot(Vector128.Create((sbyte)0x20), combIndicator1) + vec1.AsSByte(); 289Vector128.AndNot(Vector128.Create((sbyte)0x20), combIndicator2) + vec2.AsSByte();
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8Utility.Validation.cs (1)
760Vector128<byte> mostSignificantBitIsSet = AdvSimd.ShiftRightArithmetic(value.AsSByte(), 7).AsByte();