Lines Matching refs:pc
30 unsigned long pc = regs->ARM_pc; in t32_simulate_table_branch() local
34 unsigned long rnv = (rn == 15) ? pc : regs->uregs[rn]; in t32_simulate_table_branch()
43 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()
59 unsigned long pc = regs->ARM_pc; in t32_simulate_cond_branch() local
67 regs->ARM_pc = pc + (offset * 2); in t32_simulate_cond_branch()
84 unsigned long pc = regs->ARM_pc; in t32_simulate_branch() local
101 pc &= ~3; in t32_simulate_branch()
105 regs->ARM_pc = pc + (offset * 2); in t32_simulate_branch()
164 unsigned long pc = regs->ARM_pc & ~3; in t32_emulate_ldrdstrd() local
171 register unsigned long rnv asm("r2") = (rn == 15) ? pc in t32_emulate_ldrdstrd()
244 unsigned long pc = regs->ARM_pc; in t32_emulate_rd8pc16_noflags() local
248 register unsigned long rnv asm("r2") = pc & ~3; in t32_emulate_rd8pc16_noflags()
312 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_bxblx() local
314 unsigned long rmv = (rm == 15) ? pc : regs->uregs[rm]; in t16_simulate_bxblx()
376 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_cbz() local
377 regs->ARM_pc = pc + (i >> 3) + (imm5 >> 2); in t16_simulate_cbz()
418 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_cond_branch() local
421 regs->ARM_pc = pc + (offset * 2); in t16_simulate_cond_branch()
438 unsigned long pc = regs->ARM_pc + 2; in t16_simulate_branch() local
441 regs->ARM_pc = pc + (offset * 2); in t16_simulate_branch()
487 unsigned long pc = regs->ARM_pc + 2; in t16_emulate_hiregs() local
495 rdnv = (rdn == 15) ? pc : regs->uregs[rdn]; in t16_emulate_hiregs()
496 rmv = (rm == 15) ? pc : regs->uregs[rm]; in t16_emulate_hiregs()
580 register unsigned long pc asm("r8"); in t16_emulate_pop_pc()
588 : "=r" (pc) in t16_emulate_pop_pc()
594 bx_write_pc(pc, regs); in t16_emulate_pop_pc()