Home | History | Annotate | Download | only in arm

Lines Matching full:bits

42 // 4 bits option for the dmb instruction.
229 // bits.
249 // Get the raw instruction bits.
254 // Set the raw instruction bits to value.
259 // Read one particular bit out of the instruction bits.
264 // Read a bit field out of the instruction bits.
265 int Bits(int shift, int count) const {
274 return static_cast<Condition>(Bits(kConditionShift, kConditionBits));
276 int TypeField() const { return Bits(kTypeShift, kTypeBits); }
279 Bits(kRnShift, kRnBits)); }
281 Bits(kRdShift, kRdBits)); }
285 return static_cast<Opcode>(Bits(kOpcodeShift, kOpcodeBits));
287 int SField() const { return Bits(kSShift, kSBits); }
290 return static_cast<Register>(Bits(kRmShift, kRmBits));
293 Bits(kShiftShift, kShiftBits)); }
296 return static_cast<Register>(Bits(kRsShift, kRsBits));
298 int ShiftAmountField() const { return Bits(kShiftImmShift,
301 int RotateField() const { return Bits(kRotateShift, kRotateBits); }
302 int Immed8Field() const { return Bits(kImmed8Shift, kImmed8Bits); }
305 int PUField() const { return Bits(23, 2); }
311 int Offset12Field() const { return Bits(kOffset12Shift,
314 int RlistField() const { return Bits(0, 16); }
318 int ImmedHField() const { return Bits(8, 4); }
319 int ImmedLField() const { return Bits(0, 4); }
322 int LinkField() const { return Bits(kLinkShift, kLinkBits); }
326 uint32_t SvcField() const { return Bits(0, 24); }
330 return ((Bits(8, 12) << 4) | Bits(0, 4));
335 return ((Bits(16, 4) << 12) | Bits(0, 12));
341 (Bits(16, 2) << 23) | (Bits(0, 4) << 19);
348 (Bits(16, 2)*(1LL << 52)) | (Bits(0, 4)*(1LL << 48));
357 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
358 return ((Bits(20, 5) & 0x19) != 0x10) &&
368 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
369 return ((Bit(25) == 0) && ((Bits(20, 5) & 0x19) == 0x10) && (Bit(7) == 0));
372 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
373 return ((Bit(25) == 0) && (Bits(4, 4) == 9));
388 return static_cast<SRegister>((Bits(kRnShift, kRnBits) << 1) + Bit(7));
391 return static_cast<SRegister>((Bits(kRdShift, kRdBits) << 1) + Bit(22));
394 return static_cast<SRegister>((Bits(kRmShift, kRmBits) << 1) + Bit(5));
397 return static_cast<DRegister>(Bits(kRnShift, kRnBits) + (Bit(7) << 4));
400 return static_cast<DRegister>(Bits(kRdShift, kRdBits) + (Bit(22) << 4));
403 return static_cast<DRegister>(Bits(kRmShift, kRmBits) + (Bit(5) << 4));
410 return ((Bit(24) == 0) && (Bits(9, 3) == 5));
419 return ((Bits(21, 4) == 2) && (Bits(9, 3) == 5) &&
420 ((Bits(4, 4) & 0xd) == 1));
427 return ((Bits(20, 5) & 0x12) == 0x10) && (Bits(9, 3) == 5);