aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/sysdep.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-08-08 04:51:57 +0000
committerUlrich Drepper <drepper@redhat.com>2008-08-08 04:51:57 +0000
commit1642331d3066e43daea5a33a6c12db6edf0e34f7 (patch)
treed57029038bd8f32d03e31e84f7c77d6566b8a5bb /sysdeps/powerpc/sysdep.h
parent48b9466105cf4bf7012b90356ae097573a23fc5c (diff)
downloadglibc-1642331d3066e43daea5a33a6c12db6edf0e34f7.tar
glibc-1642331d3066e43daea5a33a6c12db6edf0e34f7.tar.gz
glibc-1642331d3066e43daea5a33a6c12db6edf0e34f7.tar.bz2
glibc-1642331d3066e43daea5a33a6c12db6edf0e34f7.zip
[BZ #6817]
2008-08-01 Steven Munroe <sjmunroe@us.ibm.com> Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> [BZ #6817] * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Added the members 'vsx' and 'arch_2_06'. (_dl_powerpc_platforms): Add the member 'power7'. * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST to reflect the changes required by VSX and ISA 2.06. Modify _DL_PLATFORMS_COUNT to reflect the addition of 'power7'. Defined PPC_PLATFORM_POWER7. (_dl_string_platform): Add support for POWER7. * sysdeps/powerpc/sysdep.h: Define bit masks for VSX capability and ISA 2.06.
Diffstat (limited to 'sysdeps/powerpc/sysdep.h')
-rw-r--r--sysdeps/powerpc/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/sysdep.h b/sysdeps/powerpc/sysdep.h
index 2ae52b78c0..43edeb71eb 100644
--- a/sysdeps/powerpc/sysdep.h
+++ b/sysdeps/powerpc/sysdep.h
@@ -44,6 +44,8 @@
#define PPC_FEATURE_PA6T 0x00000800 /* PA Semi 6T Core */
#define PPC_FEATURE_HAS_DFP 0x00000400 /* Decimal FP Unit */
#define PPC_FEATURE_POWER6_EXT 0x00000200 /* P6 + mffgpr/mftgpr */
+#define PPC_FEATURE_HAS_VSX 0x00000100 /* P7 Vector Extension. */
+#define PPC_FEATURE_ARCH_2_06 0x00000080 /* ISA 2.06 */
#define PPC_FEATURE_970 (PPC_FEATURE_POWER4 + PPC_FEATURE_HAS_ALTIVEC)
#ifdef __ASSEMBLER__