CRIS: Plug a few temp leaks.
[qemu/qemu-JZ.git] / target-ppc / helper.h
blob050fec52b0743819f1522fce1f713aff8460aeb4
1 #ifndef DEF_HELPER
2 #define DEF_HELPER(ret, name, params) ret name params;
3 #endif
5 DEF_HELPER(uint32_t, helper_fcmpo, (void))
6 DEF_HELPER(uint32_t, helper_fcmpu, (void))
8 DEF_HELPER(uint32_t, helper_load_cr, (void))
9 DEF_HELPER(void, helper_store_cr, (target_ulong, uint32_t))
11 DEF_HELPER(target_ulong, helper_cntlzw, (target_ulong t))
12 DEF_HELPER(target_ulong, helper_popcntb, (target_ulong val))
13 DEF_HELPER(target_ulong, helper_sraw, (target_ulong, target_ulong))
14 #if defined(TARGET_PPC64)
15 DEF_HELPER(target_ulong, helper_cntlzd, (target_ulong t))
16 DEF_HELPER(target_ulong, helper_popcntb_64, (target_ulong val))
17 DEF_HELPER(target_ulong, helper_srad, (target_ulong, target_ulong))
18 #endif