Lines Matching refs:Bit
181 // Instr is merely used by the Assembler to distinguish 32bit integers
182 // representing instructions from usual 32 bit values.
183 // Instruction objects are pointers to 32bit values, and provide methods to
205 BIC = 14 << 21, // Bit Clear.
210 // The bits for bit 7-4 for some type 0 miscellaneous instructions.
257 // Instruction bit masks.
319 // Bit encoding P U W.
331 // Bit encoding P U W .
363 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for
364 // standard SoftwareInterrupCode. Bit 23 is reserved for the stop feature.
538 // Read one particular bit out of the instruction bits.
539 inline int Bit(int nr) const {
543 // Read a bit field's value out of the instruction bits.
548 // Read a bit field out of the instruction bits.
555 // Read one particular bit out of the instruction bits.
556 static inline int Bit(Instr instr, int nr) {
560 // Read the value of a bit field out of the instruction bits.
566 // Read a bit field out of the instruction bits.
580 // - <Name>Value() will return the field value, shifted back to bit 0.
608 inline int NValue() const { return Bit(7); }
609 inline int MValue() const { return Bit(5); }
610 inline int DValue() const { return Bit(22); }
612 inline int PValue() const { return Bit(24); }
613 inline int UValue() const { return Bit(23); }
614 inline int Opc1Value() const { return (Bit(23) << 2) | Bits(21, 20); }
617 inline int SzValue() const { return Bit(8); }
618 inline int VLValue() const { return Bit(20); }
619 inline int VCValue() const { return Bit(8); }
639 inline int SValue() const { return Bit(20); }
647 inline int RegShiftValue() const { return Bit(4); }
660 inline int BValue() const { return Bit(22); }
661 inline int WValue() const { return Bit(21); }
662 inline int LValue() const { return Bit(20); }
669 inline int SignValue() const { return Bit(6); }
670 inline int HValue() const { return Bit(5); }
675 inline int LinkValue() const { return Bit(24); }
685 inline bool IsSpecialType0() const { return (Bit(7) == 1) && (Bit(4) == 1); }
688 inline bool IsMiscType0() const { return (Bit(24) == 1)
689 && (Bit(23) == 0)
690 && (Bit(20) == 0)
691 && ((Bit(7) == 0)); }
695 return (TypeValue() == 7) && (Bit(24) == 1) && (SvcValue() >= kStopCode);
722 // four_bit is the position of the least-significant bit of the four
723 // bit specifier. one_bit is the position of the additional single bit
727 return (Bits(four_bit + 3, four_bit) << 1) | Bit(one_bit);
729 return (Bit(one_bit) << 4) | Bits(four_bit + 3, four_bit);