/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 116 static void loongarch_tr_init_disas_context(DisasContextBase *dcbase, in loongarch_tr_init_disas_context() argument 121 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_init_disas_context() 152 static void loongarch_tr_tb_start(DisasContextBase *dcbase, CPUState *cs) in loongarch_tr_tb_start() argument 156 static void loongarch_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in loongarch_tr_insn_start() argument 158 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_insn_start() 283 static void loongarch_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in loongarch_tr_translate_insn() argument 285 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_translate_insn() 303 static void loongarch_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in loongarch_tr_tb_stop() argument 305 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_tb_stop()
|
/openbmc/qemu/target/riscv/ |
H A D | translate.c | 1115 static uint32_t opcode_at(DisasContextBase *dcbase, target_ulong pc) in opcode_at() argument 1117 DisasContext *ctx = container_of(dcbase, DisasContext, base); in opcode_at() 1207 static void riscv_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in riscv_tr_init_disas_context() argument 1209 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_init_disas_context() 1250 static void riscv_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in riscv_tr_insn_start() argument 1252 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_insn_start() 1255 if (tb_cflags(dcbase->tb) & CF_PCREL) { in riscv_tr_insn_start() 1263 static void riscv_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in riscv_tr_translate_insn() argument 1265 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_translate_insn() 1293 static void riscv_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in riscv_tr_tb_stop() argument [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | translate.c | 991 static void hexagon_tr_init_disas_context(DisasContextBase *dcbase, in hexagon_tr_init_disas_context() argument 994 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hexagon_tr_init_disas_context() 996 uint32_t hex_flags = dcbase->tb->flags; in hexagon_tr_init_disas_context() 1011 static void hexagon_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in hexagon_tr_insn_start() argument 1013 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hexagon_tr_insn_start() 1033 static void hexagon_tr_translate_packet(DisasContextBase *dcbase, CPUState *cpu) in hexagon_tr_translate_packet() argument 1035 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hexagon_tr_translate_packet() 1061 static void hexagon_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in hexagon_tr_tb_stop() argument 1063 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hexagon_tr_tb_stop()
|
/openbmc/qemu/target/rx/ |
H A D | translate.c | 2197 static void rx_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in rx_tr_init_disas_context() argument 2199 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_init_disas_context() 2204 static void rx_tr_tb_start(DisasContextBase *dcbase, CPUState *cs) in rx_tr_tb_start() argument 2208 static void rx_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in rx_tr_insn_start() argument 2210 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_insn_start() 2215 static void rx_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in rx_tr_translate_insn() argument 2217 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_translate_insn() 2227 static void rx_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in rx_tr_tb_stop() argument 2229 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_tb_stop() 2234 gen_goto_tb(ctx, 0, dcbase->pc_next); in rx_tr_tb_stop()
|
/openbmc/qemu/target/alpha/ |
H A D | translate.c | 2860 static void alpha_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu) in alpha_tr_init_disas_context() argument 2862 DisasContext *ctx = container_of(dcbase, DisasContext, base); in alpha_tr_init_disas_context() 2902 static void alpha_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in alpha_tr_insn_start() argument 2904 DisasContext *ctx = container_of(dcbase, DisasContext, base); in alpha_tr_insn_start() 2907 tcg_gen_insn_start(dcbase->pc_next & ~TARGET_PAGE_MASK); in alpha_tr_insn_start() 2909 tcg_gen_insn_start(dcbase->pc_next); in alpha_tr_insn_start() 2913 static void alpha_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in alpha_tr_translate_insn() argument 2915 DisasContext *ctx = container_of(dcbase, DisasContext, base); in alpha_tr_translate_insn() 2925 static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in alpha_tr_tb_stop() argument 2927 DisasContext *ctx = container_of(dcbase, DisasContext, base); in alpha_tr_tb_stop()
|
/openbmc/qemu/target/sh4/ |
H A D | translate.c | 2196 static void sh4_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in sh4_tr_init_disas_context() argument 2198 DisasContext *ctx = container_of(dcbase, DisasContext, base); in sh4_tr_init_disas_context() 2242 static void sh4_tr_tb_start(DisasContextBase *dcbase, CPUState *cs) in sh4_tr_tb_start() argument 2246 static void sh4_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in sh4_tr_insn_start() argument 2248 DisasContext *ctx = container_of(dcbase, DisasContext, base); in sh4_tr_insn_start() 2253 static void sh4_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in sh4_tr_translate_insn() argument 2256 DisasContext *ctx = container_of(dcbase, DisasContext, base); in sh4_tr_translate_insn() 2286 static void sh4_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in sh4_tr_tb_stop() argument 2288 DisasContext *ctx = container_of(dcbase, DisasContext, base); in sh4_tr_tb_stop()
|
/openbmc/qemu/target/avr/ |
H A D | translate.c | 2656 static void avr_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in avr_tr_init_disas_context() argument 2658 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_init_disas_context() 2684 static void avr_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in avr_tr_insn_start() argument 2686 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_insn_start() 2691 static void avr_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in avr_tr_translate_insn() argument 2693 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_translate_insn() 2751 static void avr_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in avr_tr_tb_stop() argument 2753 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_tb_stop()
|
/openbmc/qemu/target/openrisc/ |
H A D | translate.c | 1555 static void openrisc_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in openrisc_tr_insn_start() argument 1557 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_insn_start() 1563 static void openrisc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in openrisc_tr_translate_insn() argument 1565 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_translate_insn() 1586 static void openrisc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in openrisc_tr_tb_stop() argument 1588 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_tb_stop()
|
/openbmc/qemu/target/cris/ |
H A D | translate.c | 2932 static void cris_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in cris_tr_init_disas_context() argument 2934 DisasContext *dc = container_of(dcbase, DisasContext, base); in cris_tr_init_disas_context() 2984 static void cris_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in cris_tr_insn_start() argument 2986 DisasContext *dc = container_of(dcbase, DisasContext, base); in cris_tr_insn_start() 2991 static void cris_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in cris_tr_translate_insn() argument 2993 DisasContext *dc = container_of(dcbase, DisasContext, base); in cris_tr_translate_insn() 3045 static void cris_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in cris_tr_tb_stop() argument 3047 DisasContext *dc = container_of(dcbase, DisasContext, base); in cris_tr_tb_stop()
|
/openbmc/qemu/target/hppa/ |
H A D | translate.c | 4619 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_init_disas_context() 4660 static void hppa_tr_tb_start(DisasContextBase *dcbase, CPUState *cs) in hppa_tr_tb_start() argument 4662 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_tb_start() 4674 static void hppa_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in hppa_tr_insn_start() argument 4676 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_insn_start() 4697 static void hppa_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in hppa_tr_translate_insn() argument 4699 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_translate_insn() 4779 static void hppa_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in hppa_tr_tb_stop() argument 4781 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_tb_stop() 4837 static bool hppa_tr_disas_log(const DisasContextBase *dcbase, in hppa_tr_disas_log() argument [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | translate.c | 3887 static void i386_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu) in i386_tr_init_disas_context() argument 3889 DisasContext *dc = container_of(dcbase, DisasContext, base); in i386_tr_init_disas_context() 3962 static void i386_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in i386_tr_insn_start() argument 3964 DisasContext *dc = container_of(dcbase, DisasContext, base); in i386_tr_insn_start() 3969 if (tb_cflags(dcbase->tb) & CF_PCREL) { in i386_tr_insn_start() 3975 static void i386_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in i386_tr_translate_insn() argument 3977 DisasContext *dc = container_of(dcbase, DisasContext, base); in i386_tr_translate_insn() 4042 static void i386_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in i386_tr_tb_stop() argument 4044 DisasContext *dc = container_of(dcbase, DisasContext, base); in i386_tr_tb_stop()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.c | 7515 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_init_disas_context() 7629 static void arm_tr_tb_start(DisasContextBase *dcbase, CPUState *cpu) in arm_tr_tb_start() argument 7631 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_tb_start() 7670 static void arm_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in arm_tr_insn_start() argument 7672 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_insn_start() 7681 if (tb_cflags(dcbase->tb) & CF_PCREL) { in arm_tr_insn_start() 7741 static void arm_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in arm_tr_translate_insn() argument 7743 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_translate_insn() 7833 DisasContext *dc = container_of(dcbase, DisasContext, base); in thumb_tr_translate_insn() 7968 static void arm_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in arm_tr_tb_stop() argument [all …]
|
H A D | translate-a64.c | 11959 static void aarch64_tr_init_disas_context(DisasContextBase *dcbase, in aarch64_tr_init_disas_context() argument 11962 DisasContext *dc = container_of(dcbase, DisasContext, base); in aarch64_tr_init_disas_context() 12060 static void aarch64_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in aarch64_tr_insn_start() argument 12062 DisasContext *dc = container_of(dcbase, DisasContext, base); in aarch64_tr_insn_start() 12065 if (tb_cflags(dcbase->tb) & CF_PCREL) { in aarch64_tr_insn_start() 12072 static void aarch64_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in aarch64_tr_translate_insn() argument 12074 DisasContext *s = container_of(dcbase, DisasContext, base); in aarch64_tr_translate_insn() 12173 static void aarch64_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in aarch64_tr_tb_stop() argument 12175 DisasContext *dc = container_of(dcbase, DisasContext, base); in aarch64_tr_tb_stop()
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | translate.c | 6384 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_init_disas_context() 6401 static void s390x_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in s390x_tr_insn_start() argument 6403 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_insn_start() 6417 static void s390x_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in s390x_tr_translate_insn() argument 6420 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_translate_insn() 6425 !is_same_page(dcbase, dc->base.pc_next) || in s390x_tr_translate_insn() 6426 !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next))) { in s390x_tr_translate_insn() 6432 static void s390x_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in s390x_tr_tb_stop() argument 6434 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_tb_stop() 6460 static bool s390x_tr_disas_log(const DisasContextBase *dcbase, in s390x_tr_disas_log() argument [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | translate.c | 6478 static void ppc_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in ppc_tr_init_disas_context() argument 6480 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_init_disas_context() 6533 static void ppc_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in ppc_tr_insn_start() argument 6535 tcg_gen_insn_start(dcbase->pc_next); in ppc_tr_insn_start() 6544 static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in ppc_tr_translate_insn() argument 6546 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_translate_insn() 6558 insn = translator_ldl_swap(env, dcbase, pc, need_byteswap(ctx)); in ppc_tr_translate_insn() 6574 uint32_t insn2 = translator_ldl_swap(env, dcbase, pc, in ppc_tr_translate_insn() 6589 static void ppc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in ppc_tr_tb_stop() argument 6591 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_tb_stop()
|
/openbmc/qemu/target/m68k/ |
H A D | translate.c | 6011 static void m68k_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu) in m68k_tr_init_disas_context() argument 6013 DisasContext *dc = container_of(dcbase, DisasContext, base); in m68k_tr_init_disas_context() 6032 static void m68k_tr_tb_start(DisasContextBase *dcbase, CPUState *cpu) in m68k_tr_tb_start() argument 6036 static void m68k_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in m68k_tr_insn_start() argument 6038 DisasContext *dc = container_of(dcbase, DisasContext, base); in m68k_tr_insn_start() 6042 static void m68k_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in m68k_tr_translate_insn() argument 6044 DisasContext *dc = container_of(dcbase, DisasContext, base); in m68k_tr_translate_insn() 6077 static void m68k_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in m68k_tr_tb_stop() argument 6079 DisasContext *dc = container_of(dcbase, DisasContext, base); in m68k_tr_tb_stop()
|
/openbmc/qemu/target/xtensa/ |
H A D | translate.c | 1124 static void xtensa_tr_init_disas_context(DisasContextBase *dcbase, in xtensa_tr_init_disas_context() argument 1127 DisasContext *dc = container_of(dcbase, DisasContext, base); in xtensa_tr_init_disas_context() 1150 static void xtensa_tr_tb_start(DisasContextBase *dcbase, CPUState *cpu) in xtensa_tr_tb_start() argument 1152 DisasContext *dc = container_of(dcbase, DisasContext, base); in xtensa_tr_tb_start() 1159 static void xtensa_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in xtensa_tr_insn_start() argument 1161 tcg_gen_insn_start(dcbase->pc_next); in xtensa_tr_insn_start() 1164 static void xtensa_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in xtensa_tr_translate_insn() argument 1166 DisasContext *dc = container_of(dcbase, DisasContext, base); in xtensa_tr_translate_insn() 1207 static void xtensa_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in xtensa_tr_tb_stop() argument 1209 DisasContext *dc = container_of(dcbase, DisasContext, base); in xtensa_tr_tb_stop()
|
/openbmc/qemu/target/sparc/ |
H A D | translate.c | 5586 static void sparc_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in TRANS() 5588 DisasContext *dc = container_of(dcbase, DisasContext, base); in TRANS() 5619 static void sparc_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in sparc_tr_insn_start() argument 5621 DisasContext *dc = container_of(dcbase, DisasContext, base); in sparc_tr_insn_start() 5641 static void sparc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in sparc_tr_translate_insn() argument 5643 DisasContext *dc = container_of(dcbase, DisasContext, base); in sparc_tr_translate_insn() 5661 static void sparc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in sparc_tr_tb_stop() argument 5663 DisasContext *dc = container_of(dcbase, DisasContext, base); in sparc_tr_tb_stop()
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 8351 static void tricore_tr_init_disas_context(DisasContextBase *dcbase, in tricore_tr_init_disas_context() argument 8354 DisasContext *ctx = container_of(dcbase, DisasContext, base); in tricore_tr_init_disas_context() 8375 static void tricore_tr_insn_start(DisasContextBase *dcbase, CPUState *cpu) in tricore_tr_insn_start() argument 8377 DisasContext *ctx = container_of(dcbase, DisasContext, base); in tricore_tr_insn_start() 8397 static void tricore_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) in tricore_tr_translate_insn() argument 8399 DisasContext *ctx = container_of(dcbase, DisasContext, base); in tricore_tr_translate_insn() 8431 static void tricore_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) in tricore_tr_tb_stop() argument 8433 DisasContext *ctx = container_of(dcbase, DisasContext, base); in tricore_tr_tb_stop()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.c | 15313 static void mips_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) in mips_tr_init_disas_context() argument 15315 DisasContext *ctx = container_of(dcbase, DisasContext, base); in mips_tr_init_disas_context() 15373 static void mips_tr_tb_start(DisasContextBase *dcbase, CPUState *cs) in mips_tr_tb_start() argument 15377 static void mips_tr_insn_start(DisasContextBase *dcbase, CPUState *cs) in mips_tr_insn_start() argument 15379 DisasContext *ctx = container_of(dcbase, DisasContext, base); in mips_tr_insn_start() 15385 static void mips_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) in mips_tr_translate_insn() argument 15388 DisasContext *ctx = container_of(dcbase, DisasContext, base); in mips_tr_translate_insn() 15453 static void mips_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) in mips_tr_tb_stop() argument 15455 DisasContext *ctx = container_of(dcbase, DisasContext, base); in mips_tr_tb_stop()
|