Lines Matching full:bits
149 // The bits for bit 7-4 for some type 0 miscellaneous instructions.
151 // With bits 22-21 01.
157 // With bits 22-21 11.
162 // Instruction encoding bits and masks.
331 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for
416 // bits.
442 // Get the raw instruction bits.
447 // Set the raw instruction bits to value.
452 // Read one particular bit out of the instruction bits.
457 // Read a bit field's value out of the instruction bits.
458 inline int Bits(int hi, int lo) const {
462 // Read a bit field out of the instruction bits.
469 // Read one particular bit out of the instruction bits.
474 // Read the value of a bit field out of the instruction bits.
475 static inline int Bits(Instr instr, int hi, int lo) {
480 // Read a bit field out of the instruction bits.
490 // - <Name>Field() will return the raw field, i.e. the field's bits at their
501 return static_cast<Condition>(Bits(31, 28));
509 inline int TypeValue() const { return Bits(27, 25); }
510 inline int SpecialValue() const { return Bits(27, 23); }
512 inline int RnValue() const { return Bits(19, 16); }
514 inline int RdValue() const { return Bits(15, 12); }
517 inline int CoprocessorValue() const { return Bits(11, 8); }
520 inline int VnValue() const { return Bits
521 inline int VmValue() const { return Bits(3, 0); }
522 inline int VdValue() const { return Bits(15, 12); }
526 inline int RtValue() const { return Bits(15, 12); }
529 inline int Opc1Value() const { return (Bit(23) << 2) | Bits(21, 20); }
530 inline int Opc2Value() const { return Bits(19, 16); }
531 inline int Opc3Value() const { return Bits(7, 6); }
535 inline int VAValue() const { return Bits(23, 21); }
536 inline int VBValue() const { return Bits(6, 5); }
549 return static_cast<Opcode>(Bits(24, 21));
556 inline int RmValue() const { return Bits(3, 0); }
558 inline int ShiftValue() const { return static_cast<ShiftOp>(Bits(6, 5)); }
563 inline int RsValue() const { return Bits(11, 8); }
564 inline int ShiftAmountValue() const { return Bits(11, 7); }
566 inline int RotateValue() const { return Bits(11, 8); }
568 inline int Immed8Value() const { return Bits(7, 0); }
570 inline int Immed4Value() const { return Bits(19, 16); }
576 inline int PUValue() const { return Bits(24, 23); }
583 inline int Offset12Value() const { return Bits(11, 0); }
585 inline int RlistValue() const { return Bits(15, 0); }
589 inline int ImmedHValue() const { return Bits(11, 8); }
590 inline int ImmedLValue() const { return Bits(3, 0); }
598 return static_cast<SoftwareInterruptCodes>(Bits(23, 0));
612 inline bool IsNopType1() const { return Bits(24, 0) == 0x0120F000; }
648 return (Bits(four_bit + 3, four_bit) << 1) | Bit(one_bit);
650 return (Bit(one_bit) << 4) | Bits(four_bit + 3, four_bit);