Lines Matching refs:immed_8
1027 bool FitsShifter(uint32_t imm32, uint32_t* rotate_imm, uint32_t* immed_8, in FitsShifter() argument
1034 *immed_8 = imm8; in FitsShifter()
1042 if (FitsShifter(~imm32, rotate_imm, immed_8, nullptr)) { in FitsShifter()
1050 *rotate_imm = *immed_8 = 0; // Not used for movw. in FitsShifter()
1056 if (FitsShifter(-static_cast<int>(imm32), rotate_imm, immed_8, nullptr)) { in FitsShifter()
1064 if (FitsShifter(-static_cast<int>(imm32), rotate_imm, immed_8, in FitsShifter()
1071 if (FitsShifter(~imm32, rotate_imm, immed_8, nullptr)) { in FitsShifter()
1257 uint32_t immed_8; in AddrMode1TryEncodeOperand() local
1259 !FitsShifter(x.immediate(), &rotate_imm, &immed_8, instr)) { in AddrMode1TryEncodeOperand()
1263 *instr |= I | rotate_imm * B8 | immed_8; in AddrMode1TryEncodeOperand()
2084 uint32_t immed_8; in msr() local
2086 !FitsShifter(src.immediate(), &rotate_imm, &immed_8, nullptr)) { in msr()
2095 instr = I | rotate_imm*B8 | immed_8; in msr()
4982 uint32_t immed_8 = 0; in PatchShiftImm() local
4983 bool immed_fits = FitsShifter(immed, &rotate_imm, &immed_8, nullptr); in PatchShiftImm()
4986 return (instr & ~kOff12Mask) | (rotate_imm << 8) | immed_8; in PatchShiftImm()