musl - musl - an implementation of the standard library for Linux-based systems (original) (raw)

author A. Wilcox AWilcox@Wilcox-Tech.com 2025-01-03 13:40:44 -0600
committer Rich Felker dalias@aerifal.cx 2025-05-27 12:19:38 -0400
commit 86373b4999bfd9a9379bc4a3ca877b1c80a2a340 (patch)
tree a2c4b8a4750ee86dfd80223fbed24ae0ffbc30b3
parent fde29c04adbab9d5b081bf6717b5458188647f1c (diff)
download musl-master.tar.gz

powerpc: update HWCAP bits for Power10HEADmaster

Linux kernel commit ee988c11acf6f9464b7b44e9a091bf6afb3b3a49 added two new HWCAP bits: one for ARCH_3_1, which is the Power10 ISA revision, and one for MMA, which is the optional Matrix Multiply Assist extension.

-rw-r--r-- arch/powerpc/bits/hwcap.h 2
-rw-r--r-- arch/powerpc64/bits/hwcap.h 2

2 files changed, 4 insertions, 0 deletions

diff --git a/arch/powerpc/bits/hwcap.h b/arch/powerpc/bits/hwcap.h
index 803de9b5..12981623 100644
--- a/arch/powerpc/bits/hwcap.h
+++ b/arch/powerpc/bits/hwcap.h

@@ -41,3 +41,5 @@

#define PPC_FEATURE2_DARN 0x00200000

#define PPC_FEATURE2_SCV 0x00100000

#define PPC_FEATURE2_HTM_NO_SUSPEND 0x00080000

+#define PPC_FEATURE2_ARCH_3_1 0x00040000

+#define PPC_FEATURE2_MMA 0x00020000

diff --git a/arch/powerpc64/bits/hwcap.h b/arch/powerpc64/bits/hwcap.h
index 803de9b5..12981623 100644
--- a/arch/powerpc64/bits/hwcap.h
+++ b/arch/powerpc64/bits/hwcap.h

@@ -41,3 +41,5 @@

#define PPC_FEATURE2_DARN 0x00200000

#define PPC_FEATURE2_SCV 0x00100000

#define PPC_FEATURE2_HTM_NO_SUSPEND 0x00080000

+#define PPC_FEATURE2_ARCH_3_1 0x00040000

+#define PPC_FEATURE2_MMA 0x00020000