From: gizmo98 Date: Fri, 13 Feb 2015 15:33:04 +0000 (+0100) Subject: arm_features.h Add ARM architectures 8A and 6M X-Git-Tag: r24l~887 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871bf1c4bfb98db8e58e3d2b37bb777ae2f41f43;p=pcsx_rearmed.git arm_features.h Add ARM architectures 8A and 6M Just copied macros from gcc source code: https://github.com/gcc-mirror/gcc/blob/113a5d9f83975b703ec06a1d2baa30604d322cf1/libatomic/config/arm/arm-config.h#L54 --- diff --git a/include/arm_features.h b/include/arm_features.h index bb48a2bf..1f749daa 100644 --- a/include/arm_features.h +++ b/include/arm_features.h @@ -1,7 +1,14 @@ #ifndef __ARM_FEATURES_H__ #define __ARM_FEATURES_H__ -#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \ +#if defined(__ARM_ARCH_8A__) + +#define HAVE_ARMV8 +#define HAVE_ARMV7 +#define HAVE_ARMV6 +#define HAVE_ARMV5 + +#elif defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \ || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) \ || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7S__) @@ -11,7 +18,8 @@ #elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \ || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \ - || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) + || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) \ + || defined(__ARM_ARCH_6M__) #define HAVE_ARMV6 #define HAVE_ARMV5