[5590] target-ppc: convert arithmetic functions to TCG
Revision: 5590
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5590 Author: aurel32 Date: 2008-11-01 00:54:12 +0000 (Sat, 01 Nov 2008)
Log Message:
-----------
target-ppc: convert arithmetic functions to TCG
Modified Paths:
--------------
trunk/target-ppc/helper.h
trunk/target-ppc/op.c
trunk/target-ppc/op_helper.c
trunk/target-ppc/op_helper.h
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/helper.h
===================================================================
target-ppc/helper.h +6 -0
@@ -8,6 +8,12 @@ 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))
Modified: trunk/target-ppc/op.c
===================================================================
target-ppc/op.c +0 -398
404 lines not on this page · raw message
Modified: trunk/target-ppc/op_helper.c
===================================================================
target-ppc/op_helper.c +13 -232
274 lines not on this page · raw message
Modified: trunk/target-ppc/op_helper.h
===================================================================
target-ppc/op_helper.h +0 -32
@@ -61,38 +61,6 @@target_ulong ppc_load_dump_spr (int sprn);void ppc_store_dump_spr (int sprn,target_ulong val); -/* Integer arithmetic helpers */ -void do_adde (void ); -void do_addmeo (void ); -void do_divwo (void ); -void do_divwuo (void ); -void do_mullwo (void ); -void do_nego (void ); -void do_subfe (void ); -void do_subfmeo (void ); -void do_subfzeo (void ); -void do_cntlzw (void ); -#if defined(TARGET_PPC64 ) -void do_cntlzd (void ); -#endif -void do_sraw (void ); -#if defined(TARGET_PPC64 ) -void do_adde_64 (void ); -void do_addmeo_64 (void ); -void do_divdo (void ); -void do_divduo (void ); -void do_mulldo (void ); -void do_nego_64 (void ); -void do_subfe_64 (void ); -void do_subfmeo_64 (void ); -void do_subfzeo_64 (void ); -void do_srad (void ); -#endif -void do_popcntb (void ); -#if defined(TARGET_PPC64 ) -void do_popcntb_64 (void ); -#endif -/* Floating-point arithmetic helpers */ void do_compute_fprf (int set_class);#ifdef CONFIG_SOFTFLOAT
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +522 -350
960 lines not on this page · raw message