Skip to content

Investigate some potential perf improvements in Number.BigInteger.cs #11950

@tannergooding

Description

@tannergooding

The floating-point formatting/parsing code currently uses an internal BigInteger ref struct that would likely benefit from using specific hardware intrinsics.

We should investigate using the BMI intrinsics, where possible and also look at exposing new intrinsics around AddWithCarry and Multiply128, both of which can simplify some of the more complex codegen down to a single instruction. You can see dotnet/coreclr#22040 (comment) for some more details and the surrounding discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions