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) 23#define HWCAP_EVTSTRM (1 << 2) 24#define HWCAP_AES (1 << 3) 25#define HWCAP_PMULL (1 << 4) 26#define HWCAP_SHA1 (1 << 5) 27#define HWCAP_SHA2 (1 << 6) 28#define HWCAP_CRC32 (1 << 7) 29#define HWCAP_ATOMICS (1 << 8) 30#define HWCAP_FPHP (1 << 9) 31#define HWCAP_ASIMDHP (1 << 10) 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) 37#define HWCAP_DCPOP (1 << 16) 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) 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) 49#define HWCAP_SSBS (1 << 28) 50#define HWCAP_SB (1 << 29) 51#define HWCAP_PACA (1 << 30) 52#define HWCAP_PACG (1UL << 31) 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) 60#define HWCAP2_FLAGM2 (1 << 7) 61#define HWCAP2_FRINT (1 << 8) 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) 70#define HWCAP2_BTI (1 << 17) 71#define HWCAP2_MTE (1 << 18) 72#endif 73