mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix hardnested switch-enum
This commit is contained in:
parent
09903384fa
commit
d2f9fb6084
1 changed files with 7 additions and 0 deletions
|
@ -52,13 +52,20 @@ THE SOFTWARE.
|
||||||
|
|
||||||
#include "hardnested_bruteforce.h" // statelist_t
|
#include "hardnested_bruteforce.h" // statelist_t
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SIMD_AUTO,
|
SIMD_AUTO,
|
||||||
|
#if defined (__i386__) || defined (__x86_64__)
|
||||||
|
#if !defined(__APPLE__) || (defined(__APPLE__) && (__clang_major__ > 8 || __clang_major__ == 8 && __clang_minor__ >= 1))
|
||||||
|
#if (__GNUC__ >= 5) && (__GNUC__ > 5 || __GNUC_MINOR__ > 2)
|
||||||
SIMD_AVX512,
|
SIMD_AVX512,
|
||||||
|
#endif
|
||||||
SIMD_AVX2,
|
SIMD_AVX2,
|
||||||
SIMD_AVX,
|
SIMD_AVX,
|
||||||
SIMD_SSE2,
|
SIMD_SSE2,
|
||||||
SIMD_MMX,
|
SIMD_MMX,
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
SIMD_NONE,
|
SIMD_NONE,
|
||||||
} SIMDExecInstr;
|
} SIMDExecInstr;
|
||||||
void SetSIMDInstr(SIMDExecInstr instr);
|
void SetSIMDInstr(SIMDExecInstr instr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue