mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix #1173 - added guards
This commit is contained in:
parent
6a13a0c349
commit
05c5985073
1 changed files with 3 additions and 0 deletions
|
@ -559,7 +559,10 @@ void SetSIMDInstr(SIMDExecInstr instr) {
|
|||
static SIMDExecInstr GetSIMDInstr(void) {
|
||||
SIMDExecInstr instr;
|
||||
|
||||
#if defined(COMPILER_HAS_SIMD)
|
||||
__builtin_cpu_init();
|
||||
#endif
|
||||
|
||||
#if defined(COMPILER_HAS_SIMD_AVX512)
|
||||
if (__builtin_cpu_supports("avx512f"))
|
||||
instr = SIMD_AVX512;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue