diff options
author | gizmo98 | 2015-02-13 16:33:04 +0100 |
---|---|---|
committer | notaz | 2015-02-14 19:29:33 +0200 |
commit | 663fc55992e210a2b0299764bacac3663f32613b (patch) | |
tree | d5494459c9e8ae081998e8fe740fb6f6167ca2fa /include | |
parent | 1e0eac2348343c8a046f7a75d460f087556cf7f6 (diff) | |
download | pcsx_rearmed-663fc55992e210a2b0299764bacac3663f32613b.tar.gz pcsx_rearmed-663fc55992e210a2b0299764bacac3663f32613b.tar.bz2 pcsx_rearmed-663fc55992e210a2b0299764bacac3663f32613b.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/arm_features.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/arm_features.h b/include/arm_features.h index bb48a2b..1f749da 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 |