Skip to content

Commit

Permalink
target-ppc: Turn POWER5gs CPU into alias for POWER5+
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375321323-29954-2-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
afaerber authored and Anthony Liguori committed Aug 7, 2013
1 parent a7d6b9f commit 171777a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions target-ppc/cpu-models.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,8 +1126,6 @@
#if defined(TODO)
POWERPC_DEF("POWER5+", CPU_POWERPC_POWER5P, POWER5P,
"POWER5+")
POWERPC_DEF("POWER5gs", CPU_POWERPC_POWER5GS, POWER5P,
"POWER5GS")
#endif
#if defined(TODO)
POWERPC_DEF("POWER6", CPU_POWERPC_POWER6, POWER6,
Expand Down Expand Up @@ -1391,6 +1389,7 @@ PowerPCCPUAlias ppc_cpu_aliases[] = {
{ "Boxer", "POWER3" },
{ "Dino", "POWER3" },
{ "POWER3+", "631" },
{ "POWER5gs", "POWER5+" },
{ "POWER7", "POWER7_v2.3" },
{ "POWER7+", "POWER7+_v2.1" },
{ "POWER8", "POWER8_v1.0" },
Expand Down
1 change: 0 additions & 1 deletion target-ppc/cpu-models.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ enum {
CPU_POWERPC_POWER5 = 0x003A0203,
#define CPU_POWERPC_POWER5GR CPU_POWERPC_POWER5
CPU_POWERPC_POWER5P = 0x003B0000,
#define CPU_POWERPC_POWER5GS CPU_POWERPC_POWER5P
CPU_POWERPC_POWER6 = 0x003E0000,
CPU_POWERPC_POWER6_5 = 0x0F000001, /* POWER6 in POWER5 mode */
CPU_POWERPC_POWER6A = 0x0F000002,
Expand Down

0 comments on commit 171777a

Please sign in to comment.