Lines Matching refs:rm
154 void Thumb2Assembler::mul(Register rd, Register rn, Register rm, Condition cond) { in mul() argument
155 if (rd == rm && !IsHighRegister(rd) && !IsHighRegister(rn) && !force_32bit_) { in mul()
170 static_cast<uint32_t>(rm); in mul()
177 void Thumb2Assembler::mla(Register rd, Register rn, Register rm, Register ra, in mla() argument
187 static_cast<uint32_t>(rm); in mla()
193 void Thumb2Assembler::mls(Register rd, Register rn, Register rm, Register ra, in mls() argument
203 static_cast<uint32_t>(rm); in mls()
210 Register rm, Condition cond) { in umull() argument
219 static_cast<uint32_t>(rm); in umull()
225 void Thumb2Assembler::sdiv(Register rd, Register rn, Register rm, Condition cond) { in sdiv() argument
234 static_cast<uint32_t>(rm); in sdiv()
240 void Thumb2Assembler::udiv(Register rd, Register rn, Register rm, Condition cond) { in udiv() argument
249 static_cast<uint32_t>(rm); in udiv()
962 Register rm = so.GetRegister(); in Emit16BitAddSub() local
969 rn = static_cast<Register>(static_cast<uint32_t>(rm) | in Emit16BitAddSub()
1092 void Thumb2Assembler::EmitShift(Register rd, Register rm, Shift shift, uint8_t amount, bool setcc) { in EmitShift() argument
1094 if (IsHighRegister(rd) || IsHighRegister(rm) || shift == ROR || shift == RRX) { in EmitShift()
1110 encoding |= imm3 << 12 | imm2 << 6 | static_cast<int16_t>(rm) | in EmitShift()
1123 int16_t encoding = opcode << 11 | amount << 6 | static_cast<int16_t>(rm) << 3 | in EmitShift()
1129 void Thumb2Assembler::EmitShift(Register rd, Register rn, Shift shift, Register rm, bool setcc) { in EmitShift() argument
1132 if (IsHighRegister(rd) || IsHighRegister(rm) || IsHighRegister(rn) || rd != rn) { in EmitShift()
1149 encoding |= static_cast<int16_t>(rn) << 16 | static_cast<int16_t>(rm) | in EmitShift()
1161 int16_t encoding = B14 | opcode << 6 | static_cast<int16_t>(rm) << 3 | in EmitShift()
1511 void Thumb2Assembler::clz(Register rd, Register rm, Condition cond) { in clz() argument
1513 CHECK_NE(rm, kNoRegister); in clz()
1516 CHECK_NE(rm, PC); in clz()
1519 static_cast<uint32_t>(rm) << 16 | in clz()
1523 static_cast<uint32_t>(rm); in clz()
2033 void Thumb2Assembler::blx(Register rm, Condition cond) { in blx() argument
2034 CHECK_NE(rm, kNoRegister); in blx()
2036 int16_t encoding = B14 | B10 | B9 | B8 | B7 | static_cast<int16_t>(rm) << 3; in blx()
2041 void Thumb2Assembler::bx(Register rm, Condition cond) { in bx() argument
2042 CHECK_NE(rm, kNoRegister); in bx()
2044 int16_t encoding = B14 | B10 | B9 | B8 | static_cast<int16_t>(rm) << 3; in bx()
2069 void Thumb2Assembler::Mov(Register rd, Register rm, Condition cond) { in Mov() argument
2070 if (cond != AL || rd != rm) { in Mov()
2071 mov(rd, ShifterOperand(rm), cond); in Mov()
2155 void Thumb2Assembler::Lsl(Register rd, Register rm, uint32_t shift_imm, in Lsl() argument
2159 EmitShift(rd, rm, LSL, shift_imm, setcc); in Lsl()
2163 void Thumb2Assembler::Lsr(Register rd, Register rm, uint32_t shift_imm, in Lsr() argument
2168 EmitShift(rd, rm, LSR, shift_imm, setcc); in Lsr()
2172 void Thumb2Assembler::Asr(Register rd, Register rm, uint32_t shift_imm, in Asr() argument
2177 EmitShift(rd, rm, ASR, shift_imm, setcc); in Asr()
2181 void Thumb2Assembler::Ror(Register rd, Register rm, uint32_t shift_imm, in Ror() argument
2185 EmitShift(rd, rm, ROR, shift_imm, setcc); in Ror()
2189 void Thumb2Assembler::Rrx(Register rd, Register rm, bool setcc, Condition cond) { in Rrx() argument
2191 EmitShift(rd, rm, RRX, rm, setcc); in Rrx()
2195 void Thumb2Assembler::Lsl(Register rd, Register rm, Register rn, in Lsl() argument
2198 EmitShift(rd, rm, LSL, rn, setcc); in Lsl()
2202 void Thumb2Assembler::Lsr(Register rd, Register rm, Register rn, in Lsr() argument
2205 EmitShift(rd, rm, LSR, rn, setcc); in Lsr()
2209 void Thumb2Assembler::Asr(Register rd, Register rm, Register rn, in Asr() argument
2212 EmitShift(rd, rm, ASR, rn, setcc); in Asr()
2216 void Thumb2Assembler::Ror(Register rd, Register rm, Register rn, in Ror() argument
2219 EmitShift(rd, rm, ROR, rn, setcc); in Ror()