Lines Matching refs:shift_t
26 static inline uint32_t DecodeImmShift(const uint32_t type, const uint32_t imm5, ARM_ShifterType &shift_t)
33 shift_t = SRType_LSL;
36 shift_t = SRType_LSR;
39 shift_t = SRType_ASR;
44 shift_t = SRType_RRX;
49 shift_t = SRType_ROR;
53 shift_t = SRType_Invalid;
60 static inline uint32_t DecodeImmShiftThumb(const uint32_t opcode, ARM_ShifterType &shift_t)
62 return DecodeImmShift(Bits32(opcode, 5, 4), Bits32(opcode, 14, 12)<<2 | Bits32(opcode, 7, 6), shift_t);
67 static inline uint32_t DecodeImmShiftARM(const uint32_t opcode, ARM_ShifterType &shift_t)
69 return DecodeImmShift(Bits32(opcode, 6, 5), Bits32(opcode, 11, 7), shift_t);
72 static inline uint32_t DecodeImmShift(const ARM_ShifterType shift_t, const uint32_t imm5)
75 return DecodeImmShift(shift_t, imm5, dont_care);