Skip to content

Commit 75c06fb

Browse files
committed
Updated CPU detection for ARMv7
1 parent 8a0ce07 commit 75c06fb

File tree

2 files changed

+363
-296
lines changed

2 files changed

+363
-296
lines changed

include/private/dsp/arch/arm/features.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626

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

29-
#ifdef PLATFORM_POSIX
29+
#if defined(PLATFORM_MACOSX)
30+
#define HWCAP_NEON (1 << 0)
31+
#define HWCAP_ARM_VFPD32 (1 << 1)
32+
#elif defined(PLATFORM_POSIX)
3033
#include <sys/auxv.h>
3134
#endif /* PLATFORM_POSIX */
3235

0 commit comments

Comments
 (0)