From 667c5e01402abd7b4ec4593b75f37b0cda2f5131 Mon Sep 17 00:00:00 2001 From: ishell Date: Tue, 22 Sep 2015 01:39:48 -0700 Subject: [PATCH] [x64] Tweaking kMaxSizeEarlyOpt value to recover SunSpider/3d-cube. With the IC-less global variables accesses the size of the Rotate* functions became small enough to be immediately optimized by Crankshaft which in turn tanked SunSpider/3d-cube. BUG=chromium:531338 LOG=N Review URL: https://codereview.chromium.org/1356603005 Cr-Commit-Position: refs/heads/master@{#30861} --- src/full-codegen/full-codegen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h index 3cdb6d52e..61d8a8efe 100644 --- a/src/full-codegen/full-codegen.h +++ b/src/full-codegen/full-codegen.h @@ -76,7 +76,7 @@ class FullCodeGenerator: public AstVisitor { #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 static const int kCodeSizeMultiplier = 105; #elif V8_TARGET_ARCH_X64 - static const int kCodeSizeMultiplier = 170; + static const int kCodeSizeMultiplier = 165; #elif V8_TARGET_ARCH_ARM static const int kCodeSizeMultiplier = 149; #elif V8_TARGET_ARCH_ARM64 -- 2.34.1