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/constants-arm.h

Issue 1155703006: Revert of Embedded constant pools. (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 | « 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
50 // ----------------------------------------------------------------------------- 45 // -----------------------------------------------------------------------------
51 // Conditions. 46 // Conditions.
52 47
53 // Defines constants and accessor classes to assemble, disassemble and 48 // Defines constants and accessor classes to assemble, disassemble and
54 // simulate ARM instructions. 49 // simulate ARM instructions.
55 // 50 //
56 // Section references in the code refer to the "ARM Architecture Reference 51 // Section references in the code refer to the "ARM Architecture Reference
57 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf) 52 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf)
58 // 53 //
59 // Constants for specific fields are defined in their respective named enums. 54 // Constants for specific fields are defined in their respective named enums.
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 static int Number(const char* name, bool* is_double); 687 static int Number(const char* name, bool* is_double);
693 688
694 private: 689 private:
695 static const char* names_[kNumVFPRegisters]; 690 static const char* names_[kNumVFPRegisters];
696 }; 691 };
697 692
698 693
699 } } // namespace v8::internal 694 } } // namespace v8::internal
700 695
701 #endif // V8_ARM_CONSTANTS_ARM_H_ 696 #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