Lines Matching refs:t

411 static void save_or_nullify(DisasContext *ctx, TCGv_i64 dest, TCGv_i64 t)  in save_or_nullify()  argument
415 ctx->null_cond.a1, dest, t); in save_or_nullify()
417 tcg_gen_mov_i64(dest, t); in save_or_nullify()
421 static void save_gpr(DisasContext *ctx, unsigned reg, TCGv_i64 t) in save_gpr() argument
424 save_or_nullify(ctx, cpu_gr[reg], t); in save_gpr()
1075 TCGv_i64 t = tcg_temp_new_i64(); in get_carry() local
1076 tcg_gen_extract_i64(t, cb, 32, 1); in get_carry()
1077 return t; in get_carry()
1269 do_add(ctx, a->t, tcg_r1, tcg_r2, a->sh, is_l, in do_add_reg()
1289 do_add(ctx, a->t, tcg_im, tcg_r2, 0, 0, is_tsv, is_tc, 0, a->cf, false); in do_add_imm()
1364 do_sub(ctx, a->t, tcg_r1, tcg_r2, is_tsv, is_b, is_tc, a->cf, a->d); in do_sub_reg()
1378 do_sub(ctx, a->t, tcg_im, tcg_r2, is_tsv, 0, 0, a->cf, false); in do_sub_imm()
1432 do_log(ctx, a->t, tcg_r1, tcg_r2, a->cf, a->d, fn); in do_log_reg()
1706 return do_floadw(ctx, a->t, a->b, a->x, a->scale ? 2 : 0, in trans_fldw()
1731 return do_floadd(ctx, a->t, a->b, a->x, a->scale ? 3 : 0, in trans_fldd()
1760 return do_fstorew(ctx, a->t, a->b, a->x, a->scale ? 2 : 0, in trans_fstw()
1780 return do_fstored(ctx, a->t, a->b, a->x, a->scale ? 3 : 0, in trans_fstd()
2144 TCGv_i64 dest = dest_gpr(ctx, a->t); in trans_mfia()
2149 save_gpr(ctx, a->t, dest); in trans_mfia()
2156 unsigned rt = a->t; in trans_mfsp()
2171 unsigned rt = a->t; in trans_mfctl()
2240 unsigned ctl = a->t; in trans_mtctl()
2330 TCGv_i64 dest = dest_gpr(ctx, a->t); in trans_ldsid()
2339 save_gpr(ctx, a->t, dest); in trans_ldsid()
2363 save_gpr(ctx, a->t, tmp); in trans_rsm()
2383 save_gpr(ctx, a->t, tmp); in trans_ssm()
2524 dest = dest_gpr(ctx, a->t); in trans_probe()
2538 save_gpr(ctx, a->t, dest); in trans_probe()
2731 save_gpr(ctx, a->t, paddr); in trans_lpa()
2745 save_gpr(ctx, a->t, ctx->zero); in trans_lci()
2821 unsigned rt = a->t; in trans_or()
2884 do_cmpclr(ctx, a->t, tcg_r1, tcg_r2, a->cf, a->d); in trans_cmpclr()
2898 dest = dest_gpr(ctx, a->t); in trans_uxor()
2901 save_gpr(ctx, a->t, dest); in trans_uxor()
2913 tmp = dest_gpr(ctx, a->t); in do_uaddcm()
2928 save_gpr(ctx, a->t, tmp); in do_uaddcm()
2938 do_unit_addsub(ctx, a->t, tcg_r1, tmp, a->cf, a->d, is_tc, true); in do_uaddcm()
2965 do_unit_addsub(ctx, a->t, load_gpr(ctx, a->r), tmp, in do_dcor()
3013 save_gpr(ctx, a->t, dest); in trans_ds()
3081 do_cmpclr(ctx, a->t, tcg_im, tcg_r2, a->cf, a->d); in trans_cmpiclr()
3099 dest = dest_gpr(ctx, a->t); in do_multimedia()
3102 save_gpr(ctx, a->t, dest); in do_multimedia()
3119 dest = dest_gpr(ctx, a->t); in do_multimedia_sh()
3122 save_gpr(ctx, a->t, dest); in do_multimedia_sh()
3141 dest = dest_gpr(ctx, a->t); in do_multimedia_shadd()
3144 save_gpr(ctx, a->t, dest); in do_multimedia_shadd()
3289 save_gpr(ctx, a->t, t0); in trans_permh()
3300 if (a->t == 0) { in trans_ld()
3306 return do_load(ctx, a->t, a->b, a->x, a->scale ? a->size : 0, in trans_ld()
3316 return do_store(ctx, a->t, a->b, a->disp, a->sp, a->m, a->size | MO_TE); in trans_st()
3336 dest = dest_gpr(ctx, a->t); in trans_ldc()
3357 save_gpr(ctx, a->t, dest); in trans_ldc()
3451 TCGv_i64 tcg_rt = dest_gpr(ctx, a->t); in trans_ldil()
3454 save_gpr(ctx, a->t, tcg_rt); in trans_ldil()
3472 TCGv_i64 tcg_rt = dest_gpr(ctx, a->t); in trans_ldo()
3481 save_gpr(ctx, a->t, tcg_rt); in trans_ldo()
3659 dest = dest_gpr(ctx, a->t); in trans_shrp_sar()
3688 TCGv_i64 t = tcg_temp_new_i64(); in trans_shrp_sar() local
3692 tcg_gen_shl_i64(t, src1, n); in trans_shrp_sar()
3693 tcg_gen_shli_i64(t, t, 1); in trans_shrp_sar()
3695 tcg_gen_or_i64(dest, dest, t); in trans_shrp_sar()
3697 TCGv_i64 t = tcg_temp_new_i64(); in trans_shrp_sar() local
3700 tcg_gen_concat32_i64(t, src2, src1); in trans_shrp_sar()
3702 tcg_gen_shr_i64(dest, t, s); in trans_shrp_sar()
3705 save_gpr(ctx, a->t, dest); in trans_shrp_sar()
3727 dest = dest_gpr(ctx, a->t); in trans_shrp_imm()
3745 save_gpr(ctx, a->t, dest); in trans_shrp_imm()
3764 dest = dest_gpr(ctx, a->t); in trans_extr_sar()
3787 save_gpr(ctx, a->t, dest); in trans_extr_sar()
3813 dest = dest_gpr(ctx, a->t); in trans_extr_imm()
3820 save_gpr(ctx, a->t, dest); in trans_extr_imm()
3846 dest = dest_gpr(ctx, a->t); in trans_depi_imm()
3851 TCGv_i64 src = load_gpr(ctx, a->t); in trans_depi_imm()
3857 save_gpr(ctx, a->t, dest); in trans_depi_imm()
3866 unsigned rs = a->nz ? a->t : 0; in trans_dep_imm()
3883 dest = dest_gpr(ctx, a->t); in trans_dep_imm()
3890 save_gpr(ctx, a->t, dest); in trans_dep_imm()
3939 return do_dep_sar(ctx, a->t, a->c, a->d, a->nz, a->len, in trans_dep_sar()
3951 return do_dep_sar(ctx, a->t, a->c, a->d, a->nz, a->len, in trans_depi_sar()
4104 return do_fop_wew(ctx, a->t, a->r, gen_fcpy_f); in trans_fcpy_f()
4114 return do_fop_ded(ctx, a->t, a->r, gen_fcpy_d); in trans_fcpy_d()
4124 return do_fop_wew(ctx, a->t, a->r, gen_fabs_f); in trans_fabs_f()
4134 return do_fop_ded(ctx, a->t, a->r, gen_fabs_d); in trans_fabs_d()
4139 return do_fop_wew(ctx, a->t, a->r, gen_helper_fsqrt_s); in trans_fsqrt_f()
4144 return do_fop_ded(ctx, a->t, a->r, gen_helper_fsqrt_d); in trans_fsqrt_d()
4149 return do_fop_wew(ctx, a->t, a->r, gen_helper_frnd_s); in trans_frnd_f()
4154 return do_fop_ded(ctx, a->t, a->r, gen_helper_frnd_d); in trans_frnd_d()
4164 return do_fop_wew(ctx, a->t, a->r, gen_fneg_f); in trans_fneg_f()
4174 return do_fop_ded(ctx, a->t, a->r, gen_fneg_d); in trans_fneg_d()
4184 return do_fop_wew(ctx, a->t, a->r, gen_fnegabs_f); in trans_fnegabs_f()
4194 return do_fop_ded(ctx, a->t, a->r, gen_fnegabs_d); in trans_fnegabs_d()
4203 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_d_s); in trans_fcnv_d_f()
4208 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_s_d); in trans_fcnv_f_d()
4213 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_w_s); in trans_fcnv_w_f()
4218 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_dw_s); in trans_fcnv_q_f()
4223 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_w_d); in trans_fcnv_w_d()
4228 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_dw_d); in trans_fcnv_q_d()
4233 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_s_w); in trans_fcnv_f_w()
4238 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_d_w); in trans_fcnv_d_w()
4243 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_s_dw); in trans_fcnv_f_q()
4248 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_d_dw); in trans_fcnv_d_q()
4253 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_t_s_w); in trans_fcnv_t_f_w()
4258 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_t_d_w); in trans_fcnv_t_d_w()
4263 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_t_s_dw); in trans_fcnv_t_f_q()
4268 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_t_d_dw); in trans_fcnv_t_d_q()
4273 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_uw_s); in trans_fcnv_uw_f()
4278 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_udw_s); in trans_fcnv_uq_f()
4283 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_uw_d); in trans_fcnv_uw_d()
4288 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_udw_d); in trans_fcnv_uq_d()
4293 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_s_uw); in trans_fcnv_f_uw()
4298 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_d_uw); in trans_fcnv_d_uw()
4303 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_s_udw); in trans_fcnv_f_uq()
4308 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_d_udw); in trans_fcnv_d_uq()
4313 return do_fop_wew(ctx, a->t, a->r, gen_helper_fcnv_t_s_uw); in trans_fcnv_t_f_uw()
4318 return do_fop_wed(ctx, a->t, a->r, gen_helper_fcnv_t_d_uw); in trans_fcnv_t_d_uw()
4323 return do_fop_dew(ctx, a->t, a->r, gen_helper_fcnv_t_s_udw); in trans_fcnv_t_f_uq()
4328 return do_fop_ded(ctx, a->t, a->r, gen_helper_fcnv_t_d_udw); in trans_fcnv_t_d_uq()
4372 TCGv_i64 t; in trans_ftest() local
4376 t = tcg_temp_new_i64(); in trans_ftest()
4377 tcg_gen_ld32u_i64(t, tcg_env, offsetof(CPUHPPAState, fr0_shadow)); in trans_ftest()
4414 ctx->null_cond = cond_make_ti(tc, t, mask); in trans_ftest()
4424 return do_fop_weww(ctx, a->t, a->r1, a->r2, gen_helper_fadd_s); in trans_fadd_f()
4429 return do_fop_dedd(ctx, a->t, a->r1, a->r2, gen_helper_fadd_d); in trans_fadd_d()
4434 return do_fop_weww(ctx, a->t, a->r1, a->r2, gen_helper_fsub_s); in trans_fsub_f()
4439 return do_fop_dedd(ctx, a->t, a->r1, a->r2, gen_helper_fsub_d); in trans_fsub_d()
4444 return do_fop_weww(ctx, a->t, a->r1, a->r2, gen_helper_fmpy_s); in trans_fmpy_f()
4449 return do_fop_dedd(ctx, a->t, a->r1, a->r2, gen_helper_fmpy_d); in trans_fmpy_d()
4454 return do_fop_weww(ctx, a->t, a->r1, a->r2, gen_helper_fdiv_s); in trans_fdiv_f()
4459 return do_fop_dedd(ctx, a->t, a->r1, a->r2, gen_helper_fdiv_d); in trans_fdiv_d()
4471 save_frd(a->t, x); in trans_xmpyu()
4545 save_frw_i32(a->t, x); in trans_fmpyfadd_f()
4564 save_frd(a->t, x); in trans_fmpyfadd_d()