blob: 2a3c80980165631d3c9842c37100d3fb2440c9a8 [file] [log] [blame]
Ben Chenga6b53f02013-11-06 15:51:05 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI__ASMARM_HWCAP_H
20#define _UAPI__ASMARM_HWCAP_H
21#define HWCAP_SWP (1 << 0)
22#define HWCAP_HALF (1 << 1)
Ben Chenga6b53f02013-11-06 15:51:05 -080023#define HWCAP_THUMB (1 << 2)
24#define HWCAP_26BIT (1 << 3)
25#define HWCAP_FAST_MULT (1 << 4)
26#define HWCAP_FPA (1 << 5)
Ben Chenga6b53f02013-11-06 15:51:05 -080027#define HWCAP_VFP (1 << 6)
28#define HWCAP_EDSP (1 << 7)
29#define HWCAP_JAVA (1 << 8)
30#define HWCAP_IWMMXT (1 << 9)
Ben Chenga6b53f02013-11-06 15:51:05 -080031#define HWCAP_CRUNCH (1 << 10)
32#define HWCAP_THUMBEE (1 << 11)
33#define HWCAP_NEON (1 << 12)
34#define HWCAP_VFPv3 (1 << 13)
Ben Chenga6b53f02013-11-06 15:51:05 -080035#define HWCAP_VFPv3D16 (1 << 14)
36#define HWCAP_TLS (1 << 15)
37#define HWCAP_VFPv4 (1 << 16)
38#define HWCAP_IDIVA (1 << 17)
Ben Chenga6b53f02013-11-06 15:51:05 -080039#define HWCAP_IDIVT (1 << 18)
40#define HWCAP_VFPD32 (1 << 19)
41#define HWCAP_IDIV (HWCAP_IDIVA | HWCAP_IDIVT)
Christopher Ferris38062f92014-07-09 15:33:25 -070042#define HWCAP_LPAE (1 << 20)
Christopher Ferris38062f92014-07-09 15:33:25 -070043#define HWCAP_EVTSTRM (1 << 21)
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080044#define HWCAP_FPHP (1 << 22)
45#define HWCAP_ASIMDHP (1 << 23)
46#define HWCAP_ASIMDDP (1 << 24)
47#define HWCAP_ASIMDFHM (1 << 25)
48#define HWCAP_ASIMDBF16 (1 << 26)
49#define HWCAP_I8MM (1 << 27)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070050#define HWCAP2_AES (1 << 0)
51#define HWCAP2_PMULL (1 << 1)
52#define HWCAP2_SHA1 (1 << 2)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070053#define HWCAP2_SHA2 (1 << 3)
54#define HWCAP2_CRC32 (1 << 4)
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080055#define HWCAP2_SB (1 << 5)
56#define HWCAP2_SSBS (1 << 6)
Christopher Ferris38062f92014-07-09 15:33:25 -070057#endif