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

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

Issue 6676042: Improve ARM-Simulator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update to use isolates. Created 9 years, 9 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 | « src/arm/assembler-arm.cc ('k') | src/arm/disasm-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #endif 82 #endif
83 83
84 // Using blx may yield better code, so use it when required or when available 84 // Using blx may yield better code, so use it when required or when available
85 #if defined(USE_THUMB_INTERWORK) || defined(CAN_USE_ARMV5_INSTRUCTIONS) 85 #if defined(USE_THUMB_INTERWORK) || defined(CAN_USE_ARMV5_INSTRUCTIONS)
86 #define USE_BLX 1 86 #define USE_BLX 1
87 #endif 87 #endif
88 88
89 namespace v8 { 89 namespace v8 {
90 namespace internal { 90 namespace internal {
91 91
92 // Constant pool marker.
93 static const int kConstantPoolMarkerMask = 0xffe00000;
94 static const int kConstantPoolMarker = 0x0c000000;
95 static const int kConstantPoolLengthMask = 0x001ffff;
96
92 // Number of registers in normal ARM mode. 97 // Number of registers in normal ARM mode.
93 static const int kNumRegisters = 16; 98 static const int kNumRegisters = 16;
94 99
95 // VFP support. 100 // VFP support.
96 static const int kNumVFPSingleRegisters = 32; 101 static const int kNumVFPSingleRegisters = 32;
97 static const int kNumVFPDoubleRegisters = 16; 102 static const int kNumVFPDoubleRegisters = 16;
98 static const int kNumVFPRegisters = 103 static const int kNumVFPRegisters =
99 kNumVFPSingleRegisters + kNumVFPDoubleRegisters; 104 kNumVFPSingleRegisters + kNumVFPDoubleRegisters;
100 105
101 // PC is register 15. 106 // PC is register 15.
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 static int Number(const char* name, bool* is_double); 767 static int Number(const char* name, bool* is_double);
763 768
764 private: 769 private:
765 static const char* names_[kNumVFPRegisters]; 770 static const char* names_[kNumVFPRegisters];
766 }; 771 };
767 772
768 773
769 } } // namespace v8::internal 774 } } // namespace v8::internal
770 775
771 #endif // V8_ARM_CONSTANTS_ARM_H_ 776 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/disasm-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698