Lines Matching refs:tcg_env

244     tcg_gen_ld_i32(ret, tcg_env, gen_offset_fpr_F(src));  in gen_load_fpr_F()
250 tcg_gen_st_i32(v, tcg_env, gen_offset_fpr_F(dst)); in gen_store_fpr_F()
264 tcg_gen_ld_i64(ret, tcg_env, gen_offset_fpr_D(src)); in gen_load_fpr_D()
270 tcg_gen_st_i64(v, tcg_env, gen_offset_fpr_D(dst)); in gen_store_fpr_D()
628 gen_helper_sdiv(dst, tcg_env, src1, src2); in gen_op_sdiv()
632 gen_helper_sdiv(t64, tcg_env, src1, src2); in gen_op_sdiv()
647 gen_helper_udiv(t64, tcg_env, src1, src2); in gen_op_udivcc()
672 gen_helper_sdiv(t64, tcg_env, src1, src2); in gen_op_sdivcc()
689 gen_helper_taddcctv(dst, tcg_env, src1, src2); in gen_op_taddcctv()
694 gen_helper_tsubcctv(dst, tcg_env, src1, src2); in gen_op_tsubcctv()
1051 gen_helper_raise_exception(tcg_env, tcg_constant_i32(which)); in gen_exception()
1299 tcg_gen_st_i32(tcg_constant_i32(0), tcg_env, in gen_op_clear_ieee_excp_and_FTT()
1362 gen_helper_fmadds(d, tcg_env, s1, s2, s3, z, z); in gen_op_fmadds()
1368 gen_helper_fmaddd(d, tcg_env, s1, s2, s3, z, z); in gen_op_fmaddd()
1375 gen_helper_fmadds(d, tcg_env, s1, s2, s3, z, op); in gen_op_fmsubs()
1382 gen_helper_fmaddd(d, tcg_env, s1, s2, s3, z, op); in gen_op_fmsubd()
1390 gen_helper_fmadds(d, tcg_env, s1, s2, s3, z, op); in gen_op_fnmsubs()
1398 gen_helper_fmaddd(d, tcg_env, s1, s2, s3, z, op); in gen_op_fnmsubd()
1405 gen_helper_fmadds(d, tcg_env, s1, s2, s3, z, op); in gen_op_fnmadds()
1412 gen_helper_fmaddd(d, tcg_env, s1, s2, s3, z, op); in gen_op_fnmaddd()
1421 gen_helper_fmadds(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fhadds()
1429 gen_helper_fmaddd(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fhaddd()
1438 gen_helper_fmadds(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fhsubs()
1446 gen_helper_fmaddd(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fhsubd()
1455 gen_helper_fmadds(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fnhadds()
1463 gen_helper_fmaddd(d, tcg_env, fone, s1, s2, mone, op); in gen_op_fnhaddd()
1473 tcg_gen_st_i32(tcg_constant_i32(ftt), tcg_env, in gen_op_fpexception_im()
1814 gen_helper_ld_code(t64, tcg_env, addr, tcg_constant_i32(oi)); in gen_ld_asi()
1829 gen_helper_ld_asi(dst, tcg_env, addr, r_asi, r_mop); in gen_ld_asi()
1833 gen_helper_ld_asi(t64, tcg_env, addr, r_asi, r_mop); in gen_ld_asi()
1905 gen_helper_st_asi(tcg_env, addr, src, r_asi, r_mop); in gen_st_asi()
1910 gen_helper_st_asi(tcg_env, addr, t64, r_asi, r_mop); in gen_st_asi()
1968 gen_helper_exit_atomic(tcg_env); in gen_ldstub_asi()
1976 gen_helper_ld_asi(t64, tcg_env, addr, r_asi, r_mop); in gen_ldstub_asi()
1979 gen_helper_st_asi(tcg_env, addr, s64, r_asi, r_mop); in gen_ldstub_asi()
2083 gen_helper_ld_asi(d64, tcg_env, addr, r_asi, r_mop); in gen_ldf_asi()
2090 gen_helper_ld_asi(d64, tcg_env, addr, r_asi, r_mop); in gen_ldf_asi()
2096 gen_helper_ld_asi(d64, tcg_env, addr, r_asi, r_mop); in gen_ldf_asi()
2099 gen_helper_ld_asi(l64, tcg_env, addr_tmp, r_asi, r_mop); in gen_ldf_asi()
2252 gen_helper_ld_code(tmp, tcg_env, addr, tcg_constant_i32(oi)); in gen_ldda_asi()
2277 gen_helper_ld_asi(tmp, tcg_env, addr, r_asi, r_mop); in gen_ldda_asi()
2378 gen_helper_st_asi(tcg_env, addr, t64, r_asi, r_mop); in gen_stda_asi()
2449 tcg_gen_ld_i32(r_tl, tcg_env, offsetof(CPUSPARCState, tl)); in gen_load_trap_state_at_tl()
2456 tcg_gen_addi_ptr(r_tsptr, tcg_env, offsetof(CPUSPARCState, ts)); in gen_load_trap_state_at_tl()
2788 gen_helper_raise_exception(tcg_env, trap); in do_tcc()
2878 gen_helper_rdasr17(dst, tcg_env); in do_rd_leon3_config()
2894 gen_helper_rdccr(dst, tcg_env); in do_rdccr()
2915 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_rdtick()
2919 gen_helper_tick_get_count(dst, tcg_env, r_tickptr, in do_rdtick()
2952 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(softint)); in do_rdsoftint()
2960 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(tick_cmpr)); in do_rdtick_cmpr()
2971 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(stick)); in do_rdstick()
2975 gen_helper_tick_get_count(dst, tcg_env, r_tickptr, in do_rdstick()
2985 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(stick_cmpr)); in do_rdstick_cmpr()
3006 gen_helper_rdpsr(dst, tcg_env); in do_rdpsr()
3014 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(hpstate)); in do_rdhpstate()
3025 tcg_gen_ld_i32(tl, tcg_env, env64_field_offsetof(tl)); in do_rdhtstate()
3029 tcg_gen_add_ptr(tp, tp, tcg_env); in do_rdhtstate()
3039 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(hintp)); in do_rdhintp()
3047 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(htba)); in do_rdhtba()
3055 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(hver)); in do_rdhver()
3063 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(hstick_cmpr)); in do_rdhstick_cmpr()
3072 tcg_gen_ld_tl(dst, tcg_env, env32_field_offsetof(wim)); in do_rdwim()
3149 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(pstate)); in do_rdpstate()
3157 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(tl)); in do_rdtl()
3165 tcg_gen_ld32s_tl(dst, tcg_env, env_field_offsetof(psrpil)); in do_rdpil()
3173 gen_helper_rdcwp(dst, tcg_env); in do_rdcwp()
3181 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(cansave)); in do_rdcansave()
3189 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(canrestore)); in do_rdcanrestore()
3198 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(cleanwin)); in do_rdcleanwin()
3206 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(otherwin)); in do_rdotherwin()
3214 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(wstate)); in do_rdwstate()
3222 tcg_gen_ld32s_tl(dst, tcg_env, env64_field_offsetof(gl)); in do_rdgl()
3231 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(ssr)); in do_rdssr()
3239 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(version)); in do_rdver()
3248 gen_helper_flushw(tcg_env); in trans_FLUSHW()
3295 gen_helper_wrccr(tcg_env, src); in TRANS()
3305 tcg_gen_st32_tl(tmp, tcg_env, env64_field_offsetof(asi)); in do_wrasi()
3346 gen_helper_set_softint(tcg_env, src); in do_wrsoftint_set()
3353 gen_helper_clear_softint(tcg_env, src); in do_wrsoftint_clr()
3360 gen_helper_write_softint(tcg_env, src); in do_wrsoftint()
3369 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(tick_cmpr)); in do_wrtick_cmpr()
3370 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_wrtick_cmpr()
3384 tcg_gen_ld_ptr(r_tickptr, tcg_env, offsetof(CPUSPARCState, stick)); in do_wrstick()
3400 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(stick_cmpr)); in do_wrstick_cmpr()
3401 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(stick)); in do_wrstick_cmpr()
3414 gen_helper_power_down(tcg_env); in do_wrpowerdown()
3432 gen_helper_wrpsr(tcg_env, src); in TRANS()
3444 tcg_gen_st_tl(tmp, tcg_env, env32_field_offsetof(wim)); in do_wrwim()
3509 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(tick)); in do_wrtick()
3531 gen_helper_wrpstate(tcg_env, src); in do_wrpstate()
3540 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(tl)); in do_wrtl()
3551 gen_helper_wrpil(tcg_env, src); in do_wrpil()
3558 gen_helper_wrcwp(tcg_env, src); in do_wrcwp()
3565 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(cansave)); in do_wrcansave()
3572 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(canrestore)); in do_wrcanrestore()
3579 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(cleanwin)); in do_wrcleanwin()
3586 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(otherwin)); in do_wrotherwin()
3593 tcg_gen_st32_tl(src, tcg_env, env64_field_offsetof(wstate)); in do_wrwstate()
3600 gen_helper_wrgl(tcg_env, src); in do_wrgl()
3608 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(ssr)); in TRANS()
3617 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(hpstate)); in TRANS()
3628 tcg_gen_ld_i32(tl, tcg_env, env64_field_offsetof(tl)); in TRANS()
3632 tcg_gen_add_ptr(tp, tp, tcg_env); in TRANS()
3641 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(hintp)); in TRANS()
3648 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(htba)); in TRANS()
3657 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(hstick_cmpr)); in TRANS()
3658 tcg_gen_ld_ptr(r_tickptr, tcg_env, env64_field_offsetof(hstick)); in TRANS()
3674 gen_helper_saved(tcg_env); in TRANS()
3676 gen_helper_restored(tcg_env); in TRANS()
4311 gen_helper_rett(tcg_env); in TRANS()
4322 gen_helper_restore(tcg_env); in do_return()
4336 gen_helper_save(tcg_env); in do_save()
4345 gen_helper_restore(tcg_env); in TRANS()
4361 gen_helper_done(tcg_env); in TRANS()
4363 gen_helper_retry(tcg_env); in TRANS()
4620 tcg_gen_ld_i64(fq, tcg_env, offsetof(CPUSPARCState, fq.d)); in TRANS()
4624 tcg_gen_st_i32(tcg_constant_i32(0), tcg_env, in TRANS()
4652 gen_helper_set_fsr_nofcc_noftt(tcg_env, tmp); in trans_LDFSR()
4682 gen_helper_set_fsr_nofcc(tcg_env, lo); in do_ldxfsr()
4684 gen_helper_set_fsr_nofcc_noftt(tcg_env, lo); in do_ldxfsr()
4709 gen_helper_get_fsr(fsr, tcg_env); in TRANS()
4792 func(tmp, tcg_env, tmp); in TRANS()
4813 func(dst, tcg_env, src); in TRANS()
4855 func(dst, tcg_env, src); in TRANS()
4895 func(dst, tcg_env, src); in TRANS()
4940 func(t, tcg_env, t); in do_env_qq()
4962 func(dst, tcg_env, src); in TRANS()
4985 func(dst, tcg_env, src); in TRANS()
5008 func(dst, tcg_env, src); in TRANS()
5028 func(dst, tcg_env, src); in TRANS()
5085 func(src1, tcg_env, src1, src2); in TRANS()
5295 func(dst, tcg_env, src1, src2); in TRANS()
5322 gen_helper_fsmuld(dst, tcg_env, src1, src2); in TRANS()
5341 gen_helper_fnsmuld(dst, tcg_env, src1, src2); in trans_FNsMULd()
5430 func(src1, tcg_env, src1, src2); in do_env_qqq()
5455 gen_helper_fdmulq(dst, tcg_env, src1, src2); in TRANS()
5542 gen_helper_fcmpes(cpu_fcc[a->cc], tcg_env, src1, src2); in do_fcmps()
5544 gen_helper_fcmps(cpu_fcc[a->cc], tcg_env, src1, src2); in do_fcmps()
5566 gen_helper_fcmped(cpu_fcc[a->cc], tcg_env, src1, src2); in TRANS()
5568 gen_helper_fcmpd(cpu_fcc[a->cc], tcg_env, src1, src2); in TRANS()
5593 gen_helper_fcmpeq(cpu_fcc[a->cc], tcg_env, src1, src2); in TRANS()
5595 gen_helper_fcmpq(cpu_fcc[a->cc], tcg_env, src1, src2); in TRANS()
5616 gen_helper_flcmps(cpu_fcc[a->cc], tcg_env, src1, src2); in TRANS()
5633 gen_helper_flcmpd(cpu_fcc[a->cc], tcg_env, src1, src2); in trans_FLCMPd()
5647 load(dst, tcg_env, offset(a->rs)); in do_movf2r()
5666 store(src, tcg_env, offset(a->rd)); in TRANS()
5825 gen_helper_raise_exception(tcg_env, e->excp); in sparc_tr_tb_stop()
5888 cpu_regwptr = tcg_global_mem_new_ptr(tcg_env, in sparc_tcg_init()
5893 *r32[i].ptr = tcg_global_mem_new_i32(tcg_env, r32[i].off, r32[i].name); in sparc_tcg_init()
5897 *rtl[i].ptr = tcg_global_mem_new(tcg_env, rtl[i].off, rtl[i].name); in sparc_tcg_init()
5902 cpu_regs[i] = tcg_global_mem_new(tcg_env, in sparc_tcg_init()