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

Side by Side Diff: src/register-configuration.cc

Issue 2816703002: [arm] Remove embedded constant pool support. (Closed)
Patch Set: [arm] Remove embedded constant pool support. Created 3 years, 8 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 | « src/full-codegen/arm/full-codegen-arm.cc ('k') | 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/register-configuration.h" 5 #include "src/register-configuration.h"
6 #include "src/globals.h" 6 #include "src/globals.h"
7 #include "src/macro-assembler.h" 7 #include "src/macro-assembler.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #if V8_TARGET_ARCH_IA32 70 #if V8_TARGET_ARCH_IA32
71 kMaxAllocatableGeneralRegisterCount, 71 kMaxAllocatableGeneralRegisterCount,
72 kMaxAllocatableDoubleRegisterCount, 72 kMaxAllocatableDoubleRegisterCount,
73 #elif V8_TARGET_ARCH_X87 73 #elif V8_TARGET_ARCH_X87
74 kMaxAllocatableGeneralRegisterCount, 74 kMaxAllocatableGeneralRegisterCount,
75 compiler == TURBOFAN ? 1 : kMaxAllocatableDoubleRegisterCount, 75 compiler == TURBOFAN ? 1 : kMaxAllocatableDoubleRegisterCount,
76 #elif V8_TARGET_ARCH_X64 76 #elif V8_TARGET_ARCH_X64
77 kMaxAllocatableGeneralRegisterCount, 77 kMaxAllocatableGeneralRegisterCount,
78 kMaxAllocatableDoubleRegisterCount, 78 kMaxAllocatableDoubleRegisterCount,
79 #elif V8_TARGET_ARCH_ARM 79 #elif V8_TARGET_ARCH_ARM
80 FLAG_enable_embedded_constant_pool 80 kMaxAllocatableGeneralRegisterCount,
81 ? (kMaxAllocatableGeneralRegisterCount - 1)
82 : kMaxAllocatableGeneralRegisterCount,
83 CpuFeatures::IsSupported(VFP32DREGS) 81 CpuFeatures::IsSupported(VFP32DREGS)
84 ? kMaxAllocatableDoubleRegisterCount 82 ? kMaxAllocatableDoubleRegisterCount
85 : (ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT) 0), 83 : (ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT) 0),
86 #elif V8_TARGET_ARCH_ARM64 84 #elif V8_TARGET_ARCH_ARM64
87 kMaxAllocatableGeneralRegisterCount, 85 kMaxAllocatableGeneralRegisterCount,
88 kMaxAllocatableDoubleRegisterCount, 86 kMaxAllocatableDoubleRegisterCount,
89 #elif V8_TARGET_ARCH_MIPS 87 #elif V8_TARGET_ARCH_MIPS
90 kMaxAllocatableGeneralRegisterCount, 88 kMaxAllocatableGeneralRegisterCount,
91 kMaxAllocatableDoubleRegisterCount, 89 kMaxAllocatableDoubleRegisterCount,
92 #elif V8_TARGET_ARCH_MIPS64 90 #elif V8_TARGET_ARCH_MIPS64
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 return index == other_index >> shift; 255 return index == other_index >> shift;
258 } 256 }
259 int shift = other_rep_int - rep_int; 257 int shift = other_rep_int - rep_int;
260 return index >> shift == other_index; 258 return index >> shift == other_index;
261 } 259 }
262 260
263 #undef REGISTER_COUNT 261 #undef REGISTER_COUNT
264 262
265 } // namespace internal 263 } // namespace internal
266 } // namespace v8 264 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698