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

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

Issue 1343533002: MIPS: Make all registers addressable in Operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix remaining compiler cctest failures. 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 | « src/mips64/macro-assembler-mips64.cc ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ? (kMaxAllocatableGeneralRegisterCount - 1) 54 ? (kMaxAllocatableGeneralRegisterCount - 1)
55 : kMaxAllocatableGeneralRegisterCount, 55 : kMaxAllocatableGeneralRegisterCount,
56 CpuFeatures::IsSupported(VFP32DREGS) 56 CpuFeatures::IsSupported(VFP32DREGS)
57 ? kMaxAllocatableDoubleRegisterCount 57 ? kMaxAllocatableDoubleRegisterCount
58 : (ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT)0), 58 : (ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT)0),
59 ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT)0, 59 ALLOCATABLE_NO_VFP32_DOUBLE_REGISTERS(REGISTER_COUNT)0,
60 #elif V8_TARGET_ARCH_ARM64 60 #elif V8_TARGET_ARCH_ARM64
61 kMaxAllocatableGeneralRegisterCount, 61 kMaxAllocatableGeneralRegisterCount,
62 kMaxAllocatableDoubleRegisterCount, 62 kMaxAllocatableDoubleRegisterCount,
63 kMaxAllocatableDoubleRegisterCount, 63 kMaxAllocatableDoubleRegisterCount,
64 #elif V8_TARGET_ARCH_MIPS
65 kMaxAllocatableGeneralRegisterCount,
66 kMaxAllocatableDoubleRegisterCount,
67 kMaxAllocatableDoubleRegisterCount,
68 #elif V8_TARGET_ARCH_MIPS64
69 kMaxAllocatableGeneralRegisterCount,
70 kMaxAllocatableDoubleRegisterCount,
71 kMaxAllocatableDoubleRegisterCount,
64 #else 72 #else
65 GetAllocatableGeneralRegisterCount(), 73 GetAllocatableGeneralRegisterCount(),
66 GetAllocatableDoubleRegisterCount(), 74 GetAllocatableDoubleRegisterCount(),
67 GetAllocatableAliasedDoubleRegisterCount(), 75 GetAllocatableAliasedDoubleRegisterCount(),
68 #endif 76 #endif
69 GetAllocatableGeneralCodes(), GetAllocatableDoubleCodes(), 77 GetAllocatableGeneralCodes(), GetAllocatableDoubleCodes(),
70 kGeneralRegisterNames, kDoubleRegisterNames) { 78 kGeneralRegisterNames, kDoubleRegisterNames) {
71 } 79 }
72 80
73 const char* general_register_name_table_[Register::kNumRegisters]; 81 const char* general_register_name_table_[Register::kNumRegisters];
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 137 }
130 for (int i = 0; i < num_allocatable_double_registers_; ++i) { 138 for (int i = 0; i < num_allocatable_double_registers_; ++i) {
131 allocatable_double_codes_mask_ |= (1 << allocatable_double_codes_[i]); 139 allocatable_double_codes_mask_ |= (1 << allocatable_double_codes_[i]);
132 } 140 }
133 } 141 }
134 142
135 #undef REGISTER_COUNT 143 #undef REGISTER_COUNT
136 144
137 } // namespace internal 145 } // namespace internal
138 } // namespace v8 146 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698