about summary refs log tree commit diff
path: root/sysdeps/powerpc/bits
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-06-15 11:15:57 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-06-23 18:15:06 -0300
commitae725e3f9cb4e1eb825ebe1d55241c98c2ea32f1 (patch)
tree9c0615e6209535c0844e7425f9ad3173c77fa760 /sysdeps/powerpc/bits
parent03e1378f94173fc192a81e421457198f7b8a34a0 (diff)
downloadglibc-ae725e3f9cb4e1eb825ebe1d55241c98c2ea32f1.tar.gz
glibc-ae725e3f9cb4e1eb825ebe1d55241c98c2ea32f1.tar.xz
glibc-ae725e3f9cb4e1eb825ebe1d55241c98c2ea32f1.zip
powerpc: Add new hwcap values
Linux commit ID ee988c11acf6f9464b7b44e9a091bf6afb3b3a49 reserved 2 new
bits in AT_HWCAP2:
 - PPC_FEATURE2_ARCH_3_1 indicates the availability of the POWER ISA
   3.1;
 - PPC_FEATURE2_MMA indicates the availability of the Matrix-Multiply
   Assist facility.
Diffstat (limited to 'sysdeps/powerpc/bits')
-rw-r--r--sysdeps/powerpc/bits/hwcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/bits/hwcap.h b/sysdeps/powerpc/bits/hwcap.h
index 4a5a7bcded..e8f3fdea92 100644
--- a/sysdeps/powerpc/bits/hwcap.h
+++ b/sysdeps/powerpc/bits/hwcap.h
@@ -74,3 +74,5 @@
 #define PPC_FEATURE2_SCV	   0x00100000 /* scv syscall.  */
 #define PPC_FEATURE2_HTM_NO_SUSPEND  0x00080000 /* TM without suspended
 						   state.  */
+#define PPC_FEATURE2_ARCH_3_1	   0x00040000 /* ISA 3.1.  */
+#define PPC_FEATURE2_MMA	   0x00020000 /* Matrix-Multiply Assist.  */