Lines Matching full:imm32
916 static bool fits_shifter(uint32_t imm32,
920 // imm32 must be unsigned.
922 uint32_t imm8 = (imm32 << 2*rot) | (imm32 >> (32 - 2*rot));
933 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
938 if (imm32 < 0x10000) {
940 *instr |= EncodeMovwImmediate(imm32);
947 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
955 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
961 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
2986 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
2989 return fits_shifter(imm32, &dummy1, &dummy2, NULL);