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

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

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 11 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/code-stubs-arm.cc ('k') | src/arm/constants-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 // 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 inline int DecodeConstantPoolLength(int instr) { 95 inline int DecodeConstantPoolLength(int instr) {
96 ASSERT((instr & kConstantPoolMarkerMask) == kConstantPoolMarker); 96 ASSERT((instr & kConstantPoolMarkerMask) == kConstantPoolMarker);
97 return ((instr >> 4) & 0xfff0) | (instr & 0xf); 97 return ((instr >> 4) & 0xfff0) | (instr & 0xf);
98 } 98 }
99 99
100 // Number of registers in normal ARM mode. 100 // Number of registers in normal ARM mode.
101 const int kNumRegisters = 16; 101 const int kNumRegisters = 16;
102 102
103 // VFP support. 103 // VFP support.
104 const int kNumVFPSingleRegisters = 32; 104 const int kNumVFPSingleRegisters = 32;
105 const int kNumVFPDoubleRegisters = 16; 105 const int kNumVFPDoubleRegisters = 32;
106 const int kNumVFPRegisters = kNumVFPSingleRegisters + kNumVFPDoubleRegisters; 106 const int kNumVFPRegisters = kNumVFPSingleRegisters + kNumVFPDoubleRegisters;
107 107
108 // PC is register 15. 108 // PC is register 15.
109 const int kPCRegister = 15; 109 const int kPCRegister = 15;
110 const int kNoRegister = -1; 110 const int kNoRegister = -1;
111 111
112 // ----------------------------------------------------------------------------- 112 // -----------------------------------------------------------------------------
113 // Conditions. 113 // Conditions.
114 114
115 // Defines constants and accessor classes to assemble, disassemble and 115 // Defines constants and accessor classes to assemble, disassemble and
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 static int Number(const char* name, bool* is_double); 778 static int Number(const char* name, bool* is_double);
779 779
780 private: 780 private:
781 static const char* names_[kNumVFPRegisters]; 781 static const char* names_[kNumVFPRegisters];
782 }; 782 };
783 783
784 784
785 } } // namespace v8::internal 785 } } // namespace v8::internal
786 786
787 #endif // V8_ARM_CONSTANTS_ARM_H_ 787 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/constants-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698