mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 14:25:38 +00:00
121309a4d0
Separate all ccr bits. Continue to batch updates via cc_op. Signed-off-by: Richard Henderson <rth@twiddle.net> Fix gen_logic_cc() to really extend the size of the result. Fix gen_get_ccr(): update cc_op as it is used by the helper. Factorize flags computing and src/ccr cleanup Backports commit 620c6cf66584bfbee90db84a7e87a6eabf230ca9 from qemu
54 lines
2 KiB
C
54 lines
2 KiB
C
DEF_HELPER_4(uc_tracecode, void, i32, i32, ptr, i64)
|
|
|
|
DEF_HELPER_1(bitrev, i32, i32)
|
|
DEF_HELPER_1(ff1, i32, i32)
|
|
DEF_HELPER_FLAGS_2(sats, TCG_CALL_NO_RWG_SE, i32, i32, i32)
|
|
DEF_HELPER_2(divu, void, env, i32)
|
|
DEF_HELPER_2(divs, void, env, i32)
|
|
DEF_HELPER_3(addx_cc, i32, env, i32, i32)
|
|
DEF_HELPER_3(subx_cc, i32, env, i32, i32)
|
|
DEF_HELPER_3(shl_cc, i32, env, i32, i32)
|
|
DEF_HELPER_3(shr_cc, i32, env, i32, i32)
|
|
DEF_HELPER_3(sar_cc, i32, env, i32, i32)
|
|
DEF_HELPER_2(set_sr, void, env, i32)
|
|
DEF_HELPER_3(movec, void, env, i32, i32)
|
|
|
|
DEF_HELPER_2(f64_to_i32, f32, env, f64)
|
|
DEF_HELPER_2(f64_to_f32, f32, env, f64)
|
|
DEF_HELPER_2(i32_to_f64, f64, env, i32)
|
|
DEF_HELPER_2(f32_to_f64, f64, env, f32)
|
|
DEF_HELPER_2(iround_f64, f64, env, f64)
|
|
DEF_HELPER_2(itrunc_f64, f64, env, f64)
|
|
DEF_HELPER_2(sqrt_f64, f64, env, f64)
|
|
DEF_HELPER_1(abs_f64, f64, f64)
|
|
DEF_HELPER_1(chs_f64, f64, f64)
|
|
DEF_HELPER_3(add_f64, f64, env, f64, f64)
|
|
DEF_HELPER_3(sub_f64, f64, env, f64, f64)
|
|
DEF_HELPER_3(mul_f64, f64, env, f64, f64)
|
|
DEF_HELPER_3(div_f64, f64, env, f64, f64)
|
|
DEF_HELPER_3(sub_cmp_f64, f64, env, f64, f64)
|
|
DEF_HELPER_2(compare_f64, i32, env, f64)
|
|
|
|
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)
|
|
|
|
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)
|
|
DEF_HELPER_2(raise_exception, void, env, i32)
|