| Index: src/base/cpu.h
|
| diff --git a/src/base/cpu.h b/src/base/cpu.h
|
| index 8c41f9d77a776739d5643bf317e6c3c6233a5a0e..38465f5b358f6654c8f4d28bdb5ce40954e41bbd 100644
|
| --- a/src/base/cpu.h
|
| +++ b/src/base/cpu.h
|
| @@ -50,6 +50,8 @@ class CPU FINAL {
|
| int variant() const { return variant_; }
|
| static const int NVIDIA_DENVER = 0x0;
|
| int part() const { return part_; }
|
| +
|
| + // ARM-specific part codes
|
| static const int ARM_CORTEX_A5 = 0xc05;
|
| static const int ARM_CORTEX_A7 = 0xc07;
|
| static const int ARM_CORTEX_A8 = 0xc08;
|
| @@ -57,6 +59,17 @@ class CPU FINAL {
|
| static const int ARM_CORTEX_A12 = 0xc0c;
|
| static const int ARM_CORTEX_A15 = 0xc0f;
|
|
|
| + // PPC-specific part codes
|
| + enum {
|
| + PPC_POWER5,
|
| + PPC_POWER6,
|
| + PPC_POWER7,
|
| + PPC_POWER8,
|
| + PPC_G4,
|
| + PPC_G5,
|
| + PPC_PA6T
|
| + };
|
| +
|
| // General features
|
| bool has_fpu() const { return has_fpu_; }
|
|
|
|
|