diff options
author | David Hildenbrand <david@redhat.com> | 2021-06-08 11:23:35 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2021-06-21 08:48:21 +0200 |
commit | da215c239439539ffcbc0f79fba7b867eb3d8030 (patch) | |
tree | 546cac4f1e3833b893dfdbff6c39a8bfabc7d29f /include | |
parent | da4807527f3bda115606b4647fdc2f87928d0f15 (diff) | |
download | qemu-da215c239439539ffcbc0f79fba7b867eb3d8030.zip qemu-da215c239439539ffcbc0f79fba7b867eb3d8030.tar.gz qemu-da215c239439539ffcbc0f79fba7b867eb3d8030.tar.bz2 |
linux-user: elf: s390x: Prepare for Vector enhancements facility
Let's check for S390_FEAT_VECTOR_ENH and set HWCAP_S390_VXRS_EXT
accordingly. Add all missing HWCAP defined in upstream Linux.
Cc: Laurent Vivier <laurent@vivier.eu>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210608092337.12221-25-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h index 033bcc9..811bf4a 100644 --- a/include/elf.h +++ b/include/elf.h @@ -605,6 +605,13 @@ typedef struct { #define HWCAP_S390_HIGH_GPRS 512 #define HWCAP_S390_TE 1024 #define HWCAP_S390_VXRS 2048 +#define HWCAP_S390_VXRS_BCD 4096 +#define HWCAP_S390_VXRS_EXT 8192 +#define HWCAP_S390_GS 16384 +#define HWCAP_S390_VXRS_EXT2 32768 +#define HWCAP_S390_VXRS_PDE 65536 +#define HWCAP_S390_SORT 131072 +#define HWCAP_S390_DFLT 262144 /* M68K specific definitions. */ /* We use the top 24 bits to encode information about the |