Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 7 | #ifndef _UAPI__ASMARM_HWCAP_H |
| 8 | #define _UAPI__ASMARM_HWCAP_H |
| 9 | #define HWCAP_SWP (1 << 0) |
| 10 | #define HWCAP_HALF (1 << 1) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 11 | #define HWCAP_THUMB (1 << 2) |
| 12 | #define HWCAP_26BIT (1 << 3) |
| 13 | #define HWCAP_FAST_MULT (1 << 4) |
| 14 | #define HWCAP_FPA (1 << 5) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 15 | #define HWCAP_VFP (1 << 6) |
| 16 | #define HWCAP_EDSP (1 << 7) |
| 17 | #define HWCAP_JAVA (1 << 8) |
| 18 | #define HWCAP_IWMMXT (1 << 9) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 19 | #define HWCAP_CRUNCH (1 << 10) |
| 20 | #define HWCAP_THUMBEE (1 << 11) |
| 21 | #define HWCAP_NEON (1 << 12) |
| 22 | #define HWCAP_VFPv3 (1 << 13) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 23 | #define HWCAP_VFPv3D16 (1 << 14) |
| 24 | #define HWCAP_TLS (1 << 15) |
| 25 | #define HWCAP_VFPv4 (1 << 16) |
| 26 | #define HWCAP_IDIVA (1 << 17) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 27 | #define HWCAP_IDIVT (1 << 18) |
| 28 | #define HWCAP_VFPD32 (1 << 19) |
| 29 | #define HWCAP_IDIV (HWCAP_IDIVA | HWCAP_IDIVT) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 30 | #define HWCAP_LPAE (1 << 20) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 31 | #define HWCAP_EVTSTRM (1 << 21) |
Christopher Ferris | 8b7fdc9 | 2023-02-21 13:36:32 -0800 | [diff] [blame] | 32 | #define HWCAP_FPHP (1 << 22) |
| 33 | #define HWCAP_ASIMDHP (1 << 23) |
| 34 | #define HWCAP_ASIMDDP (1 << 24) |
| 35 | #define HWCAP_ASIMDFHM (1 << 25) |
| 36 | #define HWCAP_ASIMDBF16 (1 << 26) |
| 37 | #define HWCAP_I8MM (1 << 27) |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 38 | #define HWCAP2_AES (1 << 0) |
| 39 | #define HWCAP2_PMULL (1 << 1) |
| 40 | #define HWCAP2_SHA1 (1 << 2) |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 41 | #define HWCAP2_SHA2 (1 << 3) |
| 42 | #define HWCAP2_CRC32 (1 << 4) |
Christopher Ferris | 8b7fdc9 | 2023-02-21 13:36:32 -0800 | [diff] [blame] | 43 | #define HWCAP2_SB (1 << 5) |
| 44 | #define HWCAP2_SSBS (1 << 6) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 45 | #endif |