[glibc] Add new LoongArch HWCAP definitions from Linux 7.0 and 7.1 to bits/hwcap.h

Adhemerval Zanella via Glibc-cvs <[email protected]> Fri, 3 Jul 2026 23:34:46 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5bba5e06e0305461bab35931f7575e03915a379d

commit 5bba5e06e0305461bab35931f7575e03915a379d
Author: Adhemerval Zanella <[email protected]>
Date:   Fri Jul 3 11:46:30 2026 -0300

    Add new LoongArch HWCAP definitions from Linux 7.0 and 7.1 to bits/hwcap.h
    
    Add HWCAP_LOONGARCH_SCQ (commit 48543c4283e76d561d11b9955222b1a3054abdb9,
    Linux 7.0) and HWCAP_LOONGARCH_LAM_BH (commit
    1dd3e8a8eeb4059fb34b07578362380cf35b7ed5, Linux 7.1).
    
    Reviewed-by: Florian Weimer <[email protected]>

Diff:
---
 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 2dfb5ee761..231d24ecac 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)