Skip to content

Commit

Permalink
Updated CPU detection for ARMv7
Browse files Browse the repository at this point in the history
  • Loading branch information
sadko4u committed Nov 30, 2024
1 parent 8a0ce07 commit 9774ee4
Show file tree
Hide file tree
Showing 2 changed files with 370 additions and 296 deletions.
5 changes: 4 additions & 1 deletion include/private/dsp/arch/arm/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

#if defined(ARCH_ARM6) || defined(ARCH_ARM7)

#ifdef PLATFORM_POSIX
#if defined(PLATFORM_MACOSX)
#define HWCAP_NEON (1 << 0)
#define HWCAP_ARM_VFPD32 (1 << 1)
#elif defined(PLATFORM_POSIX)
#include <sys/auxv.h>
#endif /* PLATFORM_POSIX */

Expand Down
Loading

0 comments on commit 9774ee4

Please sign in to comment.