Add a new CPU id for a POWER8 variant.

This commit is contained in:
Nathan Whitehorn 2014-07-06 16:19:55 +00:00
parent 5cb6b3afa4
commit 770047f5bb
2 changed files with 5 additions and 1 deletions

View File

@ -169,7 +169,8 @@
#define IBM970MP 0x0044
#define IBM970GX 0x0045
#define IBMPOWER7PLUS 0x004a
#define IBMPOWER8 0x004b
#define IBMPOWER8E 0x004b
#define IBMPOWER8 0x004d
#define MPC860 0x0050
#define IBMCELLBE 0x0070
#define MPC8240 0x0081

View File

@ -146,6 +146,9 @@ static const struct cputab models[] = {
{ "IBM POWER7+", IBMPOWER7PLUS, REVFMT_MAJMIN,
PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU,
NULL },
{ "IBM POWER8E", IBMPOWER8E, REVFMT_MAJMIN,
PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU,
NULL },
{ "IBM POWER8", IBMPOWER8, REVFMT_MAJMIN,
PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU,
NULL },