2016-01-23 02:28:17 +00:00
|
|
|
DEF_HELPER_4(uc_tracecode, void, i32, i32, ptr, i64)
|
2015-08-21 07:04:50 +00:00
|
|
|
|
|
|
|
DEF_HELPER_1(bitrev, i32, i32)
|
|
|
|
DEF_HELPER_1(ff1, i32, i32)
|
2018-02-27 14:27:47 +00:00
|
|
|
DEF_HELPER_FLAGS_2(sats, TCG_CALL_NO_RWG_SE, i32, i32, i32)
|
2018-03-01 16:37:55 +00:00
|
|
|
DEF_HELPER_3(divuw, void, env, int, i32)
|
|
|
|
DEF_HELPER_3(divsw, void, env, int, s32)
|
|
|
|
DEF_HELPER_4(divul, void, env, int, int, i32)
|
|
|
|
DEF_HELPER_4(divsl, void, env, int, int, s32)
|
|
|
|
DEF_HELPER_4(divull, void, env, int, int, i32)
|
|
|
|
DEF_HELPER_4(divsll, void, env, int, int, s32)
|
2015-08-21 07:04:50 +00:00
|
|
|
DEF_HELPER_2(set_sr, void, env, i32)
|
|
|
|
DEF_HELPER_3(movec, void, env, i32, i32)
|
2018-03-01 16:55:03 +00:00
|
|
|
DEF_HELPER_4(cas2w, void, env, i32, i32, i32)
|
|
|
|
DEF_HELPER_4(cas2l, void, env, i32, i32, i32)
|
2015-08-21 07:04:50 +00:00
|
|
|
|
2018-03-03 23:57:34 +00:00
|
|
|
#define dh_alias_fp ptr
|
|
|
|
#define dh_ctype_fp FPReg *
|
|
|
|
#define dh_is_signed_fp dh_is_signed_ptr
|
|
|
|
|
|
|
|
DEF_HELPER_3(exts32, void, env, fp, s32)
|
|
|
|
DEF_HELPER_3(extf32, void, env, fp, f32)
|
|
|
|
DEF_HELPER_3(extf64, void, env, fp, f64)
|
|
|
|
DEF_HELPER_2(redf32, f32, env, fp)
|
|
|
|
DEF_HELPER_2(redf64, f64, env, fp)
|
|
|
|
DEF_HELPER_2(reds32, s32, env, fp)
|
|
|
|
|
|
|
|
DEF_HELPER_3(firound, void, env, fp, fp)
|
|
|
|
DEF_HELPER_3(fitrunc, void, env, fp, fp)
|
|
|
|
DEF_HELPER_3(fsqrt, void, env, fp, fp)
|
|
|
|
DEF_HELPER_3(fabs, void, env, fp, fp)
|
|
|
|
DEF_HELPER_3(fchs, void, env, fp, fp)
|
|
|
|
DEF_HELPER_4(fadd, void, env, fp, fp, fp)
|
|
|
|
DEF_HELPER_4(fsub, void, env, fp, fp, fp)
|
|
|
|
DEF_HELPER_4(fmul, void, env, fp, fp, fp)
|
|
|
|
DEF_HELPER_4(fdiv, void, env, fp, fp, fp)
|
|
|
|
DEF_HELPER_4(fsub_cmp, void, env, fp, fp, fp)
|
|
|
|
DEF_HELPER_2(fcompare, i32, env, fp)
|
2015-08-21 07:04:50 +00:00
|
|
|
|
|
|
|
DEF_HELPER_3(mac_move, void, env, i32, i32)
|
|
|
|
DEF_HELPER_3(macmulf, i64, env, i32, i32)
|
|
|
|
DEF_HELPER_3(macmuls, i64, env, i32, i32)
|
|
|
|
DEF_HELPER_3(macmulu, i64, env, i32, i32)
|
|
|
|
DEF_HELPER_2(macsats, void, env, i32)
|
|
|
|
DEF_HELPER_2(macsatu, void, env, i32)
|
|
|
|
DEF_HELPER_2(macsatf, void, env, i32)
|
|
|
|
DEF_HELPER_2(mac_set_flags, void, env, i32)
|
|
|
|
DEF_HELPER_2(set_macsr, void, env, i32)
|
|
|
|
DEF_HELPER_2(get_macf, i32, env, i64)
|
|
|
|
DEF_HELPER_1(get_macs, i32, i64)
|
|
|
|
DEF_HELPER_1(get_macu, i32, i64)
|
|
|
|
DEF_HELPER_2(get_mac_extf, i32, env, i32)
|
|
|
|
DEF_HELPER_2(get_mac_exti, i32, env, i32)
|
|
|
|
DEF_HELPER_3(set_mac_extf, void, env, i32, i32)
|
|
|
|
DEF_HELPER_3(set_mac_exts, void, env, i32, i32)
|
|
|
|
DEF_HELPER_3(set_mac_extu, void, env, i32, i32)
|
|
|
|
|
2018-02-27 14:27:47 +00:00
|
|
|
DEF_HELPER_2(flush_flags, void, env, i32)
|
|
|
|
DEF_HELPER_2(set_ccr, void, env, i32)
|
|
|
|
DEF_HELPER_FLAGS_1(get_ccr, TCG_CALL_NO_WG_SE, i32, env)
|
2015-08-21 07:04:50 +00:00
|
|
|
DEF_HELPER_2(raise_exception, void, env, i32)
|
2018-03-02 00:01:11 +00:00
|
|
|
|
2018-03-02 00:10:53 +00:00
|
|
|
DEF_HELPER_FLAGS_3(bfffo_reg, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32)
|
|
|
|
|
2018-03-02 00:01:11 +00:00
|
|
|
DEF_HELPER_FLAGS_4(bfexts_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
|
|
|
|
DEF_HELPER_FLAGS_4(bfextu_mem, TCG_CALL_NO_WG, i64, env, i32, s32, i32)
|
|
|
|
DEF_HELPER_FLAGS_5(bfins_mem, TCG_CALL_NO_WG, i32, env, i32, i32, s32, i32)
|
|
|
|
DEF_HELPER_FLAGS_4(bfchg_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
|
|
|
|
DEF_HELPER_FLAGS_4(bfclr_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
|
|
|
|
DEF_HELPER_FLAGS_4(bfset_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
|
2018-03-02 00:10:53 +00:00
|
|
|
DEF_HELPER_FLAGS_4(bfffo_mem, TCG_CALL_NO_WG, i64, env, i32, s32, i32)
|
2018-03-02 00:01:11 +00:00
|
|
|
|