1 #ifndef __ARM_FEATURES_H__
2 #define __ARM_FEATURES_H__
4 #if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \
5 || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) \
6 || defined(__ARM_ARCH_7EM__)
12 #elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
13 || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \
14 || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__)
19 #elif defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5E__) \
20 || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__)
26 /* no need for HAVE_NEON - GCC defines __ARM_NEON__ consistently */
28 /* global function/external symbol */
30 #define ESYM(name) name
32 #define FUNCTION(name) \
34 .type name, %function; \
37 #define EXTRA_UNSAVED_REGS
40 #define ESYM(name) _##name
42 #define FUNCTION(name) \
47 // r7 is preserved, but add it for EABI alignment..
48 #define EXTRA_UNSAVED_REGS r7, r9,
52 #endif /* __ARM_FEATURES_H__ */