Lines Matching defs:Rm
224 int Rd, int Rm, int Rs, int Rn) {
225 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; }
226 LOG_FATAL_IF(Rd==Rm, "MLA(r%u,r%u,r%u,r%u)", Rd,Rm,Rs,Rn);
228 (Rd<<16) | (Rn<<12) | (Rs<<8) | 0x90 | Rm;
231 int Rd, int Rm, int Rs) {
232 if (Rd == Rm) { int t = Rm; Rm=Rs; Rs=t; }
233 LOG_FATAL_IF(Rd==Rm, "MUL(r%u,r%u,r%u)", Rd,Rm,Rs);
234 *mPC++ = (cc<<28) | (s<<20) | (Rd<<16) | (Rs<<8) | 0x90 | Rm;
237 int RdLo, int RdHi, int Rm, int Rs) {
238 LOG_FATAL_IF(RdLo==Rm || RdHi==Rm || RdLo==RdHi,
239 "UMULL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs);
241 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm;
244 int RdLo, int RdHi, int Rm, int Rs) {
245 LOG_FATAL_IF(RdLo==Rm || RdHi==Rm || RdLo==RdHi,
246 "UMUAL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs);
248 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm;
251 int RdLo, int RdHi, int Rm, int Rs) {
252 LOG_FATAL_IF(RdLo==Rm || RdHi==Rm || RdLo==RdHi,
253 "SMULL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs);
255 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm;
258 int RdLo, int RdHi, int Rm, int Rs) {
259 LOG_FATAL_IF(RdLo==Rm || RdHi==Rm || RdLo==RdHi,
260 "SMUAL(r%u,r%u,r%u,r%u)", RdLo,RdHi,Rm,Rs);
262 (RdHi<<16) | (RdLo<<12) | (Rs<<8) | 0x90 | Rm;
350 void ARMAssembler::SWP(int cc, int Rn, int Rd, int Rm) {
351 *mPC++ = (cc<<28) | (2<<23) | (Rn<<16) | (Rd << 12) | 0x90 | Rm;
353 void ARMAssembler::SWPB(int cc, int Rn, int Rd, int Rm) {
354 *mPC++ = (cc<<28) | (2<<23) | (1<<22) | (Rn<<16) | (Rd << 12) | 0x90 | Rm;
372 void ARMAssembler::CLZ(int cc, int Rd, int Rm)
374 *mPC++ = (cc<<28) | 0x16F0F10| (Rd<<12) | Rm;
377 void ARMAssembler::QADD(int cc, int Rd, int Rm, int Rn)
379 *mPC++ = (cc<<28) | 0x1000050 | (Rn<<16) | (Rd<<12) | Rm;
382 void ARMAssembler::QDADD(int cc, int Rd, int Rm, int Rn)
384 *mPC++ = (cc<<28) | 0x1400050 | (Rn<<16) | (Rd<<12) | Rm;
387 void ARMAssembler::QSUB(int cc, int Rd, int Rm, int Rn)
389 *mPC++ = (cc<<28) | 0x1200050 | (Rn<<16) | (Rd<<12) | Rm;
392 void ARMAssembler::QDSUB(int cc, int Rd, int Rm, int Rn)
394 *mPC++ = (cc<<28) | 0x1600050 | (Rn<<16) | (Rd<<12) | Rm;
398 int Rd, int Rm, int Rs)
400 *mPC++ = (cc<<28) | 0x1600080 | (Rd<<16) | (Rs<<8) | (xy<<4) | Rm;
404 int Rd, int Rm, int Rs)
406 *mPC++ = (cc<<28) | 0x12000A0 | (Rd<<16) | (Rs<<8) | (y<<4) | Rm;
410 int Rd, int Rm, int Rs, int Rn)
412 *mPC++ = (cc<<28) | 0x1000080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (xy<<4) | Rm;
416 int RdHi, int RdLo, int Rs, int Rm)
418 *mPC++ = (cc<<28) | 0x1400080 | (RdHi<<16) | (RdLo<<12) | (Rs<<8) | (xy<<4) | Rm;
422 int Rd, int Rm, int Rs, int Rn)
424 *mPC++ = (cc<<28) | 0x1200080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (y<<4) | Rm;
432 void ARMAssembler::UXTB16(int cc, int Rd, int Rm, int rotate)
434 *mPC++ = (cc<<28) | 0x6CF0070 | (Rd<<12) | ((rotate >> 3) << 10) | Rm;