![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <constants-arm.h>
Public Types | |
| enum | { kInstrSize = 4, kInstrSizeLog2 = 2, kPCReadOffset = 8 } |
| enum | { kInstrSize = 4, kInstrSizeLog2 = 2, kPCReadOffset = 8 } |
| enum | Type { kRegisterType, kImmediateType, kJumpType, kUnsupported = -1 } |
Public Member Functions | |
| Instr | InstructionBits () const |
| void | SetInstructionBits (Instr value) |
| int | Bit (int nr) const |
| int | Bits (int hi, int lo) const |
| int | BitField (int hi, int lo) const |
| Condition | ConditionValue () const |
| Condition | ConditionField () const |
| DECLARE_STATIC_TYPED_ACCESSOR (Condition, ConditionValue) | |
| DECLARE_STATIC_TYPED_ACCESSOR (Condition, ConditionField) | |
| int | TypeValue () const |
| int | RnValue () const |
| DECLARE_STATIC_ACCESSOR (RnValue) | |
| int | RdValue () const |
| DECLARE_STATIC_ACCESSOR (RdValue) | |
| int | CoprocessorValue () const |
| int | VnValue () const |
| int | VmValue () const |
| int | VdValue () const |
| int | NValue () const |
| int | MValue () const |
| int | DValue () const |
| int | RtValue () const |
| int | PValue () const |
| int | UValue () const |
| int | Opc1Value () const |
| int | Opc2Value () const |
| int | Opc3Value () const |
| int | SzValue () const |
| int | VLValue () const |
| int | VCValue () const |
| int | VAValue () const |
| int | VBValue () const |
| int | VFPNRegValue (VFPRegPrecision pre) |
| int | VFPMRegValue (VFPRegPrecision pre) |
| int | VFPDRegValue (VFPRegPrecision pre) |
| int | OpcodeValue () const |
| Opcode | OpcodeField () const |
| int | SValue () const |
| int | RmValue () const |
| DECLARE_STATIC_ACCESSOR (RmValue) | |
| int | ShiftValue () const |
| ShiftOp | ShiftField () const |
| int | RegShiftValue () const |
| int | RsValue () const |
| int | ShiftAmountValue () const |
| int | RotateValue () const |
| int | Immed8Value () const |
| int | Immed4Value () const |
| int | ImmedMovwMovtValue () const |
| int | PUValue () const |
| int | PUField () const |
| int | BValue () const |
| int | WValue () const |
| int | LValue () const |
| int | Offset12Value () const |
| int | RlistValue () const |
| int | SignValue () const |
| int | HValue () const |
| int | ImmedHValue () const |
| int | ImmedLValue () const |
| int | LinkValue () const |
| int | SImmed24Value () const |
| SoftwareInterruptCodes | SvcValue () const |
| bool | IsSpecialType0 () const |
| bool | IsMiscType0 () const |
| bool | IsNopType1 () const |
| bool | IsStop () const |
| bool | HasS () const |
| bool | HasB () const |
| bool | HasW () const |
| bool | HasL () const |
| bool | HasU () const |
| bool | HasSign () const |
| bool | HasH () const |
| bool | HasLink () const |
| double | DoubleImmedVmov () const |
| Instr | InstructionBits () const |
| void | SetInstructionBits (Instr value) |
| int | Bit (int nr) const |
| int | Bits (int hi, int lo) const |
| Type | InstructionType () const |
| Opcode | OpcodeValue () const |
| int | RsValue () const |
| int | RtValue () const |
| int | RdValue () const |
| int | SaValue () const |
| int | FunctionValue () const |
| int | FdValue () const |
| int | FsValue () const |
| int | FtValue () const |
| int | FCccValue () const |
| int | FBccValue () const |
| int | FBtrueValue () const |
| Opcode | OpcodeFieldRaw () const |
| int | RsFieldRaw () const |
| int | RsFieldRawNoAssert () const |
| int | RtFieldRaw () const |
| int | RdFieldRaw () const |
| int | SaFieldRaw () const |
| int | FunctionFieldRaw () const |
| int | SecondaryValue () const |
| int32_t | Imm16Value () const |
| int32_t | Imm26Value () const |
| bool | IsForbiddenInBranchDelay () const |
| bool | IsLinkingInstruction () const |
| bool | IsTrap () const |
Static Public Member Functions | |
| static int | Bit (Instr instr, int nr) |
| static int | Bits (Instr instr, int hi, int lo) |
| static int | BitField (Instr instr, int hi, int lo) |
| static Instruction * | At (byte *pc) |
| static Instruction * | At (byte *pc) |
Definition at line 507 of file constants-arm.h.
| anonymous enum |
| Enumerator | |
|---|---|
| kInstrSize | |
| kInstrSizeLog2 | |
| kPCReadOffset | |
Definition at line 594 of file constants-mips.h.
| anonymous enum |
| Enumerator | |
|---|---|
| kInstrSize | |
| kInstrSizeLog2 | |
| kPCReadOffset | |
Definition at line 509 of file constants-arm.h.
| enum Type |
| Enumerator | |
|---|---|
| kRegisterType | |
| kImmediateType | |
| kJumpType | |
| kUnsupported | |
Definition at line 623 of file constants-mips.h.
|
inlinestatic |
Definition at line 715 of file constants-arm.h.
References v8::internal::pc.
|
inlinestatic |
Definition at line 768 of file constants-mips.h.
References v8::internal::pc.
|
inline |
Definition at line 536 of file constants-arm.h.
References Instruction::InstructionBits().
Referenced by Instruction::BValue(), Instruction::DValue(), Instruction::HValue(), Instruction::IsMiscType0(), Instruction::IsSpecialType0(), Instruction::IsStop(), Instruction::LinkValue(), Instruction::LValue(), Instruction::MValue(), Instruction::NValue(), Instruction::Opc1Value(), Instruction::PValue(), Instruction::RegShiftValue(), Instruction::SignValue(), Instruction::SValue(), Instruction::SzValue(), Instruction::UValue(), Instruction::VCValue(), Instruction::VLValue(), and Instruction::WValue().
|
inlinestatic |
Definition at line 553 of file constants-arm.h.
|
inline |
Definition at line 613 of file constants-mips.h.
References Instruction::InstructionBits().
|
inline |
Definition at line 546 of file constants-arm.h.
References Instruction::InstructionBits(), and v8::internal::lo.
Referenced by Instruction::ConditionField(), Instruction::OpcodeField(), Instruction::PUField(), and Instruction::ShiftField().
Definition at line 564 of file constants-arm.h.
References v8::internal::lo.
|
inline |
Definition at line 541 of file constants-arm.h.
References Instruction::InstructionBits(), and v8::internal::lo.
Referenced by Instruction::ConditionValue(), Instruction::CoprocessorValue(), Instruction::FBccValue(), Instruction::FBtrueValue(), Instruction::FCccValue(), Instruction::FdValue(), Instruction::FsValue(), Instruction::FtValue(), Instruction::FunctionValue(), Instruction::Imm16Value(), Instruction::Imm26Value(), Instruction::Immed4Value(), Instruction::Immed8Value(), Instruction::ImmedHValue(), Instruction::ImmedLValue(), Instruction::IsNopType1(), Instruction::Offset12Value(), Instruction::Opc1Value(), Instruction::Opc2Value(), Instruction::Opc3Value(), Instruction::OpcodeValue(), Instruction::PUValue(), Instruction::RdValue(), Instruction::RlistValue(), Instruction::RmValue(), Instruction::RnValue(), Instruction::RotateValue(), Instruction::RsValue(), Instruction::RtValue(), Instruction::SaValue(), Instruction::ShiftAmountValue(), Instruction::ShiftValue(), Instruction::SvcValue(), Instruction::TypeValue(), Instruction::VAValue(), Instruction::VBValue(), Instruction::VdValue(), Instruction::VmValue(), and Instruction::VnValue().
|
inlinestatic |
Definition at line 558 of file constants-arm.h.
References v8::internal::lo.
|
inline |
Definition at line 618 of file constants-mips.h.
References Instruction::InstructionBits(), and v8::internal::lo.
|
inline |
Definition at line 657 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasB().
|
inline |
Definition at line 586 of file constants-arm.h.
References Instruction::BitField().
|
inline |
Definition at line 583 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 599 of file constants-arm.h.
References Instruction::Bits().
| DECLARE_STATIC_ACCESSOR | ( | RnValue | ) |
| DECLARE_STATIC_ACCESSOR | ( | RdValue | ) |
| DECLARE_STATIC_ACCESSOR | ( | RmValue | ) |
| DECLARE_STATIC_TYPED_ACCESSOR | ( | Condition | , |
| ConditionValue | |||
| ) |
| DECLARE_STATIC_TYPED_ACCESSOR | ( | Condition | , |
| ConditionField | |||
| ) |
| double DoubleImmedVmov | ( | ) | const |
|
inline |
Definition at line 607 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 686 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFBccBits, and v8::internal::kFBccShift.
|
inline |
Definition at line 691 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFBtrueBits, and v8::internal::kFBtrueShift.
|
inline |
Definition at line 681 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFCccBits, and v8::internal::kFCccShift.
|
inline |
Definition at line 668 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFdBits, and v8::internal::kFdShift.
|
inline |
Definition at line 672 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFsBits, and v8::internal::kFsShift.
|
inline |
Definition at line 676 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kFtBits, and v8::internal::kFtShift.
|
inline |
Definition at line 727 of file constants-mips.h.
References Instruction::InstructionBits(), and v8::internal::kFunctionFieldMask.
|
inline |
Definition at line 662 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), v8::internal::kFunctionBits, v8::internal::kFunctionShift, Instruction::kImmediateType, and Instruction::kRegisterType.
Referenced by Instruction::SecondaryValue().
|
inline |
Definition at line 700 of file constants-arm.h.
References Instruction::BValue().
|
inline |
Definition at line 705 of file constants-arm.h.
References Instruction::HValue().
|
inline |
Definition at line 702 of file constants-arm.h.
References Instruction::LValue().
|
inline |
Definition at line 706 of file constants-arm.h.
References Instruction::LinkValue().
|
inline |
Definition at line 699 of file constants-arm.h.
References Instruction::SValue().
|
inline |
Definition at line 704 of file constants-arm.h.
References Instruction::SignValue().
|
inline |
Definition at line 703 of file constants-arm.h.
References Instruction::UValue().
|
inline |
Definition at line 701 of file constants-arm.h.
References Instruction::WValue().
|
inline |
Definition at line 667 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasH().
|
inline |
Definition at line 747 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), v8::internal::kImm16Bits, v8::internal::kImm16Shift, and Instruction::kImmediateType.
|
inline |
Definition at line 752 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), v8::internal::kImm26Bits, v8::internal::kImm26Shift, and Instruction::kJumpType.
|
inline |
Definition at line 650 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::ImmedMovwMovtValue().
|
inline |
Definition at line 649 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 668 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 669 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 651 of file constants-arm.h.
References Instruction::Immed4Value(), and Instruction::Offset12Value().
|
inline |
Definition at line 526 of file constants-arm.h.
Referenced by Instruction::Bit(), Instruction::BitField(), Instruction::Bits(), Instruction::FunctionFieldRaw(), Instruction::OpcodeFieldRaw(), Instruction::RdFieldRaw(), Instruction::RsFieldRaw(), Instruction::RsFieldRawNoAssert(), Instruction::RtFieldRaw(), Instruction::SaFieldRaw(), and Instruction::SImmed24Value().
|
inline |
Definition at line 603 of file constants-mips.h.
| Type InstructionType | ( | ) | const |
Referenced by Instruction::FunctionValue(), Instruction::Imm16Value(), Instruction::Imm26Value(), Instruction::RdFieldRaw(), Instruction::RdValue(), Instruction::RsFieldRaw(), Instruction::RsValue(), Instruction::RtFieldRaw(), Instruction::RtValue(), Instruction::SaFieldRaw(), and Instruction::SaValue().
| bool IsForbiddenInBranchDelay | ( | ) | const |
| bool IsLinkingInstruction | ( | ) | const |
|
inline |
Definition at line 685 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 691 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 682 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 694 of file constants-arm.h.
References Instruction::Bit(), v8::internal::kStopCode, Instruction::SvcValue(), and Instruction::TypeValue().
| bool IsTrap | ( | ) | const |
|
inline |
Definition at line 672 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasLink().
|
inline |
Definition at line 659 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasL().
|
inline |
Definition at line 606 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 605 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 662 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::ImmedMovwMovtValue().
|
inline |
Definition at line 611 of file constants-arm.h.
References Instruction::Bit(), and Instruction::Bits().
|
inline |
Definition at line 612 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 613 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 633 of file constants-arm.h.
References Instruction::BitField().
|
inline |
Definition at line 696 of file constants-mips.h.
References Instruction::InstructionBits(), and v8::internal::kOpcodeMask.
Referenced by Instruction::SecondaryValue().
|
inline |
Definition at line 630 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 635 of file constants-mips.h.
References Instruction::Bits(), v8::internal::kOpcodeBits, and v8::internal::kOpcodeShift.
|
inline |
Definition at line 656 of file constants-arm.h.
References Instruction::BitField().
|
inline |
Definition at line 655 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 609 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 717 of file constants-mips.h.
References ASSERT, Instruction::InstructionBits(), Instruction::InstructionType(), v8::internal::kRdFieldMask, and Instruction::kRegisterType.
|
inline |
Definition at line 596 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 652 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), v8::internal::kRdBits, v8::internal::kRdShift, and Instruction::kRegisterType.
|
inline |
Definition at line 644 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 664 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 638 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 594 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 648 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 700 of file constants-mips.h.
References ASSERT, Instruction::InstructionBits(), Instruction::InstructionType(), Instruction::kImmediateType, Instruction::kRegisterType, and v8::internal::kRsFieldMask.
|
inline |
Definition at line 707 of file constants-mips.h.
References Instruction::InstructionBits(), and v8::internal::kRsFieldMask.
|
inline |
Definition at line 640 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), Instruction::kImmediateType, Instruction::kRegisterType, v8::internal::kRsBits, and v8::internal::kRsShift.
|
inline |
Definition at line 645 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::SecondaryValue().
|
inline |
Definition at line 711 of file constants-mips.h.
References ASSERT, Instruction::InstructionBits(), Instruction::InstructionType(), Instruction::kImmediateType, Instruction::kRegisterType, and v8::internal::kRtFieldMask.
|
inline |
Definition at line 608 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::SecondaryValue().
|
inline |
Definition at line 646 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), Instruction::kImmediateType, Instruction::kRegisterType, v8::internal::kRtBits, and v8::internal::kRtShift.
|
inline |
Definition at line 722 of file constants-mips.h.
References ASSERT, Instruction::InstructionBits(), Instruction::InstructionType(), Instruction::kRegisterType, and v8::internal::kSaFieldMask.
|
inline |
Definition at line 657 of file constants-mips.h.
References ASSERT, Instruction::Bits(), Instruction::InstructionType(), Instruction::kRegisterType, v8::internal::kSaBits, and v8::internal::kSaShift.
|
inline |
Definition at line 732 of file constants-mips.h.
References v8::internal::COP1, Instruction::FunctionValue(), v8::internal::NULLSF, Instruction::OpcodeFieldRaw(), v8::internal::REGIMM, Instruction::RsValue(), Instruction::RtValue(), v8::internal::SPECIAL, and v8::internal::SPECIAL2.
|
inline |
Definition at line 531 of file constants-arm.h.
|
inline |
Definition at line 608 of file constants-mips.h.
|
inline |
Definition at line 646 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 641 of file constants-arm.h.
References Instruction::BitField().
|
inline |
Definition at line 640 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 666 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasSign().
|
inline |
Definition at line 673 of file constants-arm.h.
References Instruction::InstructionBits().
|
inline |
Definition at line 636 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasS().
|
inline |
Definition at line 676 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::IsStop().
|
inline |
Definition at line 614 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 592 of file constants-arm.h.
References Instruction::Bits().
Referenced by Instruction::IsStop().
|
inline |
Definition at line 610 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasU().
|
inline |
Definition at line 617 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 618 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 616 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 604 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 625 of file constants-arm.h.
|
inline |
Definition at line 622 of file constants-arm.h.
|
inline |
Definition at line 619 of file constants-arm.h.
|
inline |
Definition at line 615 of file constants-arm.h.
References Instruction::Bit().
|
inline |
Definition at line 603 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 602 of file constants-arm.h.
References Instruction::Bits().
|
inline |
Definition at line 658 of file constants-arm.h.
References Instruction::Bit().
Referenced by Instruction::HasW().