SH4: convert some more arithmetics ops to TCG
[qemu] / target-sh4 / helper.h
1 #ifndef DEF_HELPER
2 #define DEF_HELPER(ret, name, params) ret name params;
3 #endif
4
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, (void))
10 DEF_HELPER(void, helper_trapa, (uint32_t))
11
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(void, helper_macl, (uint32_t, uint32_t))
18 DEF_HELPER(void, helper_macw, (uint32_t, uint32_t))