Lines Matching refs:Rs
215 int Rd, int Rm, int Rs, int Rn) { in MLA() argument
216 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; } in MLA()
217 LOG_FATAL_IF(Rd==Rm, "MLA(r%u,r%u,r%u,r%u)", Rd,Rm,Rs,Rn); in MLA()
219 (Rd<<16) | (Rn<<12) | (Rs<<8) | 0x90 | Rm; in MLA()
222 int Rd, int Rm, int Rs) { in MUL() argument
223 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; } in MUL()
224 LOG_FATAL_IF(Rd==Rm, "MUL(r%u,r%u,r%u)", Rd,Rm,Rs); in MUL()
225 *mPC++ = (cc<<28) | (s<<20) | (Rd<<16) | (Rs<<8) | 0x90 | Rm; in MUL()
228 int RdLo, int RdHi, int Rm, int Rs) { in UMULL() argument
230 "UMULL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs); in UMULL()
232 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm; in UMULL()
235 int RdLo, int RdHi, int Rm, int Rs) { in UMUAL() argument
237 "UMUAL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs); in UMUAL()
239 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm; in UMUAL()
242 int RdLo, int RdHi, int Rm, int Rs) { in SMULL() argument
244 "SMULL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs); in SMULL()
246 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm; in SMULL()
249 int RdLo, int RdHi, int Rm, int Rs) { in SMUAL() argument
251 "SMUAL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs); in SMUAL()
253 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm; in SMUAL()
389 int Rd, int Rm, int Rs) in SMUL() argument
391 *mPC++ = (cc<<28) | 0x1600080 | (Rd<<16) | (Rs<<8) | (xy<<4) | Rm; in SMUL()
395 int Rd, int Rm, int Rs) in SMULW() argument
397 *mPC++ = (cc<<28) | 0x12000A0 | (Rd<<16) | (Rs<<8) | (y<<4) | Rm; in SMULW()
401 int Rd, int Rm, int Rs, int Rn) in SMLA() argument
403 *mPC++ = (cc<<28) | 0x1000080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (xy<<4) | Rm; in SMLA()
407 int RdHi, int RdLo, int Rs, int Rm) in SMLAL() argument
409 *mPC++ = (cc<<28) | 0x1400080 | (RdHi<<16) | (RdLo<<12) | (Rs<<8) | (xy<<4) | Rm; in SMLAL()
413 int Rd, int Rm, int Rs, int Rn) in SMLAW() argument
415 *mPC++ = (cc<<28) | 0x1200080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (y<<4) | Rm; in SMLAW()
506 uint32_t ARMAssembler::reg_reg(int Rm, int type, int Rs) in reg_reg() argument
508 return ((Rs&0xF)<<8) | ((type&0x3)<<5) | (1<<4) | (Rm&0xF); in reg_reg()