Searched refs:pc_curr (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.h | 29 target_ulong pc_curr; member 34 * the translation, from base.pc_start through pc_curr. 36 * Instead, pc_save has the value of pc_curr at the time of the 38 * needed to bring cpu_pc current: pc_curr - pc_save. 294 return s->base.pc_next - s->pc_curr;
|
H A D | translate.c | 256 /* The pc_curr difference for an architectural jump. */ 266 tcg_gen_addi_i32(var, cpu_R[15], (s->pc_curr - s->pc_save) + diff); in gen_pc_plus_diff() 268 tcg_gen_movi_i32(var, s->pc_curr + diff); in gen_pc_plus_diff() 296 gen_pc_plus_diff(s, tmp, jmp_diff(s, ofs - (s->pc_curr & 3))); in add_reg_for_lit() 753 s->pc_save = s->pc_curr + diff; in gen_update_pc() 2533 if (translator_use_goto_tb(&s->base, s->pc_curr + diff)) { in gen_goto_tb() 6623 gen_jmp(s, jmp_diff(s, a->imm - (s->pc_curr & 3))); in trans_BF() 7814 dc->pc_curr = pc; in thumb_insn_is_unconditional() 7891 dc->pc_curr = pc; in thumb_tr_translate_insn()
|
H A D | translate-a64.c | 174 tcg_gen_addi_i64(dest, cpu_pc, (s->pc_curr - s->pc_save) + diff); in gen_pc_plus_diff() 176 tcg_gen_movi_i64(dest, s->pc_curr + diff); in gen_pc_plus_diff() 183 s->pc_save = s->pc_curr + diff; in gen_a64_update_pc() 494 if (use_goto_tb(s, s->pc_curr + diff)) { in gen_goto_tb() 4343 offset -= s->pc_curr & 0xfff; in trans_ADRP() 11824 s->pc_curr = pc; in aarch64_tr_translate_insn()
|