| 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2011-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. |
| 4 | |
| 5 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | The GNU C Library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with the GNU C Library; if not, see |
| 17 | <https://www.gnu.org/licenses/>. */ |
| 18 | |
| 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
| 21 | #endif |
| 22 | |
| 23 | #define HWCAP_SPARC_FLUSH	0x00000001 |
| 24 | #define HWCAP_SPARC_STBAR	0x00000002 |
| 25 | #define HWCAP_SPARC_SWAP	0x00000004 |
| 26 | #define HWCAP_SPARC_MULDIV	0x00000008 |
| 27 | #define HWCAP_SPARC_V9		0x00000010 |
| 28 | #define HWCAP_SPARC_ULTRA3	0x00000020 |
| 29 | #define HWCAP_SPARC_BLKINIT	0x00000040 |
| 30 | #define HWCAP_SPARC_N2		0x00000080 |
| 31 | #define HWCAP_SPARC_MUL32	0x00000100 |
| 32 | #define HWCAP_SPARC_DIV32	0x00000200 |
| 33 | #define HWCAP_SPARC_FSMULD	0x00000400 |
| 34 | #define HWCAP_SPARC_V8PLUS	0x00000800 |
| 35 | #define HWCAP_SPARC_POPC	0x00001000 |
| 36 | #define HWCAP_SPARC_VIS		0x00002000 |
| 37 | #define HWCAP_SPARC_VIS2	0x00004000 |
| 38 | #define HWCAP_SPARC_ASI_BLK_INIT 0x00008000 |
| 39 | #define HWCAP_SPARC_FMAF	0x00010000 |
| 40 | #define HWCAP_SPARC_VIS3	0x00020000 |
| 41 | #define HWCAP_SPARC_HPC		0x00040000 |
| 42 | #define HWCAP_SPARC_RANDOM	0x00080000 |
| 43 | #define HWCAP_SPARC_TRANS	0x00100000 |
| 44 | #define HWCAP_SPARC_FJFMAU	0x00200000 |
| 45 | #define HWCAP_SPARC_IMA		0x00400000 |
| 46 | #define HWCAP_SPARC_ASI_CACHE_SPARING \ |
| 47 | 				0x00800000 |
| 48 | #define HWCAP_SPARC_PAUSE	0x01000000 |
| 49 | #define HWCAP_SPARC_CBCOND	0x02000000 |
| 50 | #define HWCAP_SPARC_CRYPTO	0x04000000 |
| 51 | #define HWCAP_SPARC_ADP		0x08000000 |