Lines Matching refs:imm32
1116 static bool fits_shifter(uint32_t imm32,
1120 // imm32 must be unsigned.
1122 uint32_t imm8 = base::bits::RotateLeft32(imm32, 2 * rot);
1133 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
1138 if (imm32 < 0x10000) {
1140 *instr |= Assembler::EncodeMovwImmediate(imm32);
1147 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
1155 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
1161 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
1243 uint32_t imm32 = static_cast<uint32_t>(x.imm32_);
1257 movw(target, imm32 & 0xffff, cond);
1258 movt(target, imm32 >> 16, cond);
1261 mov(target, Operand(imm32 & kImm8Mask), LeaveCC, cond);
1262 orr(target, target, Operand(imm32 & (kImm8Mask << 8)), LeaveCC, cond);
1263 orr(target, target, Operand(imm32 & (kImm8Mask << 16)), LeaveCC, cond);
1264 orr(target, target, Operand(imm32 & (kImm8Mask << 24)), LeaveCC, cond);
4011 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
4014 return fits_shifter(imm32, &dummy1, &dummy2, NULL);
4018 bool Assembler::ImmediateFitsAddrMode2Instruction(int32_t imm32) {
4019 return is_uint12(abs(imm32));