Add AArch64 HWCAP2_* constants from Linux 5.19
Szabolcs Nagy
szabolcs.nagy@arm.com
Mon Aug 22 14:55:56 GMT 2022
The 08/17/2022 17:55, Joseph Myers wrote:
> Linux 5.19 adds more HWCAP2_* values for AArch64; add these to its
> bits/hwcap.h header in glibc.
>
> Tested with build-many-glibcs.py for aarch64-linux-gnu.
this is ok to commit, thanks.
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> index 616239bb84..07cb962a7b 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -78,3 +78,12 @@
> #define HWCAP2_AFP (1 << 20)
> #define HWCAP2_RPRES (1 << 21)
> #define HWCAP2_MTE3 (1 << 22)
> +#define HWCAP2_SME (1 << 23)
> +#define HWCAP2_SME_I16I64 (1 << 24)
> +#define HWCAP2_SME_F64F64 (1 << 25)
> +#define HWCAP2_SME_I8I32 (1 << 26)
> +#define HWCAP2_SME_F16F32 (1 << 27)
> +#define HWCAP2_SME_B16F32 (1 << 28)
> +#define HWCAP2_SME_F32F32 (1 << 29)
> +#define HWCAP2_SME_FA64 (1 << 30)
> +#define HWCAP2_WFXT (1UL << 31)
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
More information about the Libc-alpha
mailing list