Home | History | Annotate | Download | only in arm

Lines Matching defs:imm32

986 static bool fits_shifter(uint32_t imm32,
990 // imm32 must be unsigned.
992 uint32_t imm8 = (imm32 << 2*rot) | (imm32 >> (32 - 2*rot));
1003 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
1008 if (imm32 < 0x10000) {
1010 *instr |= Assembler::EncodeMovwImmediate(imm32);
1017 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
1025 if (fits_shifter(-static_cast<int>(imm32), rotate_imm, immed_8, NULL)) {
1031 if (fits_shifter(~imm32, rotate_imm, immed_8, NULL)) {
1115 uint32_t imm32 = static_cast<uint32_t>(x.imm32_);
1127 movw(target, imm32 & 0xffff, cond);
1128 movt(target, imm32 >> 16, cond);
1131 mov(target, Operand(imm32 & kImm8Mask), LeaveCC, cond);
1132 orr(target, target, Operand(imm32 & (kImm8Mask << 8)), LeaveCC, cond);
1133 orr(target, target, Operand(imm32 & (kImm8Mask << 16)), LeaveCC, cond);
1134 orr(target, target, Operand(imm32 & (kImm8Mask << 24)), LeaveCC, cond);
3203 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
3206 return fits_shifter(imm32, &dummy1, &dummy2, NULL);
3210 bool Assembler::ImmediateFitsAddrMode2Instruction(int32_t imm32) {
3211 return is_uint12(abs(imm32));