Closed
Description
For context see dotnet/runtime#2251 and #17556 (comment)
Usages of BMI2 in ASP.NET Core:
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)