| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index cc31be148751020bde24818b425ea3fb99097a22..a63c81a62fbe3749dbc68002b2810d2897d7d1c3 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -57,6 +57,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
|
| @@ -66,7 +69,11 @@ namespace internal {
|
| #endif
|
|
|
| // Determine whether the architecture uses an out-of-line constant pool.
|
| +#if V8_TARGET_ARCH_PPC
|
| +#define V8_OOL_CONSTANT_POOL 1
|
| +#else
|
| #define V8_OOL_CONSTANT_POOL 0
|
| +#endif
|
|
|
| // Support for alternative bool type. This is only enabled if the code is
|
| // compiled with USE_MYBOOL defined. This catches some nasty type bugs.
|
| @@ -597,28 +604,30 @@ enum StateTag {
|
|
|
| // CPU feature flags.
|
| enum CpuFeature {
|
| - // x86
|
| - SSE4_1,
|
| - SSE3,
|
| - SAHF,
|
| - // ARM
|
| - VFP3,
|
| - ARMv7,
|
| - SUDIV,
|
| - MLS,
|
| - UNALIGNED_ACCESSES,
|
| - MOVW_MOVT_IMMEDIATE_LOADS,
|
| - VFP32DREGS,
|
| - NEON,
|
| - // MIPS, MIPS64
|
| - FPU,
|
| - FP64FPU,
|
| - MIPSr1,
|
| - MIPSr2,
|
| - MIPSr6,
|
| - // ARM64
|
| - ALWAYS_ALIGN_CSP,
|
| - NUMBER_OF_CPU_FEATURES
|
| + // x86
|
| + SSE4_1,
|
| + SSE3,
|
| + SAHF,
|
| + // ARM
|
| + VFP3,
|
| + ARMv7,
|
| + SUDIV,
|
| + MLS,
|
| + UNALIGNED_ACCESSES,
|
| + MOVW_MOVT_IMMEDIATE_LOADS,
|
| + VFP32DREGS,
|
| + NEON,
|
| + // MIPS, MIPS64
|
| + FPU,
|
| + FP64FPU,
|
| + MIPSr1,
|
| + MIPSr2,
|
| + MIPSr6,
|
| + // ARM64
|
| + ALWAYS_ALIGN_CSP,
|
| + // PPC
|
| + FPR_GPR_MOV,
|
| + NUMBER_OF_CPU_FEATURES
|
| };
|
|
|
|
|
|
|