powerpc: Add basic support for POWER9 sans hwcap.
This patch adds the minimum changes for supporting the POWER9 processor.
This commit is contained in:
parent
2cf3e1aa74
commit
b1f19b8ef1
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
|
||||
platform and feature support for POWER9.
|
||||
* sysdeps/powerpc/dl-procinfo.h: Likewise.
|
||||
* sysdeps/powerpc/powerpc32/power9/Implies: New file.
|
||||
* sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
|
||||
* sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
|
||||
* sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
|
||||
|
||||
2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
Harmonize generic stdio-lock support with nptl
|
||||
|
@ -75,7 +75,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[60][10]
|
||||
#if !defined PROCINFO_DECL && defined SHARED
|
||||
._dl_powerpc_platforms
|
||||
#else
|
||||
PROCINFO_CLASS const char _dl_powerpc_platforms[14][12]
|
||||
PROCINFO_CLASS const char _dl_powerpc_platforms[15][12]
|
||||
#endif
|
||||
#ifndef PROCINFO_DECL
|
||||
= {
|
||||
@ -93,6 +93,7 @@ PROCINFO_CLASS const char _dl_powerpc_platforms[14][12]
|
||||
[PPC_PLATFORM_PPC464] = "ppc464",
|
||||
[PPC_PLATFORM_PPC476] = "ppc476",
|
||||
[PPC_PLATFORM_POWER8] = "power8",
|
||||
[PPC_PLATFORM_POWER9] = "power9"
|
||||
}
|
||||
#endif
|
||||
#if !defined SHARED || defined PROCINFO_DECL
|
||||
|
@ -40,7 +40,7 @@
|
||||
#define HWCAP_IMPORTANT (PPC_FEATURE_HAS_ALTIVEC \
|
||||
+ PPC_FEATURE_HAS_DFP)
|
||||
|
||||
#define _DL_PLATFORMS_COUNT 14
|
||||
#define _DL_PLATFORMS_COUNT 15
|
||||
|
||||
#define _DL_FIRST_PLATFORM 32
|
||||
/* Mask to filter out platforms. */
|
||||
@ -62,6 +62,7 @@
|
||||
#define PPC_PLATFORM_PPC464 11
|
||||
#define PPC_PLATFORM_PPC476 12
|
||||
#define PPC_PLATFORM_POWER8 13
|
||||
#define PPC_PLATFORM_POWER9 14
|
||||
|
||||
static inline const char *
|
||||
__attribute__ ((unused))
|
||||
@ -125,6 +126,9 @@ _dl_string_platform (const char *str)
|
||||
case '8':
|
||||
ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER8;
|
||||
break;
|
||||
case '9':
|
||||
ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER9;
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
2
sysdeps/powerpc/powerpc32/power9/Implies
Normal file
2
sysdeps/powerpc/powerpc32/power9/Implies
Normal file
@ -0,0 +1,2 @@
|
||||
powerpc/powerpc32/power8/fpu
|
||||
powerpc/powerpc32/power8
|
1
sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies
Normal file
1
sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc32/power8/fpu/multiarch
|
1
sysdeps/powerpc/powerpc32/power9/multiarch/Implies
Normal file
1
sysdeps/powerpc/powerpc32/power9/multiarch/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc32/power8/fpu/multiarch
|
2
sysdeps/powerpc/powerpc64/power9/Implies
Normal file
2
sysdeps/powerpc/powerpc64/power9/Implies
Normal file
@ -0,0 +1,2 @@
|
||||
powerpc/powerpc64/power8/fpu
|
||||
powerpc/powerpc64/power8
|
2
sysdeps/powerpc/powerpc64/power9/fpu/Implies
Normal file
2
sysdeps/powerpc/powerpc64/power9/fpu/Implies
Normal file
@ -0,0 +1,2 @@
|
||||
powerpc/powerpc64/power8/fpu
|
||||
powerpc/powerpc64/power8
|
1
sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies
Normal file
1
sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc64/power8/fpu/multiarch
|
1
sysdeps/powerpc/powerpc64/power9/multiarch/Implies
Normal file
1
sysdeps/powerpc/powerpc64/power9/multiarch/Implies
Normal file
@ -0,0 +1 @@
|
||||
powerpc/powerpc64/power8/multiarch
|
Loading…
x
Reference in New Issue
Block a user