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

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

Issue 74193004: ARM: use vstm/vldm when possible. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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') | no next file with comments »
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // d15: scratch register. 278 // d15: scratch register.
279 static const int kNumReservedRegisters = 2; 279 static const int kNumReservedRegisters = 2;
280 static const int kMaxNumAllocatableRegisters = kMaxNumRegisters - 280 static const int kMaxNumAllocatableRegisters = kMaxNumRegisters -
281 kNumReservedRegisters; 281 kNumReservedRegisters;
282 static const int kSizeInBytes = 8; 282 static const int kSizeInBytes = 8;
283 283
284 // Note: the number of registers can be different at snapshot and run-time. 284 // Note: the number of registers can be different at snapshot and run-time.
285 // Any code included in the snapshot must be able to run both with 16 or 32 285 // Any code included in the snapshot must be able to run both with 16 or 32
286 // registers. 286 // registers.
287 inline static int NumRegisters(); 287 inline static int NumRegisters();
288 inline static int NumReservedRegisters();
288 inline static int NumAllocatableRegisters(); 289 inline static int NumAllocatableRegisters();
289 290
290 inline static int ToAllocationIndex(DwVfpRegister reg); 291 inline static int ToAllocationIndex(DwVfpRegister reg);
291 static const char* AllocationIndexToString(int index); 292 static const char* AllocationIndexToString(int index);
292 inline static DwVfpRegister FromAllocationIndex(int index); 293 inline static DwVfpRegister FromAllocationIndex(int index);
293 294
294 static DwVfpRegister from_code(int code) { 295 static DwVfpRegister from_code(int code) {
295 DwVfpRegister r = { code }; 296 DwVfpRegister r = { code };
296 return r; 297 return r;
297 } 298 }
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 public: 1615 public:
1615 explicit EnsureSpace(Assembler* assembler) { 1616 explicit EnsureSpace(Assembler* assembler) {
1616 assembler->CheckBuffer(); 1617 assembler->CheckBuffer();
1617 } 1618 }
1618 }; 1619 };
1619 1620
1620 1621
1621 } } // namespace v8::internal 1622 } } // namespace v8::internal
1622 1623
1623 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1624 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698