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

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

Issue 596703004: [turbofan] Add backend support for float32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/assembler-arm-inl.h » ('j') | src/arm64/assembler-arm64.h » ('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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 kNumReservedRegisters; 211 kNumReservedRegisters;
212 static const int kSizeInBytes = 8; 212 static const int kSizeInBytes = 8;
213 213
214 // Note: the number of registers can be different at snapshot and run-time. 214 // Note: the number of registers can be different at snapshot and run-time.
215 // Any code included in the snapshot must be able to run both with 16 or 32 215 // Any code included in the snapshot must be able to run both with 16 or 32
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): Proper support for float32.
222 inline static int NumAllocatableRegistersForTurbofan();
223
221 inline static int ToAllocationIndex(DwVfpRegister reg); 224 inline static int ToAllocationIndex(DwVfpRegister reg);
222 static const char* AllocationIndexToString(int index); 225 static const char* AllocationIndexToString(int index);
223 inline static DwVfpRegister FromAllocationIndex(int index); 226 inline static DwVfpRegister FromAllocationIndex(int index);
224 227
225 static DwVfpRegister from_code(int code) { 228 static DwVfpRegister from_code(int code) {
226 DwVfpRegister r = { code }; 229 DwVfpRegister r = { code };
227 return r; 230 return r;
228 } 231 }
229 232
230 bool is_valid() const { 233 bool is_valid() const {
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 public: 1665 public:
1663 explicit EnsureSpace(Assembler* assembler) { 1666 explicit EnsureSpace(Assembler* assembler) {
1664 assembler->CheckBuffer(); 1667 assembler->CheckBuffer();
1665 } 1668 }
1666 }; 1669 };
1667 1670
1668 1671
1669 } } // namespace v8::internal 1672 } } // namespace v8::internal
1670 1673
1671 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1674 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm-inl.h » ('j') | src/arm64/assembler-arm64.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698