| Index: src/base/cpu.h
|
| diff --git a/src/base/cpu.h b/src/base/cpu.h
|
| index d61844c151891ca8f6275c0fd882f2b2af373b6f..2098a2dd5054a2f9ec9db3e9c584175775f1a529 100644
|
| --- a/src/base/cpu.h
|
| +++ b/src/base/cpu.h
|
| @@ -55,6 +55,18 @@ class CPU V8_FINAL {
|
| static const int ARM_CORTEX_A12 = 0xc0c;
|
| static const int ARM_CORTEX_A15 = 0xc0f;
|
|
|
| + // PPC-specific part codes
|
| + int cache_line_size() const { return cache_line_size_; }
|
| + enum {
|
| + PPC_POWER5,
|
| + PPC_POWER6,
|
| + PPC_POWER7,
|
| + PPC_POWER8,
|
| + PPC_G4,
|
| + PPC_G5,
|
| + PPC_PA6T
|
| + };
|
| +
|
| // General features
|
| bool has_fpu() const { return has_fpu_; }
|
|
|
| @@ -91,6 +103,7 @@ class CPU V8_FINAL {
|
| int implementer_;
|
| int architecture_;
|
| int part_;
|
| + int cache_line_size_;
|
| bool has_fpu_;
|
| bool has_cmov_;
|
| bool has_sahf_;
|
|
|