2 #define DEF_HELPER(ret, name, params) ret name params;
5 DEF_HELPER(void, helper_ldtlb
, (void))
6 DEF_HELPER(void, helper_raise_illegal_instruction
, (void))
7 DEF_HELPER(void, helper_raise_slot_illegal_instruction
, (void))
8 DEF_HELPER(void, helper_debug
, (void))
9 DEF_HELPER(void, helper_sleep
, (uint32_t))
10 DEF_HELPER(void, helper_trapa
, (uint32_t))
12 DEF_HELPER(uint32_t, helper_addv
, (uint32_t, uint32_t))
13 DEF_HELPER(uint32_t, helper_addc
, (uint32_t, uint32_t))
14 DEF_HELPER(uint32_t, helper_subv
, (uint32_t, uint32_t))
15 DEF_HELPER(uint32_t, helper_subc
, (uint32_t, uint32_t))
16 DEF_HELPER(uint32_t, helper_negc
, (uint32_t))
17 DEF_HELPER(uint32_t, helper_div1
, (uint32_t, uint32_t))
18 DEF_HELPER(void, helper_macl
, (uint32_t, uint32_t))
19 DEF_HELPER(void, helper_macw
, (uint32_t, uint32_t))
21 DEF_HELPER(void, helper_ld_fpscr
, (uint32_t))
23 DEF_HELPER(uint32_t, helper_fabs_FT
, (uint32_t))
24 DEF_HELPER(uint64_t, helper_fabs_DT
, (uint64_t))
25 DEF_HELPER(uint32_t, helper_fadd_FT
, (uint32_t, uint32_t))
26 DEF_HELPER(uint64_t, helper_fadd_DT
, (uint64_t, uint64_t))
27 DEF_HELPER(uint64_t, helper_fcnvsd_FT_DT
, (uint32_t))
28 DEF_HELPER(uint32_t, helper_fcnvds_DT_FT
, (uint64_t))
30 DEF_HELPER(void, helper_fcmp_eq_FT
, (uint32_t, uint32_t))
31 DEF_HELPER(void, helper_fcmp_eq_DT
, (uint64_t, uint64_t))
32 DEF_HELPER(void, helper_fcmp_gt_FT
, (uint32_t, uint32_t))
33 DEF_HELPER(void, helper_fcmp_gt_DT
, (uint64_t, uint64_t))
34 DEF_HELPER(uint32_t, helper_fdiv_FT
, (uint32_t, uint32_t))
35 DEF_HELPER(uint64_t, helper_fdiv_DT
, (uint64_t, uint64_t))
36 DEF_HELPER(uint32_t, helper_float_FT
, (uint32_t))
37 DEF_HELPER(uint64_t, helper_float_DT
, (uint32_t))
38 DEF_HELPER(uint32_t, helper_fmul_FT
, (uint32_t, uint32_t))
39 DEF_HELPER(uint64_t, helper_fmul_DT
, (uint64_t, uint64_t))
40 DEF_HELPER(uint32_t, helper_fneg_T
, (uint32_t))
41 DEF_HELPER(uint32_t, helper_fsub_FT
, (uint32_t, uint32_t))
42 DEF_HELPER(uint64_t, helper_fsub_DT
, (uint64_t, uint64_t))
43 DEF_HELPER(uint32_t, helper_fsqrt_FT
, (uint32_t))
44 DEF_HELPER(uint64_t, helper_fsqrt_DT
, (uint64_t))
45 DEF_HELPER(uint32_t, helper_ftrc_FT
, (uint32_t))
46 DEF_HELPER(uint32_t, helper_ftrc_DT
, (uint64_t))