]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Add hwcap2 bits for POWER9.
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Tue, 5 Jan 2016 17:13:18 +0000 (15:13 -0200)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Fri, 8 Jan 2016 13:19:40 +0000 (11:19 -0200)
Added hwcap2 bit masks for Power ISA 3.0 and VSX IEEE binary float 128-bit
features.

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

index 56298db37c8d6b4bd46574519c994aab07c46711..df4d15a2450cb42ec846b2bca71a1464523a6464 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
+       PPC_FEATURE2_HAS_IEEE128.
+       * sysdeps/powerpc/dl-procinfo.c:
+       (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
+
 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
 
        [BZ #19415]
index e05c30871d06086dc2e73beb22800659c69f2974..40572d08fcdfa1a25ef0b7db0d5eeb00f37c9445 100644 (file)
@@ -66,3 +66,6 @@
                                                    instruction.  */
 #define PPC_FEATURE2_HTM_NOSC     0x01000000 /* Kernel aborts transaction
                                                 when a syscall is made.  */
+#define PPC_FEATURE2_ARCH_3_00    0x00800000 /* ISA 3.0 */
+#define PPC_FEATURE2_HAS_IEEE128   0x00400000 /* VSX IEEE Binary Float
+                                                128-bit */
index 66d01abcf9e678eb4f4acd76a27ed40af5ebd75f..6e7850eebdea8650d3bf9b9eeb2fbfc7e2ac2c96 100644 (file)
@@ -61,7 +61,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[60][10]
     "", "", "", "",
     "", "", "", "",
     "", "", "", "",
-    "", "", "", "",
+    "", "", "ieee128", "arch_3_00",
     "htm-nosc", "vcrypto", "tar", "isel",
     "ebb", "dscr", "htm", "arch_2_07",
   }