/openbmc/qemu/target/ppc/ |
H A D | spr_common.h | 41 typedef void spr_callback(DisasContext *, int, int); 81 void spr_noaccess(DisasContext *ctx, int gprn, int sprn); 91 void spr_write_PMC(DisasContext *ctx, int sprn, int gprn); 93 void spr_read_xer(DisasContext *ctx, int gprn, int sprn); 95 void spr_read_lr(DisasContext *ctx, int gprn, int sprn); 96 void spr_write_lr(DisasContext *ctx, int sprn, int gprn); 97 void spr_read_ctr(DisasContext *ctx, int gprn, int sprn); 102 void spr_read_PMC(DisasContext *ctx, int gprn, int sprn); 105 void spr_read_tbl(DisasContext *ctx, int gprn, int sprn); 106 void spr_read_tbu(DisasContext *ctx, int gprn, int sprn); [all …]
|
H A D | translate.c | 168 struct DisasContext { struct 238 void (*handler)(DisasContext *ctx); 2280 static void gen_slw(DisasContext *ctx) in gen_slw() 2344 static void gen_srw(DisasContext *ctx) in gen_srw() 3659 static void gen_b(DisasContext *ctx) in gen_b() 3805 static void gen_bc(DisasContext *ctx) in gen_bc() 3954 static void gen_sc(DisasContext *ctx) in gen_sc() 6480 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_init_disas_context() 6546 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_translate_insn() 6591 DisasContext *ctx = container_of(dcbase, DisasContext, base); in ppc_tr_tb_stop() [all …]
|
H A D | power8-pmu-regs.c.inc | 22 static bool spr_groupA_read_allowed(DisasContext *ctx) 41 static bool spr_groupA_write_allowed(DisasContext *ctx) 101 static void write_MMCR0_common(DisasContext *ctx, TCGv val) 178 void spr_write_MMCRA(DisasContext *ctx, int sprn, int gprn) 183 void spr_read_PMC(DisasContext *ctx, int gprn, int sprn) 216 void spr_write_PMC(DisasContext *ctx, int sprn, int gprn) 249 void spr_write_MMCR0(DisasContext *ctx, int sprn, int gprn) 254 void spr_write_MMCR1(DisasContext *ctx, int sprn, int gprn) 300 void spr_write_MMCR0(DisasContext *ctx, int sprn, int gprn) 305 void spr_write_MMCR1(DisasContext *ctx, int sprn, int gprn) [all …]
|
/openbmc/qemu/target/rx/ |
H A D | disas.c | 24 typedef struct DisasContext { struct 30 } DisasContext; typedef 51 static int32_t li(DisasContext *ctx, int sz) in li() 86 static int bdsp_s(DisasContext *ctx, int d) in bdsp_s() 105 static void dump_bytes(DisasContext *ctx) in dump_bytes() 347 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP() 412 static bool trans_STZ(DisasContext *ctx, arg_STZ *a) in trans_STZ() 908 static bool trans_BRA(DisasContext *ctx, arg_BRA *a) in trans_BRA() 922 static bool trans_JMP(DisasContext *ctx, arg_JMP *a) in trans_JMP() 929 static bool trans_JSR(DisasContext *ctx, arg_JSR *a) in trans_JSR() [all …]
|
H A D | translate.c | 35 typedef struct DisasContext { struct 40 } DisasContext; argument 86 static uint32_t li(DisasContext *ctx, int sz) in li() 115 static int bdsp_s(DisasContext *ctx, int d) in bdsp_s() 605 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP() 1585 static inline void rx_save_pc(DisasContext *ctx) in rx_save_pc() 2199 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_init_disas_context() 2210 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_insn_start() 2217 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_translate_insn() 2229 DisasContext *ctx = container_of(dcbase, DisasContext, base); in rx_tr_tb_stop() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.h | 19 typedef struct DisasContext { struct 54 } DisasContext; argument 136 void generate_exception(DisasContext *ctx, int excp); 140 void gen_reserved_instruction(DisasContext *ctx); 142 void check_insn(DisasContext *ctx, uint64_t flags); 143 void check_mips_64(DisasContext *ctx); 149 bool check_cp0_enabled(DisasContext *ctx); 150 void check_cp1_enabled(DisasContext *ctx); 151 void check_cp1_64bitmode(DisasContext *ctx); 153 void check_cop1x(DisasContext *ctx); [all …]
|
H A D | tx79_translate.c | 33 bool decode_ext_tx79(DisasContext *ctx, uint32_t insn) in decode_ext_tx79() 65 static bool trans_MFHI1(DisasContext *ctx, arg_r *a) in trans_MFHI1() 72 static bool trans_MFLO1(DisasContext *ctx, arg_r *a) in trans_MFLO1() 79 static bool trans_MTHI1(DisasContext *ctx, arg_r *a) in trans_MTHI1() 86 static bool trans_MTLO1(DisasContext *ctx, arg_r *a) in trans_MTLO1() 186 static bool trans_PAND(DisasContext *ctx, arg_r *a) in trans_PAND() 192 static bool trans_POR(DisasContext *ctx, arg_r *a) in trans_POR() 198 static bool trans_PXOR(DisasContext *ctx, arg_r *a) in trans_PXOR() 204 static bool trans_PNOR(DisasContext *ctx, arg_r *a) in trans_PNOR() 322 static bool trans_LQ(DisasContext *ctx, arg_i *a) in trans_LQ() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a32.h | 24 bool disas_m_nocp(DisasContext *dc, uint32_t insn); 25 bool disas_mve(DisasContext *dc, uint32_t insn); 26 bool disas_vfp(DisasContext *s, uint32_t insn); 33 void arm_gen_condlabel(DisasContext *s); 34 bool vfp_access_check(DisasContext *s); 42 void gen_set_condexec(DisasContext *s); 44 void gen_lookup_tb(DisasContext *s); 49 void clear_eci_state(DisasContext *s); 50 bool mve_eci_check(DisasContext *s); 51 void mve_update_eci(DisasContext *s); [all …]
|
H A D | translate-a64.h | 21 TCGv_i64 cpu_reg(DisasContext *s, int reg); 22 TCGv_i64 cpu_reg_sp(DisasContext *s, int reg); 23 TCGv_i64 read_cpu_reg(DisasContext *s, int reg, int sf); 25 void write_fp_dreg(DisasContext *s, int reg, TCGv_i64 v); 28 bool sve_access_check(DisasContext *s); 29 bool sme_enabled_check(DisasContext *s); 35 static inline bool sme_sm_enabled_check(DisasContext *s) in sme_sm_enabled_check() 125 static inline int vec_full_reg_size(DisasContext *s) in vec_full_reg_size() 146 static inline int pred_full_reg_size(DisasContext *s) in pred_full_reg_size() 188 bool disas_sve(DisasContext *, uint32_t); [all …]
|
H A D | translate.c | 153 void arm_gen_condlabel(DisasContext *s) in arm_gen_condlabel() 396 void clear_eci_state(DisasContext *s) in clear_eci_state() 741 void gen_set_condexec(DisasContext *s) in gen_set_condexec() 1118 void gen_lookup_tb(DisasContext *s) in gen_lookup_tb() 7515 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_init_disas_context() 7631 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_tb_start() 7672 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_insn_start() 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() 7970 DisasContext *dc = container_of(dcbase, DisasContext, base); in arm_tr_tb_stop() [all …]
|
H A D | translate-mve.c | 24 static inline int vidup_imm(DisasContext *s, int x) in vidup_imm() 63 static bool mve_no_predication(DisasContext *s) in mve_no_predication() 82 bool mve_eci_check(DisasContext *s) in mve_eci_check() 104 void mve_update_eci(DisasContext *s) in mve_update_eci() 115 void mve_update_and_store_eci(DisasContext *s) in mve_update_and_store_eci() 128 static bool mve_skip_first_beat(DisasContext *s) in mve_skip_first_beat() 471 static bool trans_VDUP(DisasContext *s, arg_VDUP *a) in trans_VDUP() 749 static bool trans_VMVN(DisasContext *s, arg_1op *a) in trans_VMVN() 826 static bool trans_VPSEL(DisasContext *s, arg_2op *a) in DO_LOGIC() 971 static bool trans_VADC(DisasContext *s, arg_2op *a) in trans_VADC() [all …]
|
/openbmc/qemu/target/openrisc/ |
H A D | translate.c | 44 typedef struct DisasContext { struct 59 } DisasContext; argument 146 static bool check_v1_3(DisasContext *dc) in check_v1_3() 181 static void gen_ove_cy(DisasContext *dc) in gen_ove_cy() 188 static void gen_ove_ov(DisasContext *dc) in gen_ove_ov() 1526 DisasContext *dc = container_of(dcb, DisasContext, base); in openrisc_tr_init_disas_context() 1543 DisasContext *dc = container_of(db, DisasContext, base); in openrisc_tr_tb_start() 1557 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_insn_start() 1565 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_translate_insn() 1588 DisasContext *dc = container_of(dcbase, DisasContext, base); in openrisc_tr_tb_stop() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | translate.c | 52 typedef struct DisasContext DisasContext; typedef 139 struct DisasContext { struct 358 static void update_cc_op(DisasContext *s) in update_cc_op() 377 static int get_mem_index(DisasContext *s) in get_mem_index() 5749 static TCGv gen_ri2(DisasContext *s) in gen_ri2() 6384 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_init_disas_context() 6403 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_insn_start() 6420 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_translate_insn() 6434 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_tb_stop() 6463 DisasContext *dc = container_of(dcbase, DisasContext, base); in s390x_tr_disas_log() [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzabha.c.inc | 25 static bool trans_amoswap_b(DisasContext *ctx, arg_amoswap_b *a) 31 static bool trans_amoadd_b(DisasContext *ctx, arg_amoadd_b *a) 37 static bool trans_amoxor_b(DisasContext *ctx, arg_amoxor_b *a) 43 static bool trans_amoand_b(DisasContext *ctx, arg_amoand_b *a) 49 static bool trans_amoor_b(DisasContext *ctx, arg_amoor_b *a) 55 static bool trans_amomin_b(DisasContext *ctx, arg_amomin_b *a) 61 static bool trans_amomax_b(DisasContext *ctx, arg_amomax_b *a) 85 static bool trans_amoadd_h(DisasContext *ctx, arg_amoadd_h *a) 91 static bool trans_amoxor_h(DisasContext *ctx, arg_amoxor_h *a) 97 static bool trans_amoand_h(DisasContext *ctx, arg_amoand_h *a) [all …]
|
H A D | trans_xthead.c.inc | 141 static bool trans_th_srri(DisasContext *ctx, arg_th_srri * a) 149 static bool trans_th_srriw(DisasContext *ctx, arg_th_srriw *a) 171 static bool trans_th_ext(DisasContext *ctx, arg_th_ext *a) 177 static bool trans_th_extu(DisasContext *ctx, arg_th_extu *a) 208 static bool trans_th_ff0(DisasContext *ctx, arg_th_ff0 *a) 215 static bool trans_th_ff1(DisasContext *ctx, arg_th_ff1 *a) 227 static bool trans_th_rev(DisasContext *ctx, arg_th_rev *a) 235 static bool trans_th_revw(DisasContext *ctx, arg_th_revw *a) 258 static bool trans_th_tst(DisasContext *ctx, arg_th_tst *a) 480 static bool gen_th_mac(DisasContext *ctx, arg_r *a, [all …]
|
H A D | trans_rvb.c.inc | 69 static bool trans_clz(DisasContext *ctx, arg_clz *a) 85 static bool trans_ctz(DisasContext *ctx, arg_ctz *a) 91 static bool trans_cpop(DisasContext *ctx, arg_cpop *a) 97 static bool trans_andn(DisasContext *ctx, arg_andn *a) 103 static bool trans_orn(DisasContext *ctx, arg_orn *a) 109 static bool trans_xnor(DisasContext *ctx, arg_xnor *a) 115 static bool trans_min(DisasContext *ctx, arg_min *a) 121 static bool trans_max(DisasContext *ctx, arg_max *a) 127 static bool trans_minu(DisasContext *ctx, arg_minu *a) 250 static bool trans_ror(DisasContext *ctx, arg_ror *a) [all …]
|
H A D | trans_rvk.c.inc | 50 static bool gen_aes32_sm4(DisasContext *ctx, arg_k_aes *a, 70 static bool trans_aes32esi(DisasContext *ctx, arg_aes32esi *a) 84 static bool trans_aes32dsi(DisasContext *ctx, arg_aes32dsi *a) 91 static bool trans_aes64es(DisasContext *ctx, arg_aes64es *a) 98 static bool trans_aes64esm(DisasContext *ctx, arg_aes64esm *a) 105 static bool trans_aes64ds(DisasContext *ctx, arg_aes64ds *a) 138 static bool trans_aes64im(DisasContext *ctx, arg_aes64im *a) 353 static bool trans_sm3p0(DisasContext *ctx, arg_sm3p0 *a) 359 static bool trans_sm3p1(DisasContext *ctx, arg_sm3p1 *a) 366 static bool trans_sm4ed(DisasContext *ctx, arg_sm4ed *a) [all …]
|
H A D | trans_rva.c.inc | 33 static bool gen_lr(DisasContext *ctx, arg_atomic *a, MemOp mop) 58 static bool gen_sc(DisasContext *ctx, arg_atomic *a, MemOp mop) 99 static bool trans_lr_w(DisasContext *ctx, arg_lr_w *a) 105 static bool trans_sc_w(DisasContext *ctx, arg_sc_w *a) 117 static bool trans_amoadd_w(DisasContext *ctx, arg_amoadd_w *a) 123 static bool trans_amoxor_w(DisasContext *ctx, arg_amoxor_w *a) 129 static bool trans_amoand_w(DisasContext *ctx, arg_amoand_w *a) 135 static bool trans_amoor_w(DisasContext *ctx, arg_amoor_w *a) 165 static bool trans_lr_d(DisasContext *ctx, arg_lr_d *a) 172 static bool trans_sc_d(DisasContext *ctx, arg_sc_d *a) [all …]
|
H A D | trans_rvh.c.inc | 41 static bool do_hlv(DisasContext *ctx, arg_r2 *a, 53 static bool do_hsv(DisasContext *ctx, arg_r2_s *a, 65 static bool trans_hlv_b(DisasContext *ctx, arg_hlv_b *a) 71 static bool trans_hlv_h(DisasContext *ctx, arg_hlv_h *a) 77 static bool trans_hlv_w(DisasContext *ctx, arg_hlv_w *a) 83 static bool trans_hlv_bu(DisasContext *ctx, arg_hlv_bu *a) 95 static bool trans_hsv_b(DisasContext *ctx, arg_hsv_b *a) 101 static bool trans_hsv_h(DisasContext *ctx, arg_hsv_h *a) 107 static bool trans_hsv_w(DisasContext *ctx, arg_hsv_w *a) 120 static bool trans_hlv_d(DisasContext *ctx, arg_hlv_d *a) [all …]
|
/openbmc/qemu/target/avr/ |
H A D | translate.c | 80 typedef struct DisasContext DisasContext; typedef 83 struct DisasContext { struct 173 static uint16_t next_word(DisasContext *ctx) in next_word() 920 static void gen_jmp_ez(DisasContext *ctx) in gen_jmp_ez() 927 static void gen_jmp_z(DisasContext *ctx) in gen_jmp_z() 2605 static void translate(DisasContext *ctx) in translate() 2658 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_init_disas_context() 2686 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_insn_start() 2693 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_translate_insn() 2753 DisasContext *ctx = container_of(dcbase, DisasContext, base); in avr_tr_tb_stop() [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | translate.h | 29 typedef struct DisasContext { struct 79 } DisasContext; argument 81 bool is_gather_store_insn(DisasContext *ctx); 148 intptr_t ctx_future_vreg_off(DisasContext *ctx, int regnum, 150 intptr_t ctx_tmp_vreg_off(DisasContext *ctx, int regnum, 153 static inline void ctx_start_hvx_insn(DisasContext *ctx) in ctx_start_hvx_insn() 161 static inline void ctx_log_vreg_write(DisasContext *ctx, in ctx_log_vreg_write() 195 static inline void ctx_log_vreg_write_pair(DisasContext *ctx, in ctx_log_vreg_write_pair() 242 static inline void ctx_log_qreg_write(DisasContext *ctx, in ctx_log_qreg_write() 256 static inline void ctx_log_qreg_read(DisasContext *ctx, in ctx_log_qreg_read() [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | translate.c | 64 typedef struct DisasContext { struct 95 } DisasContext; argument 538 static void nullify_over(DisasContext *ctx) in nullify_over() 595 static bool nullify_end(DisasContext *ctx) in nullify_end() 770 static bool gen_illegal(DisasContext *ctx) in gen_illegal() 4619 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_init_disas_context() 4662 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_tb_start() 4676 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_insn_start() 4699 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_translate_insn() 4781 DisasContext *ctx = container_of(dcbase, DisasContext, base); in hppa_tr_tb_stop() [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 64 static inline int plus_1(DisasContext *ctx, int x) in plus_1() 69 static inline int shl_1(DisasContext *ctx, int x) in shl_1() 74 static inline int shl_2(DisasContext *ctx, int x) in shl_2() 79 static inline int shl_3(DisasContext *ctx, int x) in shl_3() 93 void generate_exception(DisasContext *ctx, int excp) in generate_exception() 121 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_init_disas_context() 158 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_insn_start() 221 static TCGv get_fpr(DisasContext *ctx, int reg_num) in get_fpr() 285 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_translate_insn() 305 DisasContext *ctx = container_of(dcbase, DisasContext, base); in loongarch_tr_tb_stop() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | translate.c | 59 typedef struct DisasContext { struct 119 } DisasContext; argument 155 static inline int get_olen(DisasContext *ctx) in get_olen() 273 static void exit_tb(DisasContext *ctx) in exit_tb() 621 static void mark_fs_dirty(DisasContext *ctx) in mark_fs_dirty() 1117 DisasContext *ctx = container_of(dcbase, DisasContext, base); in opcode_at() 1209 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_init_disas_context() 1252 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_insn_start() 1265 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_translate_insn() 1295 DisasContext *ctx = container_of(dcbase, DisasContext, base); in riscv_tr_tb_stop() [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | translate.c | 61 typedef struct DisasContext { struct 79 } DisasContext; argument 92 static void t_sync_flags(DisasContext *dc) in t_sync_flags() 1503 static void do_rti(DisasContext *dc) in do_rti() 1514 static void do_rtb(DisasContext *dc) in do_rtb() 1524 static void do_rte(DisasContext *dc) in do_rte() 1598 DisasContext *dc = container_of(dcb, DisasContext, base); in mb_tr_init_disas_context() 1621 DisasContext *dc = container_of(dcb, DisasContext, base); in mb_tr_insn_start() 1628 DisasContext *dc = container_of(dcb, DisasContext, base); in mb_tr_translate_insn() 1705 DisasContext *dc = container_of(dcb, DisasContext, base); in mb_tr_tb_stop() [all …]
|