Initial rebase of xerpi's port

This commit is contained in:
Ivan Epifanov authored and Sam Lantinga committed 2021-03-08 09:07:12 -08:00
1 parent bd06538778
commit 2d64e37e41
36 files changed
+2940

No files matched your search

+2
View File
@@ -450,6 +450,8 @@ CPU_haveNEON(void)
return IsProcessorFeaturePresent(PF_ARM_NEON_INSTRUCTIONS_AVAILABLE) != 0;
#elif (defined(__ARM_ARCH) && (__ARM_ARCH >= 8)) || defined(__aarch64__)
return 1; /* ARMv8 always has non-optional NEON support. */
#elif __VITA__
return 1;
#elif defined(__APPLE__) && defined(__ARM_ARCH) && (__ARM_ARCH >= 7)
/* (note that sysctlbyname("hw.optional.neon") doesn't work!) */
return 1; /* all Apple ARMv7 chips and later have NEON. */