[4533] Switch MIPS branch handling to TCG, and clean out pointless wrapper
Revision: 4533
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4533 Author: ths Date: 2008-05-22 17:46:10 +0000 (Thu, 22 May 2008)
Log Message:
-----------
Switch MIPS branch handling to TCG, and clean out pointless wrapper functions/macros.
Modified Paths:
--------------
trunk/target-mips/op.c
trunk/target-mips/translate.c
Modified: trunk/target-mips/op.c
===================================================================
target-mips/op.c +0 -56
@@ -479,48 +479,6 @@FORCE_RET (); } -/* Branches */ -/* Branch to register */ -void op_save_breg_target (void ) -{ - env->btarget =T1 ; -FORCE_RET (); -} - -void op_breg (void ) -{ - env->PC[env->current_tc] = env->btarget; -FORCE_RET (); -} - -void op_save_btarget (void ) -{ - env->btarget =PARAM1 ; -FORCE_RET (); -} - -#if defined(TARGET_MIPS64 ) -void op_save_btarget64 (void ) -{ - env->btarget = ((uint64_t )PARAM1 <<32 ) | (uint32_t )PARAM2 ; -FORCE_RET (); -} -#endif - -/* Conditional branch */ -void op_set_bcond (void ) -{ - env->bcond =T0 ; -FORCE_RET (); -} - -void op_jnz_bcond (void ) -{ -if (env->bcond) -GOTO_LABEL_PARAM (1 ); -FORCE_RET (); -} -/* CP0 functions */ void op_mfc0_index (void ) {
@@ -2564,20 +2522,6 @@FORCE_RET (); } -void op_save_pc (void ) -{ - env->PC[env->current_tc] =PARAM1 ; -FORCE_RET (); -} - -#if defined(TARGET_MIPS64 ) -void op_save_pc64 (void ) -{ - env->PC[env->current_tc] = ((uint64_t )PARAM1 <<32 ) | (uint32_t )PARAM2 ; -FORCE_RET (); -} -#endif -void op_wait (void ) { env->halted =1 ;
Modified: trunk/target-mips/translate.c
===================================================================
target-mips/translate.c +284 -392
1,314 lines not on this page · raw message