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

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

Issue 1131783003: Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debug-mode Arm issue. 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 | « src/arm/code-stubs-arm.cc ('k') | src/arm/debug-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_ARM_CONSTANTS_ARM_H_ 5 #ifndef V8_ARM_CONSTANTS_ARM_H_
6 #define V8_ARM_CONSTANTS_ARM_H_ 6 #define V8_ARM_CONSTANTS_ARM_H_
7 7
8 // ARM EABI is required. 8 // ARM EABI is required.
9 #if defined(__arm__) && !defined(__ARM_EABI__) 9 #if defined(__arm__) && !defined(__ARM_EABI__)
10 #error ARM EABI support is required. 10 #error ARM EABI support is required.
(...skipping 24 matching lines...) Expand all
35 35
36 // VFP support. 36 // VFP support.
37 const int kNumVFPSingleRegisters = 32; 37 const int kNumVFPSingleRegisters = 32;
38 const int kNumVFPDoubleRegisters = 32; 38 const int kNumVFPDoubleRegisters = 32;
39 const int kNumVFPRegisters = kNumVFPSingleRegisters + kNumVFPDoubleRegisters; 39 const int kNumVFPRegisters = kNumVFPSingleRegisters + kNumVFPDoubleRegisters;
40 40
41 // PC is register 15. 41 // PC is register 15.
42 const int kPCRegister = 15; 42 const int kPCRegister = 15;
43 const int kNoRegister = -1; 43 const int kNoRegister = -1;
44 44
45 // Used in embedded constant pool builder - max reach in bits for
46 // various load instructions (unsigned)
47 const int kLdrMaxReachBits = 12;
48 const int kVldrMaxReachBits = 10;
49
45 // ----------------------------------------------------------------------------- 50 // -----------------------------------------------------------------------------
46 // Conditions. 51 // Conditions.
47 52
48 // Defines constants and accessor classes to assemble, disassemble and 53 // Defines constants and accessor classes to assemble, disassemble and
49 // simulate ARM instructions. 54 // simulate ARM instructions.
50 // 55 //
51 // Section references in the code refer to the "ARM Architecture Reference 56 // Section references in the code refer to the "ARM Architecture Reference
52 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf) 57 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf)
53 // 58 //
54 // Constants for specific fields are defined in their respective named enums. 59 // Constants for specific fields are defined in their respective named enums.
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 static int Number(const char* name, bool* is_double); 692 static int Number(const char* name, bool* is_double);
688 693
689 private: 694 private:
690 static const char* names_[kNumVFPRegisters]; 695 static const char* names_[kNumVFPRegisters];
691 }; 696 };
692 697
693 698
694 } } // namespace v8::internal 699 } } // namespace v8::internal
695 700
696 #endif // V8_ARM_CONSTANTS_ARM_H_ 701 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/debug-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698