/openbmc/qemu/target/hexagon/ |
H A D | genptr.h | 27 void gen_store32(TCGv vaddr, TCGv src, int width, uint32_t slot); 28 void gen_store1(TCGv_env cpu_env, TCGv vaddr, TCGv src, uint32_t slot); 29 void gen_store2(TCGv_env cpu_env, TCGv vaddr, TCGv src, uint32_t slot); 30 void gen_store4(TCGv_env cpu_env, TCGv vaddr, TCGv src, uint32_t slot); 31 void gen_store8(TCGv_env cpu_env, TCGv vaddr, TCGv_i64 src, uint32_t slot); 32 void gen_store1i(TCGv_env cpu_env, TCGv vaddr, int32_t src, uint32_t slot); 33 void gen_store2i(TCGv_env cpu_env, TCGv vaddr, int32_t src, uint32_t slot); 34 void gen_store4i(TCGv_env cpu_env, TCGv vaddr, int32_t src, uint32_t slot); 35 void gen_store8i(TCGv_env cpu_env, TCGv vaddr, int64_t src, uint32_t slot); 36 TCGv gen_read_reg(TCGv result, int num); [all …]
|
H A D | genptr.c | 35 TCGv gen_read_reg(TCGv result, int num) in gen_read_reg() 41 TCGv gen_read_preg(TCGv pred, uint8_t num) in gen_read_preg() 59 static inline void gen_masked_reg_write(TCGv new_val, TCGv cur_val, in gen_masked_reg_write() 63 TCGv tmp = tcg_temp_new(); in gen_masked_reg_write() 72 TCGv get_result_gpr(DisasContext *ctx, int rnum) in get_result_gpr() 97 void gen_log_reg_write(DisasContext *ctx, int rnum, TCGv val) in gen_log_reg_write() 111 TCGv val32 = tcg_temp_new(); in gen_log_reg_write_pair() 122 TCGv get_result_pred(DisasContext *ctx, int pnum) in get_result_pred() 135 void gen_log_pred_write(DisasContext *ctx, int pnum, TCGv val) in gen_log_pred_write() 137 TCGv pred = get_result_pred(ctx, pnum); in gen_log_pred_write() [all …]
|
H A D | translate.h | 74 TCGv new_value[TOTAL_PER_THREAD_REGS]; 75 TCGv new_pred_value[NUM_PREGS]; 76 TCGv pred_written; 77 TCGv branch_taken; 78 TCGv dczero_addr; 270 extern TCGv hex_gpr[TOTAL_PER_THREAD_REGS]; 271 extern TCGv hex_pred[NUM_PREGS]; 272 extern TCGv hex_slot_cancelled; 273 extern TCGv hex_new_value_usr; 274 extern TCGv hex_reg_written[TOTAL_PER_THREAD_REGS]; [all …]
|
/openbmc/qemu/target/avr/ |
H A D | translate.c | 46 static TCGv cpu_pc; 48 static TCGv cpu_Cf; 49 static TCGv cpu_Zf; 50 static TCGv cpu_Nf; 51 static TCGv cpu_Vf; 52 static TCGv cpu_Sf; 53 static TCGv cpu_Hf; 54 static TCGv cpu_Tf; 55 static TCGv cpu_If; 57 static TCGv cpu_rampD; [all …]
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_arith.c.inc | 8 DisasExtend dst_ext, void (*func)(TCGv, TCGv, TCGv)) 10 TCGv dest = gpr_dst(ctx, a->rd, dst_ext); 11 TCGv src1 = gpr_src(ctx, a->rj, src1_ext); 12 TCGv src2 = gpr_src(ctx, a->rk, src2_ext); 22 void (*func)(TCGv, TCGv, TCGv)) 24 TCGv dest = gpr_dst(ctx, a->rd, dst_ext); 25 TCGv src1 = gpr_src(ctx, a->rj, src_ext); 26 TCGv src2 = tcg_constant_tl(a->imm); 36 void (*func)(TCGv, TCGv, target_long)) 38 TCGv dest = gpr_dst(ctx, a->rd, dst_ext); [all …]
|
H A D | trans_shift.c.inc | 6 static void gen_sll_w(TCGv dest, TCGv src1, TCGv src2) 8 TCGv t0 = tcg_temp_new(); 13 static void gen_srl_w(TCGv dest, TCGv src1, TCGv src2) 15 TCGv t0 = tcg_temp_new(); 20 static void gen_sra_w(TCGv dest, TCGv src1, TCGv src2) 22 TCGv t0 = tcg_temp_new(); 27 static void gen_sll_d(TCGv dest, TCGv src1, TCGv src2) 29 TCGv t0 = tcg_temp_new(); 34 static void gen_srl_d(TCGv dest, TCGv src1, TCGv src2) 36 TCGv t0 = tcg_temp_new(); [all …]
|
H A D | trans_bit.c.inc | 8 void (*func)(TCGv, TCGv)) 10 TCGv dest = gpr_dst(ctx, a->rd, dst_ext); 11 TCGv src1 = gpr_src(ctx, a->rj, src_ext); 19 static void gen_bytepick_w(TCGv dest, TCGv src1, TCGv src2, target_long sa) 25 static void gen_bytepick_d(TCGv dest, TCGv src1, TCGv src2, target_long sa) 33 TCGv src1 = gpr_src(ctx, a->rd, EXT_NONE); 34 TCGv src2 = gpr_src(ctx, a->rj, EXT_NONE); 35 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 49 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 50 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_farith.c.inc | 18 void (*func)(TCGv, TCGv_env, TCGv, TCGv)) 20 TCGv dest = get_fpr(ctx, a->fd); 21 TCGv src1 = get_fpr(ctx, a->fj); 22 TCGv src2 = get_fpr(ctx, a->fk); 33 void (*func)(TCGv, TCGv_env, TCGv)) 35 TCGv dest = get_fpr(ctx, a->fd); 36 TCGv src = get_fpr(ctx, a->fj); 47 void (*func)(TCGv, TCGv_env, TCGv, TCGv, TCGv, TCGv_i32), 51 TCGv dest = get_fpr(ctx, a->fd); 52 TCGv src1 = get_fpr(ctx, a->fj); [all …]
|
H A D | trans_fmemory.c.inc | 6 static void maybe_nanbox_load(TCGv freg, MemOp mop) 15 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 16 TCGv dest = get_fpr(ctx, a->fd); 31 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 32 TCGv src = get_fpr(ctx, a->fd); 45 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 46 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 47 TCGv dest = get_fpr(ctx, a->fd); 48 TCGv addr; 62 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_fmov.c.inc | 12 TCGv zero = tcg_constant_tl(0); 13 TCGv dest = get_fpr(ctx, a->fd); 14 TCGv src1 = get_fpr(ctx, a->fj); 15 TCGv src2 = get_fpr(ctx, a->fk); 16 TCGv cond; 33 void (*func)(TCGv, TCGv), bool nanbox) 35 TCGv dest = get_fpr(ctx, a->fd); 36 TCGv src = get_fpr(ctx, a->fj); 50 void (*func)(TCGv, TCGv)) 52 TCGv src = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_memory.c.inc | 8 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 9 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 20 TCGv data = gpr_src(ctx, a->rd, EXT_NONE); 21 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 31 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 32 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 33 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 34 TCGv addr = make_address_x(ctx, src1, src2); 44 TCGv data = gpr_src(ctx, a->rd, EXT_NONE); 45 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_extra.c.inc | 20 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 21 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 33 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 34 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 47 TCGv dst1 = gpr_dst(ctx, a->rd, EXT_NONE); 48 TCGv dst2 = gpr_dst(ctx, a->rj, EXT_NONE); 77 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 78 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 87 void (*func)(TCGv, TCGv, TCGv, TCGv), 88 TCGv tsz) [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvm.c.inc | 27 static void gen_mulhu_i128(TCGv r2, TCGv r3, TCGv al, TCGv ah, TCGv bl, TCGv bh) 29 TCGv tmpl = tcg_temp_new(); 30 TCGv tmph = tcg_temp_new(); 31 TCGv r0 = tcg_temp_new(); 32 TCGv r1 = tcg_temp_new(); 33 TCGv zero = tcg_constant_tl(0); 50 static void gen_mul_i128(TCGv rl, TCGv rh, 51 TCGv rs1l, TCGv rs1h, TCGv rs2l, TCGv rs2h) 53 TCGv tmpl = tcg_temp_new(); 54 TCGv tmph = tcg_temp_new(); [all …]
|
H A D | trans_rvi.c.inc | 66 TCGv tmp = tcg_temp_new(); 84 TCGv target_pc = dest_gpr(ctx, a->rd); 99 TCGv target_pc = tcg_temp_new(); 100 TCGv succ_pc = dest_gpr(ctx, a->rd); 110 TCGv t0 = tcg_temp_new(); 144 static TCGCond gen_compare_i128(bool bz, TCGv rl, 145 TCGv al, TCGv ah, TCGv bl, TCGv bh, 148 TCGv rh = tcg_temp_new(); 168 TCGv tmp = tcg_temp_new(); 183 TCGv tmp = tcg_temp_new(); [all …]
|
H A D | trans_rvb.c.inc | 57 static void gen_clz(TCGv ret, TCGv arg1) 62 static void gen_clzw(TCGv ret, TCGv arg1) 64 TCGv t = tcg_temp_new(); 75 static void gen_ctz(TCGv ret, TCGv arg1) 80 static void gen_ctzw(TCGv ret, TCGv arg1) 151 static void gen_sbop_mask(TCGv ret, TCGv shamt) 157 static void gen_bset(TCGv ret, TCGv arg1, TCGv shamt) 159 TCGv t = tcg_temp_new(); 177 static void gen_bclr(TCGv ret, TCGv arg1, TCGv shamt) 179 TCGv t = tcg_temp_new(); [all …]
|
H A D | trans_rvzicond.c.inc | 27 static void gen_czero(TCGv dest, TCGv src1, TCGv src2, TCGCond cond) 29 TCGv zero = tcg_constant_tl(0); 33 static void gen_czero_eqz(TCGv dest, TCGv src1, TCGv src2) 38 static void gen_czero_nez(TCGv dest, TCGv src1, TCGv src2)
|
/openbmc/qemu/target/riscv/ |
H A D | translate.c | 40 static TCGv cpu_gpr[32], cpu_gprh[32], cpu_pc, cpu_vl, cpu_vstart; 42 static TCGv load_res; 43 static TCGv load_val; 45 static TCGv pm_mask; 46 static TCGv pm_base; 107 TCGv zero; 222 static void gen_pc_plus_diff(TCGv target, DisasContext *ctx, in gen_pc_plus_diff() 265 static void gen_exception_inst_addr_mis(DisasContext *ctx, TCGv target) in gen_exception_inst_addr_mis() 330 static TCGv get_gpr(DisasContext *ctx, int reg_num, DisasExtend ext) in get_gpr() 332 TCGv t; in get_gpr() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | translate.c | 46 static TCGv cpu_PC; 47 static TCGv cpu_PCXI; 48 static TCGv cpu_PSW; 49 static TCGv cpu_ICR; 51 static TCGv cpu_gpr_a[16]; 52 static TCGv cpu_gpr_d[16]; 54 static TCGv cpu_PSW_C; 55 static TCGv cpu_PSW_V; 56 static TCGv cpu_PSW_SV; 57 static TCGv cpu_PSW_AV; [all …]
|
/openbmc/qemu/target/rx/ |
H A D | translate.c | 43 TCGv value; 44 TCGv temp; 66 static TCGv cpu_regs[16]; 67 static TCGv cpu_psw_o, cpu_psw_s, cpu_psw_z, cpu_psw_c; 68 static TCGv cpu_psw_i, cpu_psw_pm, cpu_psw_u, cpu_psw_ipl; 69 static TCGv cpu_usp, cpu_fpsw, cpu_bpsw, cpu_bpc, cpu_isp; 70 static TCGv cpu_fintv, cpu_intb, cpu_pc; 164 static inline void rx_gen_ld(unsigned int size, TCGv reg, TCGv mem) in rx_gen_ld() 170 static inline void rx_gen_ldu(unsigned int size, TCGv reg, TCGv mem) in rx_gen_ldu() 176 static inline void rx_gen_st(unsigned int size, TCGv reg, TCGv mem) in rx_gen_st() [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | translate.c | 115 static TCGv cpu_pc, cpu_npc; 116 static TCGv cpu_regs[32]; 117 static TCGv cpu_y; 118 static TCGv cpu_tbr; 119 static TCGv cpu_cond; 120 static TCGv cpu_cc_N; 121 static TCGv cpu_cc_V; 122 static TCGv cpu_icc_Z; 123 static TCGv cpu_icc_C; 125 static TCGv cpu_xcc_Z; [all …]
|
/openbmc/qemu/target/m68k/ |
H A D | translate.c | 40 #define DEFO32(name, offset) static TCGv QREG_##name; 50 static TCGv cpu_dregs[8]; 51 static TCGv cpu_aregs[8]; 60 static TCGv NULL_QREG; 63 static TCGv store_dummy; 121 TCGv writeback[8]; 125 static TCGv get_areg(DisasContext *s, unsigned regno) in get_areg() 135 TCGv val, bool give_temp) in delay_set_areg() 148 TCGv tmp = tcg_temp_new(); in delay_set_areg() 256 static void gen_jmp(DisasContext *s, TCGv dest) in gen_jmp() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | lcsr_translate.c | 21 TCGv dest = tcg_temp_new(); in trans_CPUCFG() 22 TCGv src1 = tcg_temp_new(); in trans_CPUCFG() 33 void (*func)(TCGv, TCGv_ptr, TCGv)) in gen_rdcsr() argument 35 TCGv dest = tcg_temp_new(); in gen_rdcsr() 36 TCGv src1 = tcg_temp_new(); in gen_rdcsr() 47 void (*func)(TCGv_ptr, TCGv, TCGv)) in gen_wrcsr() argument 49 TCGv val = tcg_temp_new(); in gen_wrcsr() 50 TCGv addr = tcg_temp_new(); in gen_wrcsr()
|
H A D | mxu_translate.c | 609 static TCGv mxu_gpr[NUMBER_OF_MXU_REGISTERS - 1]; 610 static TCGv mxu_CR; 631 static inline void gen_load_mxu_gpr(TCGv t, unsigned int reg) in gen_load_mxu_gpr() 640 static inline void gen_store_mxu_gpr(TCGv t, unsigned int reg) in gen_store_mxu_gpr() 647 static inline void gen_extract_mxu_gpr(TCGv t, unsigned int reg, in gen_extract_mxu_gpr() 658 static inline void gen_load_mxu_cr(TCGv t) in gen_load_mxu_cr() 663 static inline void gen_store_mxu_cr(TCGv t) in gen_store_mxu_cr() 674 TCGv t0; in gen_mxu_s32i2m() 695 TCGv t0; in gen_mxu_s32m2i() 720 TCGv t0, t1; in gen_mxu_s8ldd() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | translate.c | 69 TCGv *ir; 72 TCGv zero; 73 TCGv sink; 90 static TCGv cpu_std_ir[31]; 91 static TCGv cpu_fir[31]; 92 static TCGv cpu_pc; 93 static TCGv cpu_lock_addr; 94 static TCGv cpu_lock_value; 97 static TCGv cpu_pal_ir[31]; 104 typedef struct { TCGv *var; const char *name; int ofs; } GlobalVar; in alpha_translate_init() [all …]
|
/openbmc/qemu/target/sh4/ |
H A D | translate.c | 65 static TCGv cpu_gregs[32]; 66 static TCGv cpu_sr, cpu_sr_m, cpu_sr_q, cpu_sr_t; 67 static TCGv cpu_pc, cpu_ssr, cpu_spc, cpu_gbr; 68 static TCGv cpu_vbr, cpu_sgr, cpu_dbr, cpu_mach, cpu_macl; 69 static TCGv cpu_pr, cpu_fpscr, cpu_fpul; 70 static TCGv cpu_lock_addr, cpu_lock_value; 71 static TCGv cpu_fregs[32]; 74 static TCGv cpu_flags, cpu_delayed_pc, cpu_delayed_cond; 102 memcpy(cpu_gregs + 24, cpu_gregs + 8, 8 * sizeof(TCGv)); in sh4_translate_init() 187 static void gen_read_sr(TCGv dst) in gen_read_sr() [all …]
|