Home | History | Annotate | Download | only in arm

Lines Matching defs:Bit

131 // Instr is merely used by the Assembler to distinguish 32bit integers
132 // representing instructions from usual 32 bit values.
133 // Instruction objects are pointers to 32bit values, and provide methods to
155 BIC = 14 << 21, // Bit Clear.
160 // The bits for bit 7-4 for some type 0 miscellaneous instructions.
208 // Instruction bit masks.
289 // Bit encoding P U W.
301 // Bit encoding P U W .
359 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for
360 // standard SoftwareInterrupCode. Bit 23 is reserved for the stop feature.
480 // Read one particular bit out of the instruction bits.
481 inline int Bit(int nr) const {
485 // Read a bit field's value out of the instruction bits.
490 // Read a bit field out of the instruction bits.
497 // Read one particular bit out of the instruction bits.
498 static inline int Bit(Instr instr, int nr) {
502 // Read the value of a bit field out of the instruction bits.
508 // Read a bit field out of the instruction bits.
522 // - <Name>Value() will return the field value, shifted back to bit 0.
551 inline int NValue() const { return Bit(7); }
552 inline int MValue() const { return Bit(5); }
553 inline int DValue() const { return Bit(22); }
555 inline int PValue() const { return Bit(24); }
556 inline int UValue() const { return Bit(23); }
557 inline int Opc1Value() const { return (Bit(23) << 2) | Bits(21, 20); }
560 inline int SzValue() const { return Bit(8); }
561 inline int VLValue() const { return Bit(20); }
562 inline int VCValue() const { return Bit(8); }
582 inline int SValue() const { return Bit(20); }
590 inline int RegShiftValue() const { return Bit(4); }
606 inline int BValue() const { return Bit(22); }
607 inline int WValue() const { return Bit(21); }
608 inline int LValue() const { return Bit(20); }
615 inline int SignValue() const { return Bit(6); }
616 inline int HValue() const { return Bit(5); }
621 inline int LinkValue() const { return Bit(24); }
631 inline bool IsSpecialType0() const { return (Bit(7) == 1) && (Bit(4) == 1); }
634 inline bool IsMiscType0() const { return (Bit(24) == 1)
635 && (Bit(23) == 0)
636 && (Bit(20) == 0)
637 && ((Bit(7) == 0)); }
644 return (TypeValue() == 7) && (Bit(24) == 1) && (SvcValue() >= kStopCode);
671 // four_bit is the position of the least-significant bit of the four
672 // bit specifier. one_bit is the position of the additional single bit
676 return (Bits(four_bit + 3, four_bit) << 1) | Bit(one_bit);
678 return (Bit(one_bit) << 4) | Bits(four_bit + 3, four_bit);