Lines Matching refs:Rn
415 uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3)
429 regs[Rn] = test.RnValue;
450 case INSTR_ADD: a64asm->ADD(test.cond, test.setFlags, Rd,Rn,op2); break;
451 case INSTR_SUB: a64asm->SUB(test.cond, test.setFlags, Rd,Rn,op2); break;
452 case INSTR_RSB: a64asm->RSB(test.cond, test.setFlags, Rd,Rn,op2); break;
453 case INSTR_AND: a64asm->AND(test.cond, test.setFlags, Rd,Rn,op2); break;
454 case INSTR_ORR: a64asm->ORR(test.cond, test.setFlags, Rd,Rn,op2); break;
455 case INSTR_BIC: a64asm->BIC(test.cond, test.setFlags, Rd,Rn,op2); break;
457 case INSTR_MLA: a64asm->MLA(test.cond, test.setFlags, Rd,Rm,Rs,Rn); break;
458 case INSTR_CMP: a64asm->CMP(test.cond, Rn,op2); break;
467 case INSTR_SMLABB:a64asm->SMLABB(test.cond, Rd,Rm,Rs,Rn); break;
473 a64asm->UBFX(test.cond, Rd,Rn,lsb, width);
476 case INSTR_ADDR_ADD: a64asm->ADDR_ADD(test.cond, test.setFlags, Rd,Rn,op2); break;
477 case INSTR_ADDR_SUB: a64asm->ADDR_SUB(test.cond, test.setFlags, Rd,Rn,op2); break;
521 uint32_t Rd = 0, uint32_t Rn = 1,uint32_t Rm = 2)
535 regs[Rn] = (uint64_t)(&dataMem[test.RnValue]);
586 case INSTR_LDR: a64asm->LDR(test.cond, Rd,Rn,op2); break;
587 case INSTR_LDRB: a64asm->LDRB(test.cond, Rd,Rn,op2); break;
588 case INSTR_LDRH: a64asm->LDRH(test.cond, Rd,Rn,op2); break;
589 case INSTR_ADDR_LDR: a64asm->ADDR_LDR(test.cond, Rd,Rn,op2); break;
590 case INSTR_STR: a64asm->STR(test.cond, Rd,Rn,op2); break;
591 case INSTR_STRB: a64asm->STRB(test.cond, Rd,Rn,op2); break;
592 case INSTR_STRH: a64asm->STRH(test.cond, Rd,Rn,op2); break;
593 case INSTR_ADDR_STR: a64asm->ADDR_STR(test.cond, Rd,Rn,op2); break;
607 /* Check if all regs except Rd/Rn are same */
610 if(i == Rd || i == Rn) continue;
626 else if((uint64_t)regs[Rn] != (uint64_t)(&dataMem[test.postRnValue]))
629 "Expected in Rn(0x%" PRIx64 "), Actual(0x%" PRIx64 ")\n",
630 test.id, test.postRnValue, regs[Rn] - (uint64_t)dataMem);
662 uint32_t Rn = ARMAssemblerInterface::SP;
681 a64asm->STM(AL,ARMAssemblerInterface::DB,Rn,1,patterns[i]);
687 a64asm->LDM(AL,ARMAssemblerInterface::IA,Rn,1,patterns[i]);
753 uint32_t Rd, Rm, Rs, Rn;
762 for(Rn = 0; Rn < numRegs; ++Rn)
768 if(Rd == Rn || Rd == Rm || Rd == Rs) continue;
769 if(Rn == Rm || Rn == Rs) continue;
771 printf("Testing combination Rd(%d), Rn(%d),"
773 reg_list[Rd], reg_list[Rn], reg_list[Rm], reg_list[Rs]);
775 reg_list[Rn], reg_list[Rm], reg_list[Rs]);