blob: 3688fd15a32dd5a5e5f81aef148cf397022fc2d7 [file] [log] [blame]
David Howellscb8db5d2012-10-12 13:05:52 +01001#ifndef _UAPI__ASMARM_HWCAP_H
2#define _UAPI__ASMARM_HWCAP_H
3
4/*
5 * HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP
6 */
7#define HWCAP_SWP (1 << 0)
8#define HWCAP_HALF (1 << 1)
9#define HWCAP_THUMB (1 << 2)
10#define HWCAP_26BIT (1 << 3) /* Play it safe */
11#define HWCAP_FAST_MULT (1 << 4)
12#define HWCAP_FPA (1 << 5)
13#define HWCAP_VFP (1 << 6)
14#define HWCAP_EDSP (1 << 7)
15#define HWCAP_JAVA (1 << 8)
16#define HWCAP_IWMMXT (1 << 9)
17#define HWCAP_CRUNCH (1 << 10)
18#define HWCAP_THUMBEE (1 << 11)
19#define HWCAP_NEON (1 << 12)
20#define HWCAP_VFPv3 (1 << 13)
Paul Walmsley39141dd2012-10-23 20:32:59 +010021#define HWCAP_VFPv3D16 (1 << 14) /* also set for VFPv4-D16 */
David Howellscb8db5d2012-10-12 13:05:52 +010022#define HWCAP_TLS (1 << 15)
23#define HWCAP_VFPv4 (1 << 16)
24#define HWCAP_IDIVA (1 << 17)
25#define HWCAP_IDIVT (1 << 18)
Paul Walmsley39141dd2012-10-23 20:32:59 +010026#define HWCAP_VFPD32 (1 << 19) /* set if VFP has 32 regs (not 16) */
David Howellscb8db5d2012-10-12 13:05:52 +010027#define HWCAP_IDIV (HWCAP_IDIVA | HWCAP_IDIVT)
28
29
30#endif /* _UAPI__ASMARM_HWCAP_H */