Skip to content

Commit

Permalink
Fix names of instructions sets for PublishAot scenarios (#2566)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky committed Apr 22, 2024
1 parent a24d689 commit d98a1d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/BenchmarkDotNet/Toolchains/NativeAot/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ private IEnumerable<string> GetCurrentProcessInstructionSets(Platform platform)
if (HardwareIntrinsics.IsX86Sse42Supported) yield return "sse4.2";
if (HardwareIntrinsics.IsX86AvxSupported) yield return "avx";
if (HardwareIntrinsics.IsX86Avx2Supported) yield return "avx2";
if (HardwareIntrinsics.IsX86Avx512FSupported) yield return "avx-512f";
if (HardwareIntrinsics.IsX86Avx512BWSupported) yield return "avx-512bw";
if (HardwareIntrinsics.IsX86Avx512CDSupported) yield return "avx-512cd";
if (HardwareIntrinsics.IsX86Avx512DQSupported) yield return "avx-512dq";
if (HardwareIntrinsics.IsX86Avx512VbmiSupported) yield return "avx-512vbmi";
if (HardwareIntrinsics.IsX86Avx512FSupported) yield return "avx512f";
if (HardwareIntrinsics.IsX86Avx512BWSupported) yield return "avx512bw";
if (HardwareIntrinsics.IsX86Avx512CDSupported) yield return "avx512cd";
if (HardwareIntrinsics.IsX86Avx512DQSupported) yield return "avx512dq";
if (HardwareIntrinsics.IsX86Avx512VbmiSupported) yield return "avx512vbmi";
if (HardwareIntrinsics.IsX86AesSupported) yield return "aes";
if (HardwareIntrinsics.IsX86Bmi1Supported) yield return "bmi";
if (HardwareIntrinsics.IsX86Bmi2Supported) yield return "bmi2";
Expand Down

0 comments on commit d98a1d2

Please sign in to comment.