1 /* $NetBSD: cdefs.h,v 1.9 2013/08/17 00:21:47 matt Exp $ */
6 #if defined (__ARM_ARCH_7__) || defined (__ARM_ARCH_7A__) || \
7 defined (__ARM_ARCH_7R__) || defined (__ARM_ARCH_7M__) || \
8 defined (__ARM_ARCH_7EM__) /* 7R, 7M, 7EM are for non MMU arms */
12 #if defined (_ARM_ARCH_7) || defined (__ARM_ARCH_6T2__)
13 #define _ARM_ARCH_T2 /* Thumb2 */
16 #if defined (_ARM_ARCH_T2) || defined (__ARM_ARCH_6__) || \
17 defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6K__) || \
18 defined (__ARM_ARCH_6Z__) || defined (__ARM_ARCH_6ZK__) || \
19 defined (__ARM_ARCH_6ZM__)
23 #if defined (_ARM_ARCH_6) || defined (__ARM_ARCH_5T__) || \
24 defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__)
28 #if defined (_ARM_ARCH_6) || defined (_ARM_ARCH_5T) || defined (__ARM_ARCH_5__)
32 #if defined (_ARM_ARCH_5) || defined (__ARM_ARCH_4T__)
36 #if defined (_ARM_ARCH_T2) || \
37 (!defined (__thumb__) && \
38 (defined (_ARM_ARCH_6) || defined (__ARM_ARCH_5TE__) || \
39 defined (__ARM_ARCH_5TEJ__)))
40 #define _ARM_ARCH_DWORD_OK
44 #define __ALIGNBYTES (8 - 1)
46 #define __ALIGNBYTES (sizeof(int) - 1)
49 #endif /* !_ARM_CDEFS_H_ */