Lines Matching full:imm32
718 static bool fits_shifter(uint32_t imm32,
722 // imm32 must be unsigned.
724 uint32_t imm8 = (imm32 << 2*rot) | (imm32 >> (32 - 2*rot));
735 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
740 if (imm32 < 0x10000) {
742 *instr |= EncodeMovwImmediate(imm32);
749 if (fits_shifter(-imm32, rotate_imm, immed_8, NULL)) {
757 if (fits_shifter(-imm32, rotate_imm, immed_8, NULL)) {
763 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
2408 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
2411 return fits_shifter(imm32, &dummy1, &dummy2, NULL);