diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-24 19:05:35 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-24 19:05:35 +0000 |
commit | 61c0480722bd86380e396db537bd8fea403b37db (patch) | |
tree | 969e3d2e3775d886c21d053e5f2c8fb1cb1f9b67 /target-ppc/helper.h | |
parent | c0692e3c65ee4811390e22d2996f6d8b53fcd2c1 (diff) | |
download | qemu-61c0480722bd86380e396db537bd8fea403b37db.zip qemu-61c0480722bd86380e396db537bd8fea403b37db.tar.gz qemu-61c0480722bd86380e396db537bd8fea403b37db.tar.bz2 |
PPC: Switch a few instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5083 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h new file mode 100644 index 0000000..1d3078e --- /dev/null +++ b/target-ppc/helper.h @@ -0,0 +1,21 @@ +#ifndef DEF_HELPER +#define DEF_HELPER(ret, name, params) ret name params; +#endif + +DEF_HELPER(target_ulong, do_load_cr, (void)) +DEF_HELPER(void, do_print_mem_EA, (target_ulong)) +DEF_HELPER(void, do_store_cr, (uint32_t)) + +#if !defined (CONFIG_USER_ONLY) +DEF_HELPER(void, do_store_msr, (target_ulong)) +#if defined(TARGET_PPC64) +DEF_HELPER(void, do_store_msr_32, (target_ulong)) +#endif +#endif + +DEF_HELPER(target_ulong, do_popcntb, (target_ulong)) +#if defined(TARGET_PPC64) +DEF_HELPER(target_ulong, do_popcntb_64, (target_ulong)) +#endif + + |