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

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

Issue 496443003: Add ARMv6 support for the out-of-line constant pool. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: kImmed8 Created 6 years, 4 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-inl.h ('k') | src/arm/full-codegen-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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 DECLARE_STATIC_ACCESSOR(RmValue); 557 DECLARE_STATIC_ACCESSOR(RmValue);
558 inline int ShiftValue() const { return static_cast<ShiftOp>(Bits(6, 5)); } 558 inline int ShiftValue() const { return static_cast<ShiftOp>(Bits(6, 5)); }
559 inline ShiftOp ShiftField() const { 559 inline ShiftOp ShiftField() const {
560 return static_cast<ShiftOp>(BitField(6, 5)); 560 return static_cast<ShiftOp>(BitField(6, 5));
561 } 561 }
562 inline int RegShiftValue() const { return Bit(4); } 562 inline int RegShiftValue() const { return Bit(4); }
563 inline int RsValue() const { return Bits(11, 8); } 563 inline int RsValue() const { return Bits(11, 8); }
564 inline int ShiftAmountValue() const { return Bits(11, 7); } 564 inline int ShiftAmountValue() const { return Bits(11, 7); }
565 // with immediate 565 // with immediate
566 inline int RotateValue() const { return Bits(11, 8); } 566 inline int RotateValue() const { return Bits(11, 8); }
567 DECLARE_STATIC_ACCESSOR(RotateValue);
567 inline int Immed8Value() const { return Bits(7, 0); } 568 inline int Immed8Value() const { return Bits(7, 0); }
569 DECLARE_STATIC_ACCESSOR(Immed8Value);
568 inline int Immed4Value() const { return Bits(19, 16); } 570 inline int Immed4Value() const { return Bits(19, 16); }
569 inline int ImmedMovwMovtValue() const { 571 inline int ImmedMovwMovtValue() const {
570 return Immed4Value() << 12 | Offset12Value(); } 572 return Immed4Value() << 12 | Offset12Value(); }
571 DECLARE_STATIC_ACCESSOR(ImmedMovwMovtValue); 573 DECLARE_STATIC_ACCESSOR(ImmedMovwMovtValue);
572 574
573 // Fields used in Load/Store instructions 575 // Fields used in Load/Store instructions
574 inline int PUValue() const { return Bits(24, 23); } 576 inline int PUValue() const { return Bits(24, 23); }
575 inline int PUField() const { return BitField(24, 23); } 577 inline int PUField() const { return BitField(24, 23); }
576 inline int BValue() const { return Bit(22); } 578 inline int BValue() const { return Bit(22); }
577 inline int WValue() const { return Bit(21); } 579 inline int WValue() const { return Bit(21); }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 static int Number(const char* name, bool* is_double); 686 static int Number(const char* name, bool* is_double);
685 687
686 private: 688 private:
687 static const char* names_[kNumVFPRegisters]; 689 static const char* names_[kNumVFPRegisters];
688 }; 690 };
689 691
690 692
691 } } // namespace v8::internal 693 } } // namespace v8::internal
692 694
693 #endif // V8_ARM_CONSTANTS_ARM_H_ 695 #endif // V8_ARM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698