[PATCH v2 04/13] Add new LoongArch HWCAP definitions from Linux 7.0 and 7.1 to bits/hwcap.h

Florian Weimer fweimer@redhat.com
Fri Jul 3 17:54:03 GMT 2026


* Adhemerval Zanella:

> Add HWCAP_LOONGARCH_SCQ (commit 48543c4283e76d561d11b9955222b1a3054abdb9,
> Linux 7.0) and HWCAP_LOONGARCH_LAM_BH (commit
> 1dd3e8a8eeb4059fb34b07578362380cf35b7ed5, Linux 7.1).
> ---
>  sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> index 2dfb5ee761e..231d24ecac6 100644
> --- a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h
> @@ -37,3 +37,5 @@
>  #define HWCAP_LOONGARCH_LBT_MIPS        (1 << 12)
>  #define HWCAP_LOONGARCH_PTW             (1 << 13)
>  #define HWCAP_LOONGARCH_LSPW            (1 << 14)
> +#define HWCAP_LOONGARCH_SCQ             (1 << 15)
> +#define HWCAP_LOONGARCH_LAM_BH          (1 << 16)

Okay.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian



More information about the Libc-alpha mailing list