Skip to content

Commit 7fb8723

Browse files
Print Vector width in summary on older runtimes (#2066)
This might help with noticing that legacy Mono does only 128bit SIMD even on AVX2 hardware.
1 parent 2dc6c93 commit 7fb8723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BenchmarkDotNet/Portability/Cpu/HardwareIntrinsics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ internal static string GetShortInfo()
3939
else if (IsArmBaseSupported)
4040
return "ArmBase";
4141
else
42-
return string.Empty; // Runtimes prior to .NET Core 3.0 (APIs did not exist)
42+
return GetVectorSize(); // Runtimes prior to .NET Core 3.0 (APIs did not exist so we print non-exact Vector info)
4343
}
4444

4545
internal static string GetFullInfo(Platform platform)

0 commit comments

Comments
 (0)