Home | History | Annotate | Download | only in arm

Lines Matching refs:Bits

210 // The bits for bit 7-4 for some type 0 miscellaneous instructions.
212 // With bits 22-21 01.
218 // With bits 22-21 11.
223 // Instruction encoding bits and masks.
363 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for
502 // bits.
528 // Get the raw instruction bits.
533 // Set the raw instruction bits to value.
538 // Read one particular bit out of the instruction bits.
543 // Read a bit field's value out of the instruction bits.
544 inline int Bits(int hi, int lo) const {
548 // Read a bit field out of the instruction bits.
555 // Read one particular bit out of the instruction bits.
560 // Read the value of a bit field out of the instruction bits.
561 static inline int Bits(Instr instr, int hi, int lo) {
566 // Read a bit field out of the instruction bits.
576 // - <Name>Field() will return the raw field, i.e. the field's bits at their
587 return static_cast<Condition>(Bits(31, 28));
595 inline int TypeValue() const { return Bits(27, 25); }
597 inline int RnValue() const { return Bits(19, 16); }
599 inline int RdValue() const { return Bits(15, 12); }
602 inline int CoprocessorValue() const { return Bits(11, 8); }
605 inline int VnValue() const { return Bits(19, 16); }
606 inline int VmValue() const { return Bits(3, 0); }
607 inline int VdValue() const { return Bits(15, 12); }
611 inline int RtValue() const { return Bits(15, 12); }
614 inline int Opc1Value() const { return (Bit(23) << 2) | Bits(21, 20); }
615 inline int Opc2Value() const { return Bits(19, 16); }
616 inline int Opc3Value() const { return Bits(7, 6); }
620 inline int VAValue() const { return Bits(23, 21); }
621 inline int VBValue() const { return Bits(6, 5); }
634 return static_cast<Opcode>(Bits(24, 21));
641 inline int RmValue() const { return Bits(3, 0); }
643 inline int ShiftValue() const { return static_cast<ShiftOp>(Bits(6, 5)); }
648 inline int RsValue() const { return Bits(11, 8); }
649 inline int ShiftAmountValue() const { return Bits(11, 7); }
651 inline int RotateValue() const { return Bits(11, 8); }
652 inline int Immed8Value() const { return Bits(7, 0); }
653 inline int Immed4Value() const { return Bits(19, 16); }
658 inline int PUValue() const { return Bits(24, 23); }
665 inline int Offset12Value() const { return Bits(11, 0); }
667 inline int RlistValue() const { return Bits(15, 0); }
671 inline int ImmedHValue() const { return Bits(11, 8); }
672 inline int ImmedLValue() const { return Bits(3, 0); }
680 return static_cast<SoftwareInterruptCodes>(Bits(23, 0));
727 return (Bits(four_bit + 3, four_bit) << 1) | Bit(one_bit);
729 return (Bit(one_bit) << 4) | Bits(four_bit + 3, four_bit);