aboutsummaryrefslogtreecommitdiffstats
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-01 00:54:12 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-01 00:54:12 +0000
commit74637406444c9276ecc26de970ff9018fbfc8735 (patch)
tree94eb01e5fed7c0e8b2a2ec8f0cabc56476169f99 /target-ppc/helper.h
parent8d71247eaad960d062d34c882e7af7391f74de81 (diff)
target-ppc: convert arithmetic functions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5590 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 050fec52b..05bfaa756 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -8,6 +8,12 @@ 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))
+#if defined(TARGET_PPC64)
+DEF_HELPER(uint64_t, helper_mulhd, (uint64_t, uint64_t))
+DEF_HELPER(uint64_t, helper_mulhdu, (uint64_t, uint64_t))
+DEF_HELPER(uint64_t, helper_mulldo, (uint64_t, uint64_t))
+#endif
+
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))