• Home
  • Raw
  • Download

Lines Matching refs:Rn

203         int s, int Rd, int Rn, uint32_t Op2)  in dataProcessing()  argument
205 *mPC++ = (cc<<28) | (opcode<<21) | (s<<20) | (Rn<<16) | (Rd<<12) | Op2; in dataProcessing()
215 int Rd, int Rm, int Rs, int Rn) { in MLA() argument
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()
274 void ARMAssembler::BX(int cc, int Rn) in BX() argument
276 *mPC++ = (cc<<28) | 0x12FFF10 | Rn; in BX()
285 void ARMAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) { in LDR() argument
286 *mPC++ = (cc<<28) | (1<<26) | (1<<20) | (Rn<<16) | (Rd<<12) | offset; in LDR()
288 void ARMAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) { in LDRB() argument
289 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (1<<20) | (Rn<<16) | (Rd<<12) | offset; in LDRB()
291 void ARMAssembler::STR(int cc, int Rd, int Rn, uint32_t offset) { in STR() argument
292 *mPC++ = (cc<<28) | (1<<26) | (Rn<<16) | (Rd<<12) | offset; in STR()
294 void ARMAssembler::STRB(int cc, int Rd, int Rn, uint32_t offset) { in STRB() argument
295 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (Rn<<16) | (Rd<<12) | offset; in STRB()
298 void ARMAssembler::LDRH(int cc, int Rd, int Rn, uint32_t offset) { in LDRH() argument
299 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xB0 | offset; in LDRH()
301 void ARMAssembler::LDRSB(int cc, int Rd, int Rn, uint32_t offset) { in LDRSB() argument
302 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xD0 | offset; in LDRSB()
304 void ARMAssembler::LDRSH(int cc, int Rd, int Rn, uint32_t offset) { in LDRSH() argument
305 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xF0 | offset; in LDRSH()
307 void ARMAssembler::STRH(int cc, int Rd, int Rn, uint32_t offset) { in STRH() argument
308 *mPC++ = (cc<<28) | (Rn<<16) | (Rd<<12) | 0xB0 | offset; in STRH()
318 int Rn, int W, uint32_t reg_list) in LDM() argument
323 (uint32_t(U[dir])<<23) | (1<<20) | (W<<21) | (Rn<<16) | reg_list; in LDM()
327 int Rn, int W, uint32_t reg_list) in STM() argument
332 (uint32_t(U[dir])<<23) | (0<<20) | (W<<21) | (Rn<<16) | reg_list; in STM()
341 void ARMAssembler::SWP(int cc, int Rn, int Rd, int Rm) { in SWP() argument
342 *mPC++ = (cc<<28) | (2<<23) | (Rn<<16) | (Rd << 12) | 0x90 | Rm; in SWP()
344 void ARMAssembler::SWPB(int cc, int Rn, int Rd, int Rm) { in SWPB() argument
345 *mPC++ = (cc<<28) | (2<<23) | (1<<22) | (Rn<<16) | (Rd << 12) | 0x90 | Rm; in SWPB()
357 void ARMAssembler::PLD(int Rn, uint32_t offset) { in PLD() argument
360 *mPC++ = 0xF550F000 | (Rn<<16) | offset; in PLD()
368 void ARMAssembler::QADD(int cc, int Rd, int Rm, int Rn) in QADD() argument
370 *mPC++ = (cc<<28) | 0x1000050 | (Rn<<16) | (Rd<<12) | Rm; in QADD()
373 void ARMAssembler::QDADD(int cc, int Rd, int Rm, int Rn) in QDADD() argument
375 *mPC++ = (cc<<28) | 0x1400050 | (Rn<<16) | (Rd<<12) | Rm; in QDADD()
378 void ARMAssembler::QSUB(int cc, int Rd, int Rm, int Rn) in QSUB() argument
380 *mPC++ = (cc<<28) | 0x1200050 | (Rn<<16) | (Rd<<12) | Rm; in QSUB()
383 void ARMAssembler::QDSUB(int cc, int Rd, int Rm, int Rn) in QDSUB() argument
385 *mPC++ = (cc<<28) | 0x1600050 | (Rn<<16) | (Rd<<12) | Rm; in QDSUB()
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()
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()
433 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) in UBFX() argument
435 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn; in UBFX()