Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5506 c046a42c-6fe2-441c-8c8c-71466251a162
20 lines
686 B
C
20 lines
686 B
C
#ifndef DEF_HELPER
|
|
#define DEF_HELPER(ret, name, params) ret name params;
|
|
#endif
|
|
|
|
DEF_HELPER(uint32_t, helper_fcmpo, (void))
|
|
DEF_HELPER(uint32_t, helper_fcmpu, (void))
|
|
|
|
DEF_HELPER(uint32_t, helper_load_cr, (void))
|
|
DEF_HELPER(void, helper_store_cr, (target_ulong, uint32_t))
|
|
|
|
DEF_HELPER(target_ulong, helper_cntlzw, (target_ulong t))
|
|
DEF_HELPER(target_ulong, helper_popcntb, (target_ulong val))
|
|
DEF_HELPER(target_ulong, helper_sraw, (target_ulong, target_ulong))
|
|
#if defined(TARGET_PPC64)
|
|
DEF_HELPER(target_ulong, helper_cntlzd, (target_ulong t))
|
|
DEF_HELPER(target_ulong, helper_popcntb_64, (target_ulong val))
|
|
DEF_HELPER(target_ulong, helper_srad, (target_ulong, target_ulong))
|
|
#endif
|
|
|