diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-21 11:31:27 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-21 11:31:27 +0000 |
commit | 26d6736245f313da32487688c9a171462ac7c6de (patch) | |
tree | 2d80ad3cf2b428ca86ff31a055d48890ebcf8258 /target-ppc/helper.h | |
parent | e1571908a28b1707f63392541be30990160af31c (diff) |
target-ppc: convert logical instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5506 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index c366b74f8c..050fec52b0 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -7,3 +7,13 @@ 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 + |