blob: 11946f1ccb9f1e2e22139543e764b424074f1e66 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI__ASM_HWCAP_H
8#define _UAPI__ASM_HWCAP_H
9#define HWCAP_FP (1 << 0)
10#define HWCAP_ASIMD (1 << 1)
Christopher Ferris38062f92014-07-09 15:33:25 -070011#define HWCAP_EVTSTRM (1 << 2)
12#define HWCAP_AES (1 << 3)
13#define HWCAP_PMULL (1 << 4)
14#define HWCAP_SHA1 (1 << 5)
Christopher Ferris38062f92014-07-09 15:33:25 -070015#define HWCAP_SHA2 (1 << 6)
16#define HWCAP_CRC32 (1 << 7)
Christopher Ferris05d08e92016-02-04 13:16:38 -080017#define HWCAP_ATOMICS (1 << 8)
Christopher Ferris106b3a82016-08-24 12:15:38 -070018#define HWCAP_FPHP (1 << 9)
Christopher Ferris106b3a82016-08-24 12:15:38 -070019#define HWCAP_ASIMDHP (1 << 10)
Christopher Ferris525ce912017-07-26 13:12:53 -070020#define HWCAP_CPUID (1 << 11)
21#define HWCAP_ASIMDRDM (1 << 12)
22#define HWCAP_JSCVT (1 << 13)
23#define HWCAP_FCMA (1 << 14)
24#define HWCAP_LRCPC (1 << 15)
Christopher Ferris1308ad32017-11-14 17:32:13 -080025#define HWCAP_DCPOP (1 << 16)
Christopher Ferris934ec942018-01-31 15:29:16 -080026#define HWCAP_SHA3 (1 << 17)
27#define HWCAP_SM3 (1 << 18)
28#define HWCAP_SM4 (1 << 19)
29#define HWCAP_ASIMDDP (1 << 20)
30#define HWCAP_SHA512 (1 << 21)
31#define HWCAP_SVE (1 << 22)
Christopher Ferris76a1d452018-06-27 14:12:29 -070032#define HWCAP_ASIMDFHM (1 << 23)
33#define HWCAP_DIT (1 << 24)
34#define HWCAP_USCAT (1 << 25)
35#define HWCAP_ILRCPC (1 << 26)
36#define HWCAP_FLAGM (1 << 27)
Christopher Ferris86a48372019-01-10 14:14:59 -080037#define HWCAP_SSBS (1 << 28)
Christopher Ferrisd842e432019-03-07 10:21:59 -080038#define HWCAP_SB (1 << 29)
39#define HWCAP_PACA (1 << 30)
40#define HWCAP_PACG (1UL << 31)
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070041#define HWCAP2_DCPODP (1 << 0)
42#define HWCAP2_SVE2 (1 << 1)
43#define HWCAP2_SVEAES (1 << 2)
44#define HWCAP2_SVEPMULL (1 << 3)
45#define HWCAP2_SVEBITPERM (1 << 4)
46#define HWCAP2_SVESHA3 (1 << 5)
47#define HWCAP2_SVESM4 (1 << 6)
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070048#define HWCAP2_FLAGM2 (1 << 7)
49#define HWCAP2_FRINT (1 << 8)
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070050#define HWCAP2_SVEI8MM (1 << 9)
51#define HWCAP2_SVEF32MM (1 << 10)
52#define HWCAP2_SVEF64MM (1 << 11)
53#define HWCAP2_SVEBF16 (1 << 12)
54#define HWCAP2_I8MM (1 << 13)
55#define HWCAP2_BF16 (1 << 14)
56#define HWCAP2_DGH (1 << 15)
57#define HWCAP2_RNG (1 << 16)
Christopher Ferris8177cdf2020-08-03 11:53:55 -070058#define HWCAP2_BTI (1 << 17)
Christopher Ferris32ff3f82020-12-14 13:10:04 -080059#define HWCAP2_MTE (1 << 18)
Christopher Ferrisa4792612022-01-10 13:51:15 -080060#define HWCAP2_ECV (1 << 19)
Christopher Ferris1ed55342022-03-22 16:06:25 -070061#define HWCAP2_AFP (1 << 20)
62#define HWCAP2_RPRES (1 << 21)
Christopher Ferris10a76e62022-06-08 13:31:52 -070063#define HWCAP2_MTE3 (1 << 22)
Christopher Ferris80ae69d2022-08-02 16:32:21 -070064#define HWCAP2_SME (1 << 23)
65#define HWCAP2_SME_I16I64 (1 << 24)
66#define HWCAP2_SME_F64F64 (1 << 25)
67#define HWCAP2_SME_I8I32 (1 << 26)
68#define HWCAP2_SME_F16F32 (1 << 27)
69#define HWCAP2_SME_B16F32 (1 << 28)
70#define HWCAP2_SME_F32F32 (1 << 29)
71#define HWCAP2_SME_FA64 (1 << 30)
72#define HWCAP2_WFXT (1UL << 31)
Christopher Ferris7447a1c2022-10-04 18:24:44 -070073#define HWCAP2_EBF16 (1UL << 32)
Christopher Ferris6cd53a52022-12-12 23:39:16 +000074#define HWCAP2_SVE_EBF16 (1UL << 33)
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080075#define HWCAP2_CSSC (1UL << 34)
76#define HWCAP2_RPRFM (1UL << 35)
77#define HWCAP2_SVE2P1 (1UL << 36)
Christopher Ferrisb7cef6d2023-05-09 19:04:15 +000078#define HWCAP2_SME2 (1UL << 37)
79#define HWCAP2_SME2P1 (1UL << 38)
80#define HWCAP2_SME_I16I32 (1UL << 39)
81#define HWCAP2_SME_BI32I32 (1UL << 40)
82#define HWCAP2_SME_B16B16 (1UL << 41)
83#define HWCAP2_SME_F16F16 (1UL << 42)
Christopher Ferris8666d042023-09-06 14:55:31 -070084#define HWCAP2_MOPS (1UL << 43)
Christopher Ferris67d1e5e2023-10-31 13:36:37 -070085#define HWCAP2_HBC (1UL << 44)
Christopher Ferris106b3a82016-08-24 12:15:38 -070086#endif