notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compile error and player2 support
[pcsx_rearmed.git]
/
include
/
arm_features.h
diff --git
a/include/arm_features.h
b/include/arm_features.h
index
abfd876
..
1f749da
100644
(file)
--- a/
include/arm_features.h
+++ b/
include/arm_features.h
@@
-1,9
+1,16
@@
#ifndef __ARM_FEATURES_H__
#define __ARM_FEATURES_H__
#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_7R__) || defined(__ARM_ARCH_7M__) \
- || defined(__ARM_ARCH_7EM__)
+ || defined(__ARM_ARCH_7EM__)
|| defined(__ARM_ARCH_7S__)
#define HAVE_ARMV7
#define HAVE_ARMV6
#define HAVE_ARMV7
#define HAVE_ARMV6
@@
-11,7
+18,8
@@
#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
|| defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \
#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
#define HAVE_ARMV6
#define HAVE_ARMV5
@@
-34,6
+42,8
@@
.type name, %function; \
name
.type name, %function; \
name
+#define EXTRA_UNSAVED_REGS
+
#else
#define ESYM(name) _##name
#else
#define ESYM(name) _##name
@@
-42,6
+52,9
@@
name: \
ESYM(name)
name: \
ESYM(name)
+// r7 is preserved, but add it for EABI alignment..
+#define EXTRA_UNSAVED_REGS r7, r9,
+
#endif
#endif /* __ARM_FEATURES_H__ */
#endif
#endif /* __ARM_FEATURES_H__ */