Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 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 Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 23 | #define HWCAP_EVTSTRM (1 << 2) |
| 24 | #define HWCAP_AES (1 << 3) |
| 25 | #define HWCAP_PMULL (1 << 4) |
| 26 | #define HWCAP_SHA1 (1 << 5) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 27 | #define HWCAP_SHA2 (1 << 6) |
| 28 | #define HWCAP_CRC32 (1 << 7) |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 29 | #define HWCAP_ATOMICS (1 << 8) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 30 | #define HWCAP_FPHP (1 << 9) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 31 | #define HWCAP_ASIMDHP (1 << 10) |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 32 | #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 Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 37 | #define HWCAP_DCPOP (1 << 16) |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 38 | #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 Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 44 | #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 Ferris | 86a4837 | 2019-01-10 14:14:59 -0800 | [diff] [blame] | 49 | #define HWCAP_SSBS (1 << 28) |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 50 | #define HWCAP_SB (1 << 29) |
| 51 | #define HWCAP_PACA (1 << 30) |
| 52 | #define HWCAP_PACG (1UL << 31) |
Christopher Ferris | aeddbcf | 2019-07-08 12:45:46 -0700 | [diff] [blame] | 53 | #define HWCAP2_DCPODP (1 << 0) |
| 54 | #define HWCAP2_SVE2 (1 << 1) |
| 55 | #define HWCAP2_SVEAES (1 << 2) |
| 56 | #define HWCAP2_SVEPMULL (1 << 3) |
| 57 | #define HWCAP2_SVEBITPERM (1 << 4) |
| 58 | #define HWCAP2_SVESHA3 (1 << 5) |
| 59 | #define HWCAP2_SVESM4 (1 << 6) |
Christopher Ferris | b8a95e2 | 2019-10-02 18:29:20 -0700 | [diff] [blame] | 60 | #define HWCAP2_FLAGM2 (1 << 7) |
| 61 | #define HWCAP2_FRINT (1 << 8) |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 62 | #define HWCAP2_SVEI8MM (1 << 9) |
| 63 | #define HWCAP2_SVEF32MM (1 << 10) |
| 64 | #define HWCAP2_SVEF64MM (1 << 11) |
| 65 | #define HWCAP2_SVEBF16 (1 << 12) |
| 66 | #define HWCAP2_I8MM (1 << 13) |
| 67 | #define HWCAP2_BF16 (1 << 14) |
| 68 | #define HWCAP2_DGH (1 << 15) |
| 69 | #define HWCAP2_RNG (1 << 16) |
Christopher Ferris | 8177cdf | 2020-08-03 11:53:55 -0700 | [diff] [blame] | 70 | #define HWCAP2_BTI (1 << 17) |
Christopher Ferris | 32ff3f8 | 2020-12-14 13:10:04 -0800 | [diff] [blame] | 71 | #define HWCAP2_MTE (1 << 18) |
Christopher Ferris | a479261 | 2022-01-10 13:51:15 -0800 | [diff] [blame] | 72 | #define HWCAP2_ECV (1 << 19) |
Christopher Ferris | 1ed5534 | 2022-03-22 16:06:25 -0700 | [diff] [blame] | 73 | #define HWCAP2_AFP (1 << 20) |
| 74 | #define HWCAP2_RPRES (1 << 21) |
Christopher Ferris | 10a76e6 | 2022-06-08 13:31:52 -0700 | [diff] [blame] | 75 | #define HWCAP2_MTE3 (1 << 22) |
Christopher Ferris | 80ae69d | 2022-08-02 16:32:21 -0700 | [diff] [blame] | 76 | #define HWCAP2_SME (1 << 23) |
| 77 | #define HWCAP2_SME_I16I64 (1 << 24) |
| 78 | #define HWCAP2_SME_F64F64 (1 << 25) |
| 79 | #define HWCAP2_SME_I8I32 (1 << 26) |
| 80 | #define HWCAP2_SME_F16F32 (1 << 27) |
| 81 | #define HWCAP2_SME_B16F32 (1 << 28) |
| 82 | #define HWCAP2_SME_F32F32 (1 << 29) |
| 83 | #define HWCAP2_SME_FA64 (1 << 30) |
| 84 | #define HWCAP2_WFXT (1UL << 31) |
Christopher Ferris | 7447a1c | 2022-10-04 18:24:44 -0700 | [diff] [blame] | 85 | #define HWCAP2_EBF16 (1UL << 32) |
Christopher Ferris | 6cd53a5 | 2022-12-12 23:39:16 +0000 | [diff] [blame^] | 86 | #define HWCAP2_SVE_EBF16 (1UL << 33) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 87 | #endif |