Lines Matching full:bits
41 // 4 bits option for the dmb instruction.
221 // bits.
241 // Get the raw instruction bits.
246 // Set the raw instruction bits to value.
251 // Read one particular bit out of the instruction bits.
256 // Read a bit field out of the instruction bits.
257 int Bits(int shift, int count) const {
266 return static_cast<Condition>(Bits(kConditionShift, kConditionBits));
268 int TypeField() const { return Bits(kTypeShift, kTypeBits); }
271 Bits(kRnShift, kRnBits)); }
273 Bits(kRdShift, kRdBits)); }
277 return static_cast<Opcode>(Bits(kOpcodeShift, kOpcodeBits));
279 int SField() const { return Bits(kSShift, kSBits); }
282 return static_cast<Register>(Bits(kRmShift, kRmBits));
285 Bits(kShiftShift, kShiftBits)); }
288 return static_cast<Register>(Bits(kRsShift, kRsBits));
290 int ShiftAmountField() const { return Bits(kShiftImmShift,
293 int RotateField() const { return Bits(kRotateShift, kRotateBits); }
294 int Immed8Field() const { return Bits(kImmed8Shift, kImmed8Bits); }
297 int PUField() const { return Bits(23, 2); }
303 int Offset12Field() const { return Bits(kOffset12Shift,
306 int RlistField() const { return Bits(0, 16); }
310 int ImmedHField() const { return Bits(8, 4); }
311 int ImmedLField() const { return Bits(0, 4); }
314 int LinkField() const { return Bits(kLinkShift, kLinkBits); }
318 uint32_t SvcField() const { return Bits(0, 24); }
322 return ((Bits(8, 12) << 4) | Bits(0, 4));
327 return ((Bits(16, 4) << 12) | Bits(0, 12));
333 (Bits(16, 2) << 23) | (Bits(0, 4) << 19);
340 (Bits(16, 2)*(1LL << 52)) | (Bits(0, 4)*(1LL << 48));
349 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
350 return ((Bits(20, 5) & 0x19) != 0x10) &&
360 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
361 return ((Bit(25) == 0) && ((Bits(20, 5) & 0x19) == 0x10) && (Bit(7) == 0));
364 CHECK_EQ(Bits(26, 2), 0); // Type 0 or 1.
365 return ((Bit(25) == 0) && (Bits(4, 4) == 9));
380 return static_cast<SRegister>((Bits(kRnShift, kRnBits) << 1) + Bit(7));
383 return static_cast<SRegister>((Bits(kRdShift, kRdBits) << 1) + Bit(22));
386 return static_cast<SRegister>((Bits(kRmShift, kRmBits) << 1) + Bit(5));
389 return static_cast<DRegister>(Bits(kRnShift, kRnBits) + (Bit(7) << 4));
392 return static_cast<DRegister>(Bits(kRdShift, kRdBits) + (Bit(22) << 4));
395 return static_cast<DRegister>(Bits(kRmShift, kRmBits) + (Bit(5) << 4));
402 return ((Bit(24) == 0) && (Bits(9, 3) == 5));
411 return ((Bits(21, 4) == 2) && (Bits(9, 3) == 5) &&
412 ((Bits(4, 4) & 0xd) == 1));
419 return ((Bits(20, 5) & 0x12) == 0x10) && (Bits(9, 3) == 5);