-
-
Couldn't load subscription status.
- Fork 1k
Use "native" for .NET 8, don't use "serialize" for .NET 7 #2464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| if (HardwareIntrinsics.IsX86PopcntSupported) yield return "popcnt"; | ||
| if (HardwareIntrinsics.IsX86AvxVnniSupported) yield return "avxvnni"; | ||
| if (HardwareIntrinsics.IsX86SerializeSupported) yield return "serialize"; | ||
| if (HardwareIntrinsics.IsX86SerializeSupported && runtimeMoniker > RuntimeMoniker.NativeAot70) yield return "serialize"; // https://github.com/dotnet/BenchmarkDotNet/issues/2463#issuecomment-1809625008 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This list is missing intrinsics added in .NET 8 but maybe that's not relevant if this is for 7 and below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. But as you wrote, it's not relevant if we use "native" in .NET 8
Use "native" for .NET 8, don't use "serialize" for .NET 7.
fixes #2060
fixes #2463
cc @MichalStrehovsky