Lines Matching refs:Rn

217         int s, int Rd, int Rn, uint32_t Op2)
219 *mPC++ = (cc<<28) | (opcode<<21) | (s<<20) | (Rn<<16) | (Rd<<12) | Op2;
229 int Rd, int Rm, int Rs, int Rn) {
231 LOG_FATAL_IF(Rd==Rm, "MLA(r%u,r%u,r%u,r%u)", Rd,Rm,Rs,Rn);
233 (Rd<<16) | (Rn<<12) | (Rs<<8) | 0x90 | Rm;
288 void ARMAssembler::BX(int cc, int Rn)
290 *mPC++ = (cc<<28) | 0x12FFF10 | Rn;
299 void ARMAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) {
300 *mPC++ = (cc<<28) | (1<<26) | (1<<20) | (Rn<<16) | (Rd<<12) | offset;
302 void ARMAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) {
303 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (1<<20) | (Rn<<16) | (Rd<<12) | offset;
305 void ARMAssembler::STR(int cc, int Rd, int Rn, uint32_t offset) {
306 *mPC++ = (cc<<28) | (1<<26) | (Rn<<16) | (Rd<<12) | offset;
308 void ARMAssembler::STRB(int cc, int Rd, int Rn, uint32_t offset) {
309 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (Rn<<16) | (Rd<<12) | offset;
312 void ARMAssembler::LDRH(int cc, int Rd, int Rn, uint32_t offset) {
313 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xB0 | offset;
315 void ARMAssembler::LDRSB(int cc, int Rd, int Rn, uint32_t offset) {
316 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xD0 | offset;
318 void ARMAssembler::LDRSH(int cc, int Rd, int Rn, uint32_t offset) {
319 *mPC++ = (cc<<28) | (1<<20) | (Rn<<16) | (Rd<<12) | 0xF0 | offset;
321 void ARMAssembler::STRH(int cc, int Rd, int Rn, uint32_t offset) {
322 *mPC++ = (cc<<28) | (Rn<<16) | (Rd<<12) | 0xB0 | offset;
332 int Rn, int W, uint32_t reg_list)
337 (uint32_t(U[dir])<<23) | (1<<20) | (W<<21) | (Rn<<16) | reg_list;
341 int Rn, int W, uint32_t reg_list)
346 (uint32_t(U[dir])<<23) | (0<<20) | (W<<21) | (Rn<<16) | reg_list;
355 void ARMAssembler::SWP(int cc, int Rn, int Rd, int Rm) {
356 *mPC++ = (cc<<28) | (2<<23) | (Rn<<16) | (Rd << 12) | 0x90 | Rm;
358 void ARMAssembler::SWPB(int cc, int Rn, int Rd, int Rm) {
359 *mPC++ = (cc<<28) | (2<<23) | (1<<22) | (Rn<<16) | (Rd << 12) | 0x90 | Rm;
371 void ARMAssembler::PLD(int Rn, uint32_t offset) {
374 *mPC++ = 0xF550F000 | (Rn<<16) | offset;
382 void ARMAssembler::QADD(int cc, int Rd, int Rm, int Rn)
384 *mPC++ = (cc<<28) | 0x1000050 | (Rn<<16) | (Rd<<12) | Rm;
387 void ARMAssembler::QDADD(int cc, int Rd, int Rm, int Rn)
389 *mPC++ = (cc<<28) | 0x1400050 | (Rn<<16) | (Rd<<12) | Rm;
392 void ARMAssembler::QSUB(int cc, int Rd, int Rm, int Rn)
394 *mPC++ = (cc<<28) | 0x1200050 | (Rn<<16) | (Rd<<12) | Rm;
397 void ARMAssembler::QDSUB(int cc, int Rd, int Rm, int Rn)
399 *mPC++ = (cc<<28) | 0x1600050 | (Rn<<16) | (Rd<<12) | Rm;
415 int Rd, int Rm, int Rs, int Rn)
417 *mPC++ = (cc<<28) | 0x1000080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (xy<<4) | Rm;
427 int Rd, int Rm, int Rs, int Rn)
429 *mPC++ = (cc<<28) | 0x1200080 | (Rd<<16) | (Rn<<12) | (Rs<<8) | (y<<4) | Rm;
447 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width)
449 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;