blob: 44853a48667f2c543e486a0e2de9964f9c9c47e7 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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__ASM_HWCAP_H
20#define _UAPI__ASM_HWCAP_H
21#define HWCAP_FP (1 << 0)
22#define HWCAP_ASIMD (1 << 1)
Christopher Ferris38062f92014-07-09 15:33:25 -070023#define HWCAP_EVTSTRM (1 << 2)
24#define HWCAP_AES (1 << 3)
25#define HWCAP_PMULL (1 << 4)
26#define HWCAP_SHA1 (1 << 5)
Christopher Ferris38062f92014-07-09 15:33:25 -070027#define HWCAP_SHA2 (1 << 6)
28#define HWCAP_CRC32 (1 << 7)
Christopher Ferris05d08e92016-02-04 13:16:38 -080029#define HWCAP_ATOMICS (1 << 8)
Christopher Ferris106b3a82016-08-24 12:15:38 -070030#define HWCAP_FPHP (1 << 9)
Christopher Ferris106b3a82016-08-24 12:15:38 -070031#define HWCAP_ASIMDHP (1 << 10)
Christopher Ferris525ce912017-07-26 13:12:53 -070032#define HWCAP_CPUID (1 << 11)
33#define HWCAP_ASIMDRDM (1 << 12)
34#define HWCAP_JSCVT (1 << 13)
35#define HWCAP_FCMA (1 << 14)
36#define HWCAP_LRCPC (1 << 15)
Christopher Ferris1308ad32017-11-14 17:32:13 -080037#define HWCAP_DCPOP (1 << 16)
Christopher Ferris934ec942018-01-31 15:29:16 -080038#define HWCAP_SHA3 (1 << 17)
39#define HWCAP_SM3 (1 << 18)
40#define HWCAP_SM4 (1 << 19)
41#define HWCAP_ASIMDDP (1 << 20)
42#define HWCAP_SHA512 (1 << 21)
43#define HWCAP_SVE (1 << 22)
Christopher Ferris76a1d452018-06-27 14:12:29 -070044#define HWCAP_ASIMDFHM (1 << 23)
45#define HWCAP_DIT (1 << 24)
46#define HWCAP_USCAT (1 << 25)
47#define HWCAP_ILRCPC (1 << 26)
48#define HWCAP_FLAGM (1 << 27)
Christopher Ferris86a48372019-01-10 14:14:59 -080049#define HWCAP_SSBS (1 << 28)
Christopher Ferrisd842e432019-03-07 10:21:59 -080050#define HWCAP_SB (1 << 29)
51#define HWCAP_PACA (1 << 30)
52#define HWCAP_PACG (1UL << 31)
Christopher Ferris106b3a82016-08-24 12:15:38 -070053#endif