Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index 3a83f2cbee1d9a091d8c4cb6895ed0ab44c45485..1706ac9511f880568fdaa1f8c266f6cc7c102f48 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -28,7 +28,7 @@ |
| #if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \ |
| V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ |
| - V8_TARGET_ARCH_MIPS64 |
| + V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC |
| #define V8_TURBOFAN_BACKEND 1 |
| #else |
| #define V8_TURBOFAN_BACKEND 0 |
| @@ -59,6 +59,9 @@ namespace internal { |
| #if (V8_TARGET_ARCH_ARM && !V8_HOST_ARCH_ARM) |
| #define USE_SIMULATOR 1 |
| #endif |
| +#if (V8_TARGET_ARCH_PPC && !V8_HOST_ARCH_PPC) |
| +#define USE_SIMULATOR 1 |
| +#endif |
| #if (V8_TARGET_ARCH_MIPS && !V8_HOST_ARCH_MIPS) |
| #define USE_SIMULATOR 1 |
| #endif |
| @@ -83,7 +86,7 @@ namespace internal { |
| // Determine whether double field unboxing feature is enabled. |
| -#if (V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64) |
| +#if (V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_PPC64) |
|
Sven Panne
2015/01/08 10:13:53
Simpler and more future-proof: #if V8_TARGET_ARCH_
michael_dawson
2015/01/08 23:51:11
Will do
|
| #define V8_DOUBLE_FIELDS_UNBOXING 1 |
| #else |
| #define V8_DOUBLE_FIELDS_UNBOXING 0 |
| @@ -623,6 +626,10 @@ enum CpuFeature { |
| MIPSr6, |
| // ARM64 |
| ALWAYS_ALIGN_CSP, |
| + // PPC |
| + FPR_GPR_MOV, |
| + LWSYNC, |
| + ISELECT, |
| NUMBER_OF_CPU_FEATURES |
| }; |