]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/unix/sysv/linux/s390/bits/hwcap.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / s390 / bits / hwcap.h
1 /* Defines for bits in AT_HWCAP.
2 Copyright (C) 2012-2019 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 #ifndef _SYS_AUXV_H
20 # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
21 #endif
22
23 /*
24 * The following must match the kernels asm/elf.h.
25 * Note that these are *not* the same as the STORE FACILITY LIST bits.
26 */
27 #define HWCAP_S390_ESAN3 1
28 #define HWCAP_S390_ZARCH 2
29 #define HWCAP_S390_STFLE 4
30 #define HWCAP_S390_MSA 8
31 #define HWCAP_S390_LDISP 16
32 #define HWCAP_S390_EIMM 32
33 #define HWCAP_S390_DFP 64
34 #define HWCAP_S390_HPAGE 128
35 #define HWCAP_S390_ETF3EH 256
36 #define HWCAP_S390_HIGH_GPRS 512
37 #define HWCAP_S390_TE 1024
38 #define HWCAP_S390_VX 2048
39 #define HWCAP_S390_VXD 4096
40 #define HWCAP_S390_VXE 8192
41 #define HWCAP_S390_GS 16384
42 #define HWCAP_S390_VXRS_EXT2 32768
43 #define HWCAP_S390_VXRS_PDE 65536
44 #define HWCAP_S390_SORT 131072
45 #define HWCAP_S390_DFLT 262144