Upgrading SpanHelpers with Vector512 (#86655)
authorDeepakRajendrakumaran <deepak.rajendrakumaran@intel.com>
Tue, 27 Jun 2023 03:31:12 +0000 (20:31 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2023 03:31:12 +0000 (23:31 -0400)
commitb16b29b1860cbb563d997efe1627ac8469ad1b39
treee473526022a3f4605daef09237720acbc854ba64
parent6d6fbe065e26c03177c49ace22dd45d5a0ae2551
Upgrading SpanHelpers with Vector512 (#86655)

* Adding required internal library methods to support Vector512.

* Making Vector512.IsHardwareAccelerated return 'False' on targets with Vector512Throttling issues

* SpanHelper library upgrades.

* Using AVX512 directly in packed implementation

* Fixing cpuid tests

* Cleanup + Addressing review comments

* Address review comments.
12 files changed:
src/coreclr/jit/compiler.cpp
src/coreclr/jit/compiler.h
src/coreclr/jit/hwintrinsic.cpp
src/libraries/System.Private.CoreLib/src/System/Numerics/BitOperations.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector512.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Byte.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Char.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.cs
src/tests/JIT/HardwareIntrinsics/X86/X86Base/CpuId.cs
src/tests/readytorun/HardwareIntrinsics/X86/CpuId.cs