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

Side by Side Diff: src/arm/assembler-arm.h

Issue 1164813007: Config double register number as 1 for X87 Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | src/arm64/assembler-arm64.h » ('j') | src/compiler/register-configuration.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // registers. 216 // registers.
217 inline static int NumRegisters(); 217 inline static int NumRegisters();
218 inline static int NumReservedRegisters(); 218 inline static int NumReservedRegisters();
219 inline static int NumAllocatableRegisters(); 219 inline static int NumAllocatableRegisters();
220 220
221 // TODO(turbofan): This is a temporary work-around required because our 221 // TODO(turbofan): This is a temporary work-around required because our
222 // register allocator does not yet support the aliasing of single/double 222 // register allocator does not yet support the aliasing of single/double
223 // registers on ARM. 223 // registers on ARM.
224 inline static int NumAllocatableAliasedRegisters(); 224 inline static int NumAllocatableAliasedRegisters();
225 225
226 static int NumAllocatableRegistersForTurbo() {
227 return kMaxNumAllocatableRegisters;
228 }
229
230 static int NumAllocatableAliasedRegistersForTurbo() {
231 return NumAllocatableAliasedRegisters();
232 }
233
226 inline static int ToAllocationIndex(DwVfpRegister reg); 234 inline static int ToAllocationIndex(DwVfpRegister reg);
227 static const char* AllocationIndexToString(int index); 235 static const char* AllocationIndexToString(int index);
228 inline static DwVfpRegister FromAllocationIndex(int index); 236 inline static DwVfpRegister FromAllocationIndex(int index);
229 237
230 static DwVfpRegister from_code(int code) { 238 static DwVfpRegister from_code(int code) {
231 DwVfpRegister r = { code }; 239 DwVfpRegister r = { code };
232 return r; 240 return r;
233 } 241 }
234 242
235 bool is_valid() const { 243 bool is_valid() const {
(...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 public: 1668 public:
1661 explicit EnsureSpace(Assembler* assembler) { 1669 explicit EnsureSpace(Assembler* assembler) {
1662 assembler->CheckBuffer(); 1670 assembler->CheckBuffer();
1663 } 1671 }
1664 }; 1672 };
1665 1673
1666 1674
1667 } } // namespace v8::internal 1675 } } // namespace v8::internal
1668 1676
1669 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1677 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm64/assembler-arm64.h » ('j') | src/compiler/register-configuration.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698