Switch a few helpers to TCG and implement RC and RS instructions Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5247 c046a42c-6fe2-441c-8c8c-71466251a162
35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
#ifndef DEF_HELPER
|
|
#define DEF_HELPER(ret, name, params) ret name params;
|
|
#endif
|
|
|
|
DEF_HELPER(void, helper_tb_flush, (void))
|
|
|
|
DEF_HELPER(void, helper_excp, (int, int))
|
|
DEF_HELPER(uint64_t, helper_amask, (uint64_t))
|
|
DEF_HELPER(uint64_t, helper_load_pcc, (void))
|
|
DEF_HELPER(uint64_t, helper_load_implver, (void))
|
|
DEF_HELPER(uint64_t, helper_rc, (void))
|
|
DEF_HELPER(uint64_t, helper_rs, (void))
|
|
|
|
DEF_HELPER(uint64_t, helper_ctpop, (uint64_t))
|
|
DEF_HELPER(uint64_t, helper_ctlz, (uint64_t))
|
|
DEF_HELPER(uint64_t, helper_cttz, (uint64_t))
|
|
|
|
DEF_HELPER(uint64_t, helper_mskbl, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_insbl, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_mskwl, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_inswl, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_mskll, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_insll, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_zap, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_zapnot, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_mskql, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_insql, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_mskwh, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_inswh, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_msklh, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_inslh, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_mskqh, (int64_t, uint64_t))
|
|
DEF_HELPER(uint64_t, helper_insqh, (int64_t, uint64_t))
|
|
|