xref: /openbmc/qemu/target/sh4/helper.h (revision 2ba60ec1)
1 DEF_HELPER_1(ldtlb, void, env)
2 DEF_HELPER_1(raise_illegal_instruction, noreturn, env)
3 DEF_HELPER_1(raise_slot_illegal_instruction, noreturn, env)
4 DEF_HELPER_1(raise_fpu_disable, noreturn, env)
5 DEF_HELPER_1(raise_slot_fpu_disable, noreturn, env)
6 DEF_HELPER_1(debug, noreturn, env)
7 DEF_HELPER_1(sleep, noreturn, env)
8 DEF_HELPER_2(trapa, noreturn, env, i32)
9 DEF_HELPER_1(exclusive, noreturn, env)
10 
11 DEF_HELPER_3(movcal, void, env, i32, i32)
12 DEF_HELPER_1(discard_movcal_backup, void, env)
13 DEF_HELPER_2(ocbi, void, env, i32)
14 
15 DEF_HELPER_3(macl, void, env, i32, i32)
16 DEF_HELPER_3(macw, void, env, i32, i32)
17 
18 DEF_HELPER_2(ld_fpscr, void, env, i32)
19 
20 DEF_HELPER_FLAGS_3(fadd_FT, TCG_CALL_NO_WG, f32, env, f32, f32)
21 DEF_HELPER_FLAGS_3(fadd_DT, TCG_CALL_NO_WG, f64, env, f64, f64)
22 DEF_HELPER_FLAGS_2(fcnvsd_FT_DT, TCG_CALL_NO_WG, f64, env, f32)
23 DEF_HELPER_FLAGS_2(fcnvds_DT_FT, TCG_CALL_NO_WG, f32, env, f64)
24 
25 DEF_HELPER_FLAGS_3(fcmp_eq_FT, TCG_CALL_NO_WG, i32, env, f32, f32)
26 DEF_HELPER_FLAGS_3(fcmp_eq_DT, TCG_CALL_NO_WG, i32, env, f64, f64)
27 DEF_HELPER_FLAGS_3(fcmp_gt_FT, TCG_CALL_NO_WG, i32, env, f32, f32)
28 DEF_HELPER_FLAGS_3(fcmp_gt_DT, TCG_CALL_NO_WG, i32, env, f64, f64)
29 DEF_HELPER_FLAGS_3(fdiv_FT, TCG_CALL_NO_WG, f32, env, f32, f32)
30 DEF_HELPER_FLAGS_3(fdiv_DT, TCG_CALL_NO_WG, f64, env, f64, f64)
31 DEF_HELPER_FLAGS_2(float_FT, TCG_CALL_NO_WG, f32, env, i32)
32 DEF_HELPER_FLAGS_2(float_DT, TCG_CALL_NO_WG, f64, env, i32)
33 DEF_HELPER_FLAGS_4(fmac_FT, TCG_CALL_NO_WG, f32, env, f32, f32, f32)
34 DEF_HELPER_FLAGS_3(fmul_FT, TCG_CALL_NO_WG, f32, env, f32, f32)
35 DEF_HELPER_FLAGS_3(fmul_DT, TCG_CALL_NO_WG, f64, env, f64, f64)
36 DEF_HELPER_FLAGS_3(fsub_FT, TCG_CALL_NO_WG, f32, env, f32, f32)
37 DEF_HELPER_FLAGS_3(fsub_DT, TCG_CALL_NO_WG, f64, env, f64, f64)
38 DEF_HELPER_FLAGS_2(fsqrt_FT, TCG_CALL_NO_WG, f32, env, f32)
39 DEF_HELPER_FLAGS_2(fsqrt_DT, TCG_CALL_NO_WG, f64, env, f64)
40 DEF_HELPER_FLAGS_2(fsrra_FT, TCG_CALL_NO_WG, f32, env, f32)
41 DEF_HELPER_FLAGS_2(ftrc_FT, TCG_CALL_NO_WG, i32, env, f32)
42 DEF_HELPER_FLAGS_2(ftrc_DT, TCG_CALL_NO_WG, i32, env, f64)
43 DEF_HELPER_3(fipr, void, env, i32, i32)
44 DEF_HELPER_2(ftrv, void, env, i32)
45