mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
hf mf hardnested - added missing init
This commit is contained in:
parent
134ddf6313
commit
2305411a1d
1 changed files with 4 additions and 3 deletions
|
@ -559,6 +559,7 @@ void SetSIMDInstr(SIMDExecInstr instr) {
|
||||||
static SIMDExecInstr GetSIMDInstr(void) {
|
static SIMDExecInstr GetSIMDInstr(void) {
|
||||||
SIMDExecInstr instr;
|
SIMDExecInstr instr;
|
||||||
|
|
||||||
|
__builtin_cpu_init();
|
||||||
#if defined(COMPILER_HAS_SIMD_AVX512)
|
#if defined(COMPILER_HAS_SIMD_AVX512)
|
||||||
if (__builtin_cpu_supports("avx512f"))
|
if (__builtin_cpu_supports("avx512f"))
|
||||||
instr = SIMD_AVX512;
|
instr = SIMD_AVX512;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue