69 references to PackedSimd
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\TensorPrimitives.PopCount.cs (2)
87if (PackedSimd.IsSupported) 89return PackedSimd.PopCount(x.AsByte()).As<byte, T>();
System.Private.CoreLib (66)
src\libraries\Common\src\System\HexConverter.cs (8)
284if (BitConverter.IsLittleEndian && (Ssse3.IsSupported || AdvSimd.Arm64.IsSupported || PackedSimd.IsSupported) && 296if (BitConverter.IsLittleEndian && (Ssse3.IsSupported || AdvSimd.Arm64.IsSupported || PackedSimd.IsSupported) && 308[CompExactlyDependsOn(typeof(PackedSimd))] 311Debug.Assert(Ssse3.IsSupported || AdvSimd.Arm64.IsSupported || PackedSimd.IsSupported); 409else if (PackedSimd.IsSupported) 411Vector128<byte> shiftedNibbles = PackedSimd.ShiftLeft(nibbles, 4); 412Vector128<byte> zipped = PackedSimd.BitwiseSelect(nibbles, shiftedNibbles, Vector128.Create<ushort>(0xFF00).AsByte()); 413output = PackedSimd.AddPairwiseWidening(zipped).AsByte();
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2CharPackedIgnoreCaseSearchValues.cs (2)
54[CompExactlyDependsOn(typeof(PackedSimd))] 62[CompExactlyDependsOn(typeof(PackedSimd))]
src\libraries\System.Private.CoreLib\src\System\SearchValues\AnyByteSearchValues.cs (6)
28[CompExactlyDependsOn(typeof(PackedSimd))] 36[CompExactlyDependsOn(typeof(PackedSimd))] 44[CompExactlyDependsOn(typeof(PackedSimd))] 52[CompExactlyDependsOn(typeof(PackedSimd))] 60[CompExactlyDependsOn(typeof(PackedSimd))] 68[CompExactlyDependsOn(typeof(PackedSimd))]
src\libraries\System.Private.CoreLib\src\System\SearchValues\AsciiByteSearchValues.cs (7)
23Debug.Assert(Ascii.IsValid(values) || (TUniqueLowNibble.Value && (AdvSimd.IsSupported || PackedSimd.IsSupported))); 44[CompExactlyDependsOn(typeof(PackedSimd))] 52[CompExactlyDependsOn(typeof(PackedSimd))] 60[CompExactlyDependsOn(typeof(PackedSimd))] 68[CompExactlyDependsOn(typeof(PackedSimd))] 76[CompExactlyDependsOn(typeof(PackedSimd))] 84[CompExactlyDependsOn(typeof(PackedSimd))]
src\libraries\System.Private.CoreLib\src\System\SearchValues\AsciiCharSearchValues.cs (7)
24Debug.Assert(Ascii.IsValid(values) || (TUniqueLowNibble.Value && (AdvSimd.IsSupported || PackedSimd.IsSupported))); 46[CompExactlyDependsOn(typeof(PackedSimd))] 54[CompExactlyDependsOn(typeof(PackedSimd))] 62[CompExactlyDependsOn(typeof(PackedSimd))] 70[CompExactlyDependsOn(typeof(PackedSimd))] 78[CompExactlyDependsOn(typeof(PackedSimd))] 86[CompExactlyDependsOn(typeof(PackedSimd))]
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (24)
33internal static bool IsVectorizationSupported => Ssse3.IsSupported || AdvSimd.Arm64.IsSupported || PackedSimd.IsSupported; 223index = (Ssse3.IsSupported || PackedSimd.IsSupported) && needleContainsZero 250index = (Ssse3.IsSupported || PackedSimd.IsSupported) && needleContainsZero 264[CompExactlyDependsOn(typeof(PackedSimd))] 274[CompExactlyDependsOn(typeof(PackedSimd))] 283[CompExactlyDependsOn(typeof(PackedSimd))] 421[CompExactlyDependsOn(typeof(PackedSimd))] 552[CompExactlyDependsOn(typeof(PackedSimd))] 561[CompExactlyDependsOn(typeof(PackedSimd))] 569[CompExactlyDependsOn(typeof(PackedSimd))] 700[CompExactlyDependsOn(typeof(PackedSimd))] 826[CompExactlyDependsOn(typeof(PackedSimd))] 834[CompExactlyDependsOn(typeof(PackedSimd))] 841[CompExactlyDependsOn(typeof(PackedSimd))] 975[CompExactlyDependsOn(typeof(PackedSimd))] 1104[CompExactlyDependsOn(typeof(PackedSimd))] 1120[CompExactlyDependsOn(typeof(PackedSimd))] 1206[CompExactlyDependsOn(typeof(PackedSimd))] 1365[CompExactlyDependsOn(typeof(PackedSimd))] 1375else if (PackedSimd.IsSupported) 1377return PackedSimd.ConvertNarrowingSaturateUnsigned(lowerMin, upperMin); 1403[CompExactlyDependsOn(typeof(PackedSimd))] 1414else if (PackedSimd.IsSupported) 1416return PackedSimd.ConvertNarrowingSaturateUnsigned(lower.AsInt16(), upper.AsInt16());
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (1)
261[CompExactlyDependsOn(typeof(PackedSimd))]
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticWithAsciiCharSearchValues.cs (4)
55if ((Ssse3.IsSupported || PackedSimd.IsSupported) && typeof(TOptimizations) == typeof(IndexOfAnyAsciiSearcher.Default)) 66Debug.Assert(!(Ssse3.IsSupported || PackedSimd.IsSupported) || !_inverseAsciiState.Lookup.Contains(0), 154if ((Ssse3.IsSupported || PackedSimd.IsSupported) && typeof(TOptimizations) == typeof(IndexOfAnyAsciiSearcher.Default)) 165Debug.Assert(!(Ssse3.IsSupported || PackedSimd.IsSupported) || !_inverseAsciiState.Lookup.Contains(0),
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (3)
156return (Ssse3.IsSupported || PackedSimd.IsSupported) && minInclusive == 0 164return (Ssse3.IsSupported || PackedSimd.IsSupported) && minInclusive == 0 184return (Ssse3.IsSupported || PackedSimd.IsSupported) && minInclusive == 0
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (2)
526else if (PackedSimd.IsSupported) 529return PackedSimd.ZeroExtendWideningLower(vec);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (2)
1680else if (PackedSimd.IsSupported) 1682return PackedSimd.ConvertNarrowingSaturateUnsigned(vectorFirst.AsInt16(), vectorSecond.AsInt16());
System.Runtime.Intrinsics (1)
artifacts\obj\System.Runtime.Intrinsics\Debug\net10.0\System.Runtime.Intrinsics.Forwards.cs (1)
23[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Intrinsics.Wasm.PackedSimd))]