| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index 858609db26cfce6b5458060ed8a299da7c827745..0537caae00ad9fcf6e82e9ea7d65b060b95a1f56 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -2499,10 +2499,10 @@ class HUnaryMathOperation final : public HTemplateInstruction<2> {
|
| // Indicates if we support a double (and int32) output for Math.floor and
|
| // Math.round.
|
| bool SupportsFlexibleFloorAndRound() const {
|
| -#ifdef V8_TARGET_ARCH_ARM64
|
| - // TODO(rmcilroy): Re-enable this for Arm64 once http://crbug.com/476477 is
|
| - // fixed.
|
| - return false;
|
| +#if V8_TARGET_ARCH_ARM64
|
| + return true;
|
| +#elif V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64
|
| + return CpuFeatures::IsSupported(SSE4_1);
|
| #else
|
| return false;
|
| #endif
|
|
|