Home
last modified time | relevance | path

Searched refs:gen_goto_tb (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/target/loongarch/insn_trans/
H A Dtrans_branch.c.inc8 gen_goto_tb(ctx, 0, ctx->base.pc_next + a->offs);
16 gen_goto_tb(ctx, 0, ctx->base.pc_next + a->offs);
40 gen_goto_tb(ctx, 1, ctx->base.pc_next + 4);
42 gen_goto_tb(ctx, 0, ctx->base.pc_next + offs);
/openbmc/qemu/target/nios2/
H A Dtranslate.c216 static void gen_goto_tb(DisasContext *dc, int n, uint32_t dest) in gen_goto_tb() function
283 gen_goto_tb(dc, 0, (dc->pc & 0xF0000000) | (instr.imm26 << 2)); in jmpi()
333 gen_goto_tb(dc, 0, dc->base.pc_next + (instr.imm16.s & -4)); in br()
342 gen_goto_tb(dc, 0, dc->base.pc_next); in gen_bxx()
344 gen_goto_tb(dc, 1, dc->base.pc_next + (instr.imm16.s & -4)); in gen_bxx()
1004 gen_goto_tb(dc, 0, dc->base.pc_next); in nios2_tr_tb_stop()
/openbmc/qemu/target/loongarch/
H A Dtranslate.c100 static inline void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) in gen_goto_tb() function
314 gen_goto_tb(ctx, 0, ctx->base.pc_next); in loongarch_tr_tb_stop()
/openbmc/qemu/target/hexagon/
H A Dtranslate.c136 static void gen_goto_tb(DisasContext *ctx, int idx, target_ulong dest, bool in gen_goto_tb() function
163 gen_goto_tb(ctx, 0, ctx->branch_dest, true); in gen_end_tb()
165 gen_goto_tb(ctx, 1, ctx->next_PC, false); in gen_end_tb()
167 gen_goto_tb(ctx, 0, ctx->branch_dest, true); in gen_end_tb()
178 gen_goto_tb(ctx, 0, ctx->base.tb->pc, true); in gen_end_tb()
180 gen_goto_tb(ctx, 1, ctx->next_PC, false); in gen_end_tb()
/openbmc/qemu/target/avr/
H A Dtranslate.c981 static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) in gen_goto_tb() function
1006 gen_goto_tb(ctx, 0, dst); in trans_RJMP()
1057 gen_goto_tb(ctx, 0, a->imm); in trans_JMP()
1076 gen_goto_tb(ctx, 0, dst); in trans_RCALL()
1140 gen_goto_tb(ctx, 0, Imm); in trans_CALL()
1367 gen_goto_tb(ctx, 0, ctx->npc + a->imm); in trans_BRBC()
1416 gen_goto_tb(ctx, 0, ctx->npc + a->imm); in trans_BRBS()
2772 gen_goto_tb(ctx, 1, ctx->npc); in avr_tr_tb_stop()
/openbmc/qemu/target/sh4/
H A Dtranslate.c235 static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) in gen_goto_tb() function
266 gen_goto_tb(ctx, 0, ctx->delayed_pc); in gen_jump()
285 gen_goto_tb(ctx, 0, dest); in gen_conditional_jump()
293 gen_goto_tb(ctx, 0, dest); in gen_conditional_jump()
295 gen_goto_tb(ctx, 1, ctx->base.pc_next + 2); in gen_conditional_jump()
324 gen_goto_tb(ctx, 1, ctx->base.pc_next + 2); in gen_delayed_conditional_jump()
2294 gen_goto_tb(ctx, 0, ctx->base.pc_next); in sh4_tr_tb_stop()
/openbmc/qemu/target/riscv/
H A Dtranslate.c282 static void gen_goto_tb(DisasContext *ctx, int n, target_long diff) in gen_goto_tb() function
574 gen_goto_tb(ctx, 0, imm); /* must use this for safety */ in gen_jal()
1254 gen_goto_tb(ctx, 0, 0); in riscv_tr_tb_stop()
/openbmc/qemu/target/rx/
H A Dtranslate.c149 static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) in gen_goto_tb() function
1534 gen_goto_tb(ctx, 0, ctx->base.pc_next); in rx_bcnd_main()
1537 gen_goto_tb(ctx, 1, ctx->pc + dst); in rx_bcnd_main()
1542 gen_goto_tb(ctx, 0, ctx->pc + dst); in rx_bcnd_main()
2234 gen_goto_tb(ctx, 0, dcbase->pc_next); in rx_tr_tb_stop()
/openbmc/qemu/target/microblaze/
H A Dtranslate.c124 static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) in gen_goto_tb() function
1721 gen_goto_tb(dc, 0, dc->base.pc_next); in mb_tr_tb_stop()
1753 gen_goto_tb(dc, 1, dc->base.pc_next); in mb_tr_tb_stop()
1756 gen_goto_tb(dc, 0, dc->jmp_dest); in mb_tr_tb_stop()
/openbmc/qemu/target/hppa/
H A Dtranslate.c628 static void gen_goto_tb(DisasContext *ctx, int which, in gen_goto_tb() function
1675 gen_goto_tb(ctx, 0, dest, dest + 4); in do_dbranch()
1678 gen_goto_tb(ctx, 0, ctx->iaoq_b, dest); in do_dbranch()
1684 gen_goto_tb(ctx, 1, ctx->iaoq_b, ctx->iaoq_n); in do_dbranch()
1718 gen_goto_tb(ctx, 0, ctx->iaoq_n, ctx->iaoq_n + 4); in do_cbranch()
1730 gen_goto_tb(ctx, 0, ctx->iaoq_b, ctx->iaoq_n); in do_cbranch()
1739 gen_goto_tb(ctx, 1, dest, dest + 4); in do_cbranch()
1742 gen_goto_tb(ctx, 1, ctx->iaoq_b, dest); in do_cbranch()
4531 gen_goto_tb(ctx, 0, ctx->iaoq_b, ctx->iaoq_n); in hppa_tr_translate_insn()
/openbmc/qemu/target/tricore/
H A Dtranslate.c2854 gen_goto_tb(ctx, 1, ctx->pc_succ_insn); in gen_branch_cond()
2857 gen_goto_tb(ctx, 0, ctx->base.pc_next + address * 2); in gen_branch_cond()
2873 gen_goto_tb(ctx, 1, ctx->base.pc_next + offset); in gen_loop()
2875 gen_goto_tb(ctx, 0, ctx->pc_succ_insn); in gen_loop()
2909 gen_goto_tb(ctx, 0, ctx->base.pc_next + offset * 2); in gen_compute_branch()
2914 gen_goto_tb(ctx, 0, ctx->base.pc_next + offset * 2); in gen_compute_branch()
3005 gen_goto_tb(ctx, 0, EA_B_ABSOLUT(offset)); in gen_compute_branch()
3009 gen_goto_tb(ctx, 0, ctx->base.pc_next + offset * 2); in gen_compute_branch()
3013 gen_goto_tb(ctx, 0, EA_B_ABSOLUT(offset)); in gen_compute_branch()
3019 gen_goto_tb(ctx, 0, EA_B_ABSOLUT(offset)); in gen_compute_branch()
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c1380 gen_goto_tb(s, 0, a->imm); in trans_B()
1388 gen_goto_tb(s, 0, a->imm); in trans_BL()
1404 gen_goto_tb(s, 0, 4); in trans_CBZ()
1406 gen_goto_tb(s, 1, a->imm); in trans_CBZ()
1423 gen_goto_tb(s, 0, 4); in trans_TBZ()
1425 gen_goto_tb(s, 1, a->imm); in trans_TBZ()
1440 gen_goto_tb(s, 0, 4); in trans_B_cond()
1442 gen_goto_tb(s, 1, a->imm); in trans_B_cond()
1445 gen_goto_tb(s, 0, a->imm); in trans_B_cond()
1850 gen_goto_tb(s, 0, 4); in trans_ISB()
[all …]
H A Dtranslate.c2535 static void gen_goto_tb(DisasContext *s, int n, target_long diff) in gen_goto_tb() function
2583 gen_goto_tb(s, tbno, diff); in gen_jmp_tb()
9608 gen_goto_tb(dc, 1, curr_insn_len(dc)); in arm_tr_tb_stop()
9660 gen_goto_tb(dc, 1, curr_insn_len(dc)); in arm_tr_tb_stop()
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvi.c.inc179 gen_goto_tb(ctx, 1, ctx->cur_insn_len);
191 gen_goto_tb(ctx, 0, a->imm);
/openbmc/qemu/target/mips/tcg/
H A Dnanomips_translate.c.inc2387 gen_goto_tb(ctx, 0, ctx->btarget);
2394 gen_goto_tb(ctx, 1, ctx->btarget);
2397 gen_goto_tb(ctx, 0, ctx->base.pc_next + 4);
2489 gen_goto_tb(ctx, 0, ctx->btarget);
2563 gen_goto_tb(ctx, 1, ctx->btarget);
2566 gen_goto_tb(ctx, 0, ctx->base.pc_next + 4);
H A Dtranslate.c4562 static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) in gen_goto_tb() function
11217 gen_goto_tb(ctx, 0, ctx->base.pc_next + insn_bytes); in gen_branch()
11224 gen_goto_tb(ctx, 0, ctx->btarget); in gen_branch()
11228 gen_goto_tb(ctx, 0, ctx->btarget); in gen_branch()
11236 gen_goto_tb(ctx, 1, ctx->base.pc_next + insn_bytes); in gen_branch()
11238 gen_goto_tb(ctx, 0, ctx->btarget); in gen_branch()
11484 gen_goto_tb(ctx, 1, ctx->btarget); in gen_compute_compact_branch()
15337 gen_goto_tb(ctx, 1, ctx->base.pc_next + 4); in decode_opc()
15528 gen_goto_tb(ctx, 0, ctx->base.pc_next); in mips_tr_tb_stop()
/openbmc/qemu/target/sparc/
H A Dtranslate.c368 static void gen_goto_tb(DisasContext *s, int tb_num, in gen_goto_tb() function
2357 gen_goto_tb(dc, 1, dc->jump_pc[1], dc->jump_pc[1] + 4); in advance_pc()
2361 gen_goto_tb(dc, 0, dc->jump_pc[0], dc->jump_pc[0] + 4); in advance_pc()
2421 gen_goto_tb(dc, 0, npc, dest); in advance_jump_cond()
2423 gen_goto_tb(dc, 1, npc + 4, npc + 8); in advance_jump_cond()
5244 gen_goto_tb(dc, 0, dc->pc, dc->npc); in sparc_tr_tb_stop()
/openbmc/qemu/target/cris/
H A Dtranslate.c467 static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) in gen_goto_tb() function
3108 gen_goto_tb(dc, 1, dc->jmp_pc); in cris_tr_tb_stop()
3139 gen_goto_tb(dc, 0, npc); in cris_tr_tb_stop()
/openbmc/qemu/target/ppc/
H A Dtranslate.c4228 static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) in gen_goto_tb() function
4269 gen_goto_tb(ctx, 0, target); in gen_b()
4367 gen_goto_tb(ctx, 0, ctx->cia + li); in gen_bcond()
4369 gen_goto_tb(ctx, 0, li); in gen_bcond()
4382 gen_goto_tb(ctx, 1, ctx->base.pc_next); in gen_bcond()