blob: 973d82f13af60034138a21af02d3aeeb39f5ff62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <util/system/defaults.h>
namespace NArgonish {
/**
* Instruction sets for which Argon2 is optimized
*/
enum class EInstructionSet : ui32 {
REF = 0, /// Reference implementation
#if !defined(_arm64_)
SSE2 = 1, /// SSE2 optimized version
SSSE3 = 2, /// SSSE3 optimized version
SSE41 = 3, /// SSE4.1 optimized version
AVX2 = 4 /// AVX2 optimized version
#endif
};
}
|