Skip to content

Remove usage of BMI2 due to regression on AMD #18949

Closed
@gfoidl

Description

@gfoidl

For context see dotnet/runtime#2251 and #17556 (comment)

Usages of BMI2 in ASP.NET Core:

internal static class StringUtilities

Maybe put the usage of BMI2 under a toggle #if USE_BMI2 (or with a better name), so it can be switched on/off by configuration?

Of course we should do some benchmarks to validate if

  • this use case really regresses perf on AMD
  • the alternative solution doesn't regress other uses (Intel)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!Perfarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-kestrel

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions