We should start adding more C++ intrinsics helper methods and start consuming them in runtime and JIT codebase for throughput increase. E.g. https://github.com/dotnet/runtime/pull/69333 changes the genLog2() implementation of Arm64 to use BitScanForward.
Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.
Issue Details
We should start adding more C++ intrinsics helper methods and start consuming them in runtime and JIT codebase for throughput increase. E.g. https://github.com/dotnet/runtime/pull/69333 changes the `genLog2()` implementation of Arm64 to use [BitScanForward](https://docs.microsoft.com/en-us/cpp/intrinsics/bitscanforward-bitscanforward64?view=msvc-170).
We should start adding more C++ intrinsics helper methods and start consuming them in runtime and JIT codebase for throughput increase. E.g. https://github.com/dotnet/runtime/pull/69333 changes the
genLog2()
implementation of Arm64 to use BitScanForward.category:implementation theme:throughput skill-level:intermediate cost:medium impact:small