Lines Matching refs:tcg_env

72     QREG_##name = tcg_global_mem_new_i32(tcg_env, \  in m68k_tcg_init()
75 QREG_##name = tcg_global_mem_new_i64(tcg_env, \ in m68k_tcg_init()
81 cpu_halted = tcg_global_mem_new_i32(tcg_env, in m68k_tcg_init()
84 cpu_exception_index = tcg_global_mem_new_i32(tcg_env, in m68k_tcg_init()
92 cpu_dregs[i] = tcg_global_mem_new(tcg_env, in m68k_tcg_init()
96 cpu_aregs[i] = tcg_global_mem_new(tcg_env, in m68k_tcg_init()
102 cpu_macc[i] = tcg_global_mem_new_i64(tcg_env, in m68k_tcg_init()
107 NULL_QREG = tcg_global_mem_new(tcg_env, -4, "NULL"); in m68k_tcg_init()
108 store_dummy = tcg_global_mem_new(tcg_env, -8, "NULL"); in m68k_tcg_init()
266 gen_helper_raise_exception(tcg_env, tcg_constant_i32(nr)); in gen_raise_exception()
278 tcg_gen_st_i32(tcg_constant_i32(this_pc), tcg_env, in gen_raise_exception_format2()
592 gen_helper_flush_flags(tcg_env, QREG_CC_OP); in gen_flush_flags()
597 gen_helper_flush_flags(tcg_env, tcg_constant_i32(s->cc_op)); in gen_flush_flags()
911 tcg_gen_addi_ptr(fp, tcg_env, offsetof(CPUM68KState, fregs[freg])); in gen_fp_ptr()
918 tcg_gen_addi_ptr(fp, tcg_env, offsetof(CPUM68KState, fp_result)); in gen_fp_result_ptr()
949 gen_helper_exts32(tcg_env, fp, tmp); in gen_load_fp()
953 gen_helper_extf32(tcg_env, fp, tmp); in gen_load_fp()
957 gen_helper_extf64(tcg_env, fp, t64); in gen_load_fp()
995 gen_helper_reds32(tmp, tcg_env, fp); in gen_store_fp()
999 gen_helper_redf32(tmp, tcg_env, fp); in gen_store_fp()
1003 gen_helper_redf64(t64, tcg_env, fp); in gen_store_fp()
1055 gen_helper_reds32(reg, tcg_env, fp); in gen_ea_mode_fp()
1058 gen_helper_redf32(reg, tcg_env, fp); in gen_ea_mode_fp()
1070 gen_helper_exts32(tcg_env, fp, tmp); in gen_ea_mode_fp()
1073 gen_helper_extf32(tcg_env, fp, reg); in gen_ea_mode_fp()
1122 gen_helper_exts32(tcg_env, fp, tmp); in gen_ea_mode_fp()
1126 gen_helper_exts32(tcg_env, fp, tmp); in gen_ea_mode_fp()
1130 gen_helper_exts32(tcg_env, fp, tmp); in gen_ea_mode_fp()
1134 gen_helper_extf32(tcg_env, fp, tmp); in gen_ea_mode_fp()
1138 gen_helper_extf64(tcg_env, fp, t64); in gen_ea_mode_fp()
1540 gen_helper_divsw(tcg_env, destr, src, ilen); in DISAS_INSN()
1542 gen_helper_divuw(tcg_env, destr, src, ilen); in DISAS_INSN()
1571 gen_helper_divsll(tcg_env, num, reg, den, ilen); in DISAS_INSN()
1573 gen_helper_divull(tcg_env, num, reg, den, ilen); in DISAS_INSN()
1587 gen_helper_divsl(tcg_env, num, reg, den, ilen); in DISAS_INSN()
1589 gen_helper_divul(tcg_env, num, reg, den, ilen); in DISAS_INSN()
2150 gen_helper_get_ccr(dest, tcg_env); in gen_get_ccr()
2177 gen_helper_set_sr(tcg_env, tcg_constant_i32(val)); in gen_set_sr_im()
2185 gen_helper_set_ccr(tcg_env, val); in gen_set_sr()
2189 gen_helper_set_sr(tcg_env, val); in gen_set_sr()
2412 gen_helper_exit_atomic(tcg_env); in DISAS_INSN()
2418 gen_helper_cas2w(tcg_env, regs, addr1, addr2); in DISAS_INSN()
2466 gen_helper_cas2l_parallel(tcg_env, regs, addr1, addr2); in DISAS_INSN()
2468 gen_helper_cas2l(tcg_env, regs, addr1, addr2); in DISAS_INSN()
2866 gen_helper_reset(tcg_env); in DISAS_INSN()
4000 gen_helper_bfexts_mem(dest, tcg_env, addr, ofs, len); in DISAS_INSN()
4004 gen_helper_bfextu_mem(tmp, tcg_env, addr, ofs, len); in DISAS_INSN()
4122 gen_helper_bfchg_mem(QREG_CC_N, tcg_env, addr, ofs, len); in DISAS_INSN()
4125 gen_helper_bfclr_mem(QREG_CC_N, tcg_env, addr, ofs, len); in DISAS_INSN()
4129 gen_helper_bfffo_mem(t64, tcg_env, addr, ofs, len); in DISAS_INSN()
4133 gen_helper_bfset_mem(QREG_CC_N, tcg_env, addr, ofs, len); in DISAS_INSN()
4136 gen_helper_bfexts_mem(QREG_CC_N, tcg_env, addr, ofs, len); in DISAS_INSN()
4237 gen_helper_bfins_mem(QREG_CC_N, tcg_env, addr, src, ofs, len); in DISAS_INSN()
4272 gen_helper_chk(tcg_env, reg, src); in DISAS_INSN()
4317 gen_helper_chk2(tcg_env, reg, bound1, bound2); in DISAS_INSN()
4491 tcg_gen_ld_i32(AREG(insn, 0), tcg_env, in DISAS_INSN()
4501 tcg_gen_st_i32(AREG(insn, 0), tcg_env, in DISAS_INSN()
4561 gen_helper_cf_movec_to(tcg_env, tcg_constant_i32(ext & 0xfff), reg); in DISAS_INSN()
4584 gen_helper_m68k_movec_to(tcg_env, creg, reg); in DISAS_INSN()
4586 gen_helper_m68k_movec_from(reg, tcg_env, creg); in DISAS_INSN()
4638 gen_helper_pflush(tcg_env, AREG(insn, 0), opmode); in DISAS_INSN()
4650 gen_helper_ptest(tcg_env, AREG(insn, 0), is_read); in DISAS_INSN()
4736 gen_helper_get_fpsr(res, tcg_env); in gen_load_fcr()
4739 tcg_gen_ld_i32(res, tcg_env, offsetof(CPUM68KState, fpcr)); in gen_load_fcr()
4750 gen_helper_set_fpsr(tcg_env, val); in gen_store_fcr()
4753 gen_helper_set_fpcr(tcg_env, val); in gen_store_fcr()
4910 gen_helper_fmovemx_st_predec(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4912 gen_helper_fmovemd_st_predec(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4918 gen_helper_fmovemx_ld_postinc(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4920 gen_helper_fmovemx_st_postinc(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4924 gen_helper_fmovemd_ld_postinc(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4926 gen_helper_fmovemd_st_postinc(tmp, tcg_env, addr, tmp); in gen_op_fmovem()
4958 gen_helper_fconst(tcg_env, cpu_dest, rom_offset); in DISAS_INSN()
4969 gen_helper_ftst(tcg_env, cpu_src); in DISAS_INSN()
5003 gen_helper_fsround(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5006 gen_helper_fdround(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5009 gen_helper_firound(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5012 gen_helper_fsinh(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5015 gen_helper_fitrunc(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5018 gen_helper_fsqrt(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5021 gen_helper_fssqrt(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5024 gen_helper_fdsqrt(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5027 gen_helper_flognp1(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5030 gen_helper_fetoxm1(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5033 gen_helper_ftanh(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5036 gen_helper_fatan(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5039 gen_helper_fasin(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5042 gen_helper_fatanh(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5045 gen_helper_fsin(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5048 gen_helper_ftan(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5051 gen_helper_fetox(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5054 gen_helper_ftwotox(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5057 gen_helper_ftentox(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5060 gen_helper_flogn(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5063 gen_helper_flog10(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5066 gen_helper_flog2(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5069 gen_helper_fabs(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5072 gen_helper_fsabs(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5075 gen_helper_fdabs(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5078 gen_helper_fcosh(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5081 gen_helper_fneg(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5084 gen_helper_fsneg(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5087 gen_helper_fdneg(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5090 gen_helper_facos(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5093 gen_helper_fcos(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5096 gen_helper_fgetexp(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5099 gen_helper_fgetman(tcg_env, cpu_dest, cpu_src); in DISAS_INSN()
5102 gen_helper_fdiv(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5105 gen_helper_fsdiv(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5108 gen_helper_fddiv(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5111 gen_helper_fmod(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5114 gen_helper_fadd(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5117 gen_helper_fsadd(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5120 gen_helper_fdadd(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5123 gen_helper_fmul(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5126 gen_helper_fsmul(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5129 gen_helper_fdmul(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5132 gen_helper_fsgldiv(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5135 gen_helper_frem(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5138 gen_helper_fscale(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5141 gen_helper_fsglmul(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5144 gen_helper_fsub(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5147 gen_helper_fssub(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5150 gen_helper_fdsub(tcg_env, cpu_dest, cpu_src, cpu_dest); in DISAS_INSN()
5156 gen_helper_fsincos(tcg_env, cpu_dest, cpu_dest2, cpu_src); in DISAS_INSN()
5160 gen_helper_fcmp(tcg_env, cpu_src, cpu_dest); in DISAS_INSN()
5163 gen_helper_ftst(tcg_env, cpu_src); in DISAS_INSN()
5168 gen_helper_ftst(tcg_env, cpu_dest); in DISAS_INSN()
5491 gen_helper_macmulf(s->mactmp, tcg_env, rx, ry); in DISAS_INSN()
5494 gen_helper_macmuls(s->mactmp, tcg_env, rx, ry); in DISAS_INSN()
5496 gen_helper_macmulu(s->mactmp, tcg_env, rx, ry); in DISAS_INSN()
5532 gen_helper_macsatf(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5534 gen_helper_macsats(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5536 gen_helper_macsatu(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5564 gen_helper_macsatf(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5566 gen_helper_macsats(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5568 gen_helper_macsatu(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5575 gen_helper_mac_set_flags(tcg_env, tcg_constant_i32(acc)); in DISAS_INSN()
5605 gen_helper_get_macf(rx, tcg_env, acc); in DISAS_INSN()
5626 gen_helper_mac_move(tcg_env, dest, tcg_constant_i32(src)); in DISAS_INSN()
5628 gen_helper_mac_set_flags(tcg_env, dest); in DISAS_INSN()
5653 gen_helper_get_mac_extf(reg, tcg_env, acc); in DISAS_INSN()
5655 gen_helper_get_mac_exti(reg, tcg_env, acc); in DISAS_INSN()
5664 gen_helper_set_ccr(tcg_env, tmp); in DISAS_INSN()
5686 gen_helper_mac_set_flags(tcg_env, tcg_constant_i32(accnum)); in DISAS_INSN()
5693 gen_helper_set_macsr(tcg_env, val); in DISAS_INSN()
5711 gen_helper_set_mac_extf(tcg_env, val, acc); in DISAS_INSN()
5713 gen_helper_set_mac_exts(tcg_env, val, acc); in DISAS_INSN()
5715 gen_helper_set_mac_extu(tcg_env, val, acc); in DISAS_INSN()