Home
last modified time | relevance | path

Searched refs:cpu_pc (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/target/loongarch/tcg/
H A Dtranslate.c24 TCGv cpu_gpr[32], cpu_pc; variable
95 tcg_gen_movi_tl(cpu_pc, ctx->base.pc_next); in generate_exception()
108 tcg_gen_movi_tl(cpu_pc, dest); in gen_goto_tb()
111 tcg_gen_movi_tl(cpu_pc, dest); in gen_goto_tb()
309 tcg_gen_movi_tl(cpu_pc, ctx->base.pc_next); in loongarch_tr_tb_stop()
318 tcg_gen_movi_tl(cpu_pc, ctx->base.pc_next); in loongarch_tr_tb_stop()
356 cpu_pc = tcg_global_mem_new(tcg_env, offsetof(CPULoongArchState, pc), "pc"); in loongarch_translate_init()
/openbmc/qemu/target/rx/
H A Dtranslate.c70 static TCGv cpu_fintv, cpu_intb, cpu_pc; variable
154 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
157 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
775 pop(cpu_pc); in trans_RTSD_i()
797 pop(cpu_pc); in trans_RTSD_irr()
1594 tcg_gen_mov_i32(cpu_pc, cpu_regs[a->rs]); in trans_JMP()
1603 tcg_gen_mov_i32(cpu_pc, cpu_regs[a->rs]); in trans_JSR()
1629 pop(cpu_pc); in trans_RTS()
2143 tcg_gen_mov_i32(cpu_pc, cpu_bpc); in trans_RTFI()
2157 pop(cpu_pc); in trans_RTE()
[all …]
/openbmc/qemu/target/openrisc/
H A Dtranslate.c75 static TCGv cpu_pc; variable
102 cpu_pc = tcg_global_mem_new(tcg_env, in openrisc_translate_init()
141 tcg_gen_movi_tl(cpu_pc, dc->base.pc_next); in gen_illegal_exception()
828 tcg_gen_mov_tl(cpu_pc, jmp_pc); in trans_l_mfspr()
854 tcg_gen_mov_tl(cpu_pc, jmp_pc); in trans_l_mtspr()
857 tcg_gen_movi_tl(cpu_pc, dc->base.pc_next + 4); in trans_l_mtspr()
1069 tcg_gen_movi_tl(cpu_pc, dc->base.pc_next); in trans_l_sys()
1077 tcg_gen_movi_tl(cpu_pc, dc->base.pc_next); in trans_l_trap()
1610 tcg_gen_mov_tl(cpu_pc, jmp_pc); in openrisc_tr_tb_stop()
1624 tcg_gen_movi_tl(cpu_pc, jmp_dest); in openrisc_tr_tb_stop()
[all …]
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_privileged.c.inc83 gen_helper_sret(cpu_pc, tcg_env);
100 gen_helper_mret(cpu_pc, tcg_env);
H A Dtrans_rvzce.c.inc206 tcg_gen_mov_tl(cpu_pc, ret_addr);
312 tcg_gen_mov_tl(cpu_pc, addr);
H A Dtrans_rvi.c.inc77 tcg_gen_mov_tl(cpu_pc, target_pc);
/openbmc/qemu/target/loongarch/
H A Dtranslate.h56 extern TCGv cpu_gpr[32], cpu_pc;
/openbmc/qemu/target/avr/
H A Dtranslate.c46 static TCGv cpu_pc; variable
129 cpu_pc = tcg_global_mem_new_i32(tcg_env, AVR_REG_OFFS(pc_w), "pc"); in avr_cpu_tcg_init()
922 tcg_gen_deposit_tl(cpu_pc, cpu_r[30], cpu_r[31], 8, 8); in gen_jmp_ez()
923 tcg_gen_or_tl(cpu_pc, cpu_pc, cpu_eind); in gen_jmp_ez()
929 tcg_gen_deposit_tl(cpu_pc, cpu_r[30], cpu_r[31], 8, 8); in gen_jmp_z()
986 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
989 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
1150 gen_pop_ret(ctx, cpu_pc); in trans_RET()
1166 gen_pop_ret(ctx, cpu_pc); in trans_RETI()
2552 tcg_gen_movi_tl(cpu_pc, ctx->npc - 1); in trans_BREAK()
[all …]
/openbmc/qemu/target/microblaze/
H A Dtranslate.c50 static TCGv_i32 cpu_pc; variable
109 tcg_gen_movi_i32(cpu_pc, dc->base.pc_next); in gen_raise_exception_sync()
125 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
128 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
1151 tcg_gen_mov_i32(cpu_pc, reg_for_read(dc, arg->rb)); in DO_BCC()
1173 tcg_gen_movi_i32(cpu_pc, imm); in trans_brki()
1236 tcg_gen_movi_i32(cpu_pc, dc->base.pc_next + 4); in trans_mbar()
1722 tcg_gen_movi_i32(cpu_pc, dc->base.pc_next); in mb_tr_tb_stop()
1725 tcg_gen_mov_i32(cpu_pc, cpu_btarget); in mb_tr_tb_stop()
1756 tcg_gen_mov_i32(cpu_pc, cpu_btarget); in mb_tr_tb_stop()
/openbmc/qemu/target/alpha/
H A Dtranslate.c92 static TCGv cpu_pc; variable
278 gen_pc_disp(ctx, cpu_pc, 0); in gen_excp()
445 gen_pc_disp(ctx, cpu_pc, disp); in gen_goto_tb()
449 gen_pc_disp(ctx, cpu_pc, disp); in gen_goto_tb()
453 gen_pc_disp(ctx, cpu_pc, disp); in gen_goto_tb()
1110 gen_pc_disp(ctx, cpu_pc, 0); in gen_call_pal()
1172 tcg_gen_movi_i64(cpu_pc, entry); in gen_call_pal()
2365 tcg_gen_mov_i64(cpu_pc, tmp); in translate_one()
2367 tcg_gen_andi_i64(cpu_pc, vb, ~3); in translate_one()
2629 tcg_gen_andi_i64(cpu_pc, vb, ~3); in translate_one()
[all …]
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_branch.c.inc27 tcg_gen_mov_tl(cpu_pc, addr);
H A Dtrans_privileged.c.inc327 tcg_gen_movi_tl(cpu_pc, ctx->base.pc_next + 4);
493 tcg_gen_movi_tl(cpu_pc, ctx->base.pc_next + 4);
/openbmc/qemu/target/sh4/
H A Dtranslate.c67 static TCGv cpu_pc, cpu_ssr, cpu_spc, cpu_gbr; variable
104 cpu_pc = tcg_global_mem_new_i32(tcg_env, in sh4_translate_init()
210 tcg_gen_movi_i32(cpu_pc, ctx->base.pc_next); in gen_save_cpu_state()
237 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
240 tcg_gen_movi_i32(cpu_pc, dest); in gen_goto_tb()
255 tcg_gen_mov_i32(cpu_pc, cpu_delayed_pc); in gen_jump()
486 tcg_gen_movi_i32(cpu_pc, ctx->base.pc_next + 2); in _decode_opc()
/openbmc/qemu/target/riscv/
H A Dtranslate.c40 static TCGv cpu_gpr[32], cpu_gprh[32], cpu_pc, cpu_vl, cpu_vstart; variable
221 tcg_gen_addi_tl(target, cpu_pc, dest - ctx->pc_save); in gen_pc_plus_diff()
235 gen_pc_plus_diff(cpu_pc, ctx, diff); in gen_update_pc()
1348 cpu_pc = tcg_global_mem_new(tcg_env, offsetof(CPURISCVState, pc), "pc"); in riscv_translate_init()
/openbmc/qemu/target/sparc/
H A Dtranslate.c115 static TCGv cpu_pc, cpu_npc; variable
375 tcg_gen_movi_tl(cpu_pc, pc); in gen_goto_tb()
380 tcg_gen_movi_tl(cpu_pc, pc); in gen_goto_tb()
1047 tcg_gen_movi_tl(cpu_pc, dc->pc); in save_state()
1101 tcg_gen_mov_tl(cpu_pc, cpu_npc); in gen_mov_pc_npc()
1106 tcg_gen_mov_tl(cpu_pc, cpu_npc); in gen_mov_pc_npc()
2496 tcg_gen_mov_tl(cpu_pc, cpu_npc); in advance_pc()
2553 tcg_gen_addi_tl(cpu_pc, cpu_pc, 4); in advance_jump_cond()
2555 tcg_gen_addi_tl(cpu_npc, cpu_pc, 4); in advance_jump_cond()
5690 tcg_gen_movi_tl(cpu_pc, dc->pc); in sparc_tr_tb_stop()
[all …]
/openbmc/qemu/target/xtensa/
H A Dtranslate.c79 static TCGv_i32 cpu_pc; variable
155 cpu_pc = tcg_global_mem_new_i32(tcg_env, in xtensa_translate_init()
362 tcg_gen_mov_i32(cpu_pc, dest); in gen_jump_slot()
1592 tcg_gen_movi_i32(cpu_pc, dc->pc); in translate_icache()
1932 tcg_gen_movi_i32(cpu_pc, dc->pc); in translate_ptlb()
1941 tcg_gen_movi_i32(cpu_pc, dc->pc); in translate_pptlb()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c30 static TCGv_i64 cpu_pc; variable
94 cpu_pc = tcg_global_mem_new_i64(tcg_env, in a64_translate_init()
174 tcg_gen_addi_i64(dest, cpu_pc, (s->pc_curr - s->pc_save) + diff); in gen_pc_plus_diff()
182 gen_pc_plus_diff(s, cpu_pc, diff); in gen_a64_update_pc()
236 gen_top_byte_ignore(s, cpu_pc, src, s->tbii); in gen_a64_set_pc()