Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
powerpc: Add hwcap2 bits for POWER9.
Added hwcap2 bit masks for Power ISA 3.0 and VSX IEEE binary float 128-bit
features.
  • Loading branch information
Carlos Eduardo Seo authored and Tulio Magno Quites Machado Filho committed Jan 8, 2016
1 parent 48025aa commit d2de9ef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions 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]
Expand Down
3 changes: 3 additions & 0 deletions sysdeps/powerpc/bits/hwcap.h
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion sysdeps/powerpc/dl-procinfo.c
Expand Up @@ -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",
}
Expand Down

0 comments on commit d2de9ef

Please sign in to comment.