[5116] SH4: convert some more arithmetics ops to TCG
Revision: 5116
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5116 Author: aurel32 Date: 2008-08-30 13:55:14 +0000 (Sat, 30 Aug 2008)
Log Message:
-----------
SH4: convert some more arithmetics ops to TCG
Modified Paths:
--------------
trunk/target-sh4/exec.h
trunk/target-sh4/helper.h
trunk/target-sh4/op.c
trunk/target-sh4/op_helper.c
trunk/target-sh4/translate.c
Modified: trunk/target-sh4/exec.h
===================================================================
target-sh4/exec.h +0 -11
@@ -71,23 +71,12 @@ int use_asid, int update);int find_utlb_entry (CPUState * env,target_ulong address,int use_asid); -void helper_addc_T0_T1 (void ); -void helper_addv_T0_T1 (void );void helper_div1_T0_T1 (void ); -void helper_dmulsl_T0_T1 (void ); -void helper_dmulul_T0_T1 (void ); -void helper_macl_T0_T1 (void ); -void helper_macw_T0_T1 (void ); -void helper_negc_T0 (void ); -void helper_subc_T0_T1 (void ); -void helper_subv_T0_T1 (void );void helper_rotcl (uint32_t * addr);void helper_rotcr (uint32_t * addr); -void helper_ldtlb (void );void do_interrupt (CPUState * env);void cpu_loop_exit (void ); -void do_raise_exception (void );#endif /* _EXEC_SH4_H */
Modified: trunk/target-sh4/helper.h
===================================================================
target-sh4/helper.h +8 -0
@@ -8,3 +8,11 @@ DEF_HELPER(void, helper_debug, (void)) DEF_HELPER(void, helper_sleep, (void)) DEF_HELPER(void, helper_trapa, (uint32_t)) + +DEF_HELPER(uint32_t, helper_addv, (uint32_t, uint32_t)) +DEF_HELPER(uint32_t, helper_addc, (uint32_t, uint32_t)) +DEF_HELPER(uint32_t, helper_subv, (uint32_t, uint32_t)) +DEF_HELPER(uint32_t, helper_subc, (uint32_t, uint32_t)) +DEF_HELPER(uint32_t, helper_negc, (uint32_t)) +DEF_HELPER(void, helper_macl, (uint32_t, uint32_t)) +DEF_HELPER(void, helper_macw, (uint32_t, uint32_t))
Modified: trunk/target-sh4/op.c
===================================================================
target-sh4/op.c +1 -92
117 lines not on this page · raw message
Modified: trunk/target-sh4/op_helper.c
===================================================================
target-sh4/op_helper.c +33 -46
173 lines not on this page · raw message
Modified: trunk/target-sh4/translate.c
===================================================================
target-sh4/translate.c +44 -44
146 lines not on this page · raw message