Skip to content

Commit 6625e45

Browse files
committed
feat(SpeedTest): Add more Instructions
1 parent 3ac0fab commit 6625e45

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/CryptoBase.SpeedTest/Program.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#if DEBUG
1616
Console.WriteLine(@"On Debug mode");
1717
#endif
18+
1819
if (Debugger.IsAttached)
1920
{
2021
Console.WriteLine(@"Debugger attached!");
@@ -73,12 +74,19 @@
7374
Console.WriteLine($@"Intel SHA extensions: {CpuIdUtils.IsSupportX86ShaEx()}");
7475
Console.WriteLine($@"AES instruction set: {X86Aes.IsSupported}");
7576
Console.WriteLine($@"Vector AES instruction: {CpuIdUtils.IsSupportX86VAes()}");
77+
// TODO: Gfni
7678

7779
Console.WriteLine($@"AVX-512 Foundation: {Avx512F.IsSupported}");
7880
Console.WriteLine($@"AVX-512 Conflict Detection Instructions: {Avx512CD.IsSupported}");
7981
Console.WriteLine($@"AVX-512 Byte and Word Instructions: {Avx512BW.IsSupported}");
8082
Console.WriteLine($@"AVX-512 Doubleword and Quadword Instructions: {Avx512DQ.IsSupported}");
81-
Console.WriteLine($@"AVX-512 Vector Byte Manipulation Instructions: {Avx512Vbmi.IsSupported}");
83+
Console.WriteLine($@"AVX-512 Vector Bit Manipulation Instructions: {Avx512Vbmi.IsSupported}");
84+
// TODO: Console.WriteLine($@"AVX-512 Vector Bit Manipulation Instructions 2: {Avx512Vbmi2.IsSupported}");
85+
86+
Console.WriteLine($@"AVX10.1: {Avx10v1.IsSupported}");
87+
Console.WriteLine($@"AVX10.1/512: {Avx10v1.V512.IsSupported}");
88+
// TODO: Console.WriteLine($@"AVX10.2: {Avx10v2.IsSupported}");
89+
// TODO: Console.WriteLine($@"AVX10.2/512: {Avx10v2.V512.IsSupported}");
8290

8391
Console.WriteLine($@"Seconds: {seconds}s");
8492
Console.WriteLine($@"Buffer size: {bytes} bytes");

0 commit comments

Comments
 (0)