Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 1356603005: [x64] Tweaking kMaxSizeEarlyOpt value to recover SunSpider/3d-cube. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 UNREACHABLE(); 69 UNREACHABLE();
70 return NULL; 70 return NULL;
71 } 71 }
72 72
73 static const int kMaxBackEdgeWeight = 127; 73 static const int kMaxBackEdgeWeight = 127;
74 74
75 // Platform-specific code size multiplier. 75 // Platform-specific code size multiplier.
76 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 76 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87
77 static const int kCodeSizeMultiplier = 105; 77 static const int kCodeSizeMultiplier = 105;
78 #elif V8_TARGET_ARCH_X64 78 #elif V8_TARGET_ARCH_X64
79 static const int kCodeSizeMultiplier = 170; 79 static const int kCodeSizeMultiplier = 165;
80 #elif V8_TARGET_ARCH_ARM 80 #elif V8_TARGET_ARCH_ARM
81 static const int kCodeSizeMultiplier = 149; 81 static const int kCodeSizeMultiplier = 149;
82 #elif V8_TARGET_ARCH_ARM64 82 #elif V8_TARGET_ARCH_ARM64
83 // TODO(all): Copied ARM value. Check this is sensible for ARM64. 83 // TODO(all): Copied ARM value. Check this is sensible for ARM64.
84 static const int kCodeSizeMultiplier = 149; 84 static const int kCodeSizeMultiplier = 149;
85 #elif V8_TARGET_ARCH_PPC64 85 #elif V8_TARGET_ARCH_PPC64
86 static const int kCodeSizeMultiplier = 200; 86 static const int kCodeSizeMultiplier = 200;
87 #elif V8_TARGET_ARCH_PPC 87 #elif V8_TARGET_ARCH_PPC
88 static const int kCodeSizeMultiplier = 200; 88 static const int kCodeSizeMultiplier = 200;
89 #elif V8_TARGET_ARCH_MIPS 89 #elif V8_TARGET_ARCH_MIPS
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 1082
1083 Address start_; 1083 Address start_;
1084 Address instruction_start_; 1084 Address instruction_start_;
1085 uint32_t length_; 1085 uint32_t length_;
1086 }; 1086 };
1087 1087
1088 1088
1089 } } // namespace v8::internal 1089 } } // namespace v8::internal
1090 1090
1091 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1091 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698