]> sourceware.org Git - glibc.git/commitdiff
powerpc: Add new hwcap values
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Mon, 15 Jun 2020 14:15:57 +0000 (11:15 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Tue, 23 Jun 2020 21:15:06 +0000 (18:15 -0300)
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.

sysdeps/powerpc/bits/hwcap.h
sysdeps/powerpc/dl-procinfo.c

index 4a5a7bcded1ed50fdee22136d7aa6216717e1bb1..e8f3fdea928e1ea9bcb5affa2a423ca62c8de569 100644 (file)
@@ -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.  */
index 7a7d93dd0a3fb299057f84ce34dbdf24c831fe10..8dc07728f0fec736f3ca1e18ab64c7ae7b78ce92 100644 (file)
@@ -77,7 +77,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[64][15]
     "", "", "", "",
     "", "", "", "",
     "", "", "", "",
-    "", "", "", "htm-no-suspend",
+    "", "mma", "arch_3_1", "htm-no-suspend",
     "scv", "darn", "ieee128", "arch_3_00",
     "htm-nosc", "vcrypto", "tar", "isel",
     "ebb", "dscr", "htm", "arch_2_07",
This page took 0.042145 seconds and 5 git commands to generate.