[4369] Convert some MIPS load/store instructions to TCG.
Revision: 4369
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4369 Author: ths Date: 2008-05-06 21:40:48 +0000 (Tue, 06 May 2008)
Log Message:
-----------
Convert some MIPS load/store instructions to TCG.
Modified Paths:
--------------
trunk/target-mips/op.c
trunk/target-mips/op_template.c
trunk/target-mips/translate.c
Modified: trunk/target-mips/op.c
===================================================================
target-mips/op.c +0 -24
@@ -247,30 +247,6 @@#include "fop_template.c" #undef FTN -void op_load_HI (void ) -{ -T0 = env->HI[env->current_tc][PARAM1 ]; -FORCE_RET (); -} - -void op_store_HI (void ) -{ - env->HI[env->current_tc][PARAM1 ] =T0 ; -FORCE_RET (); -} - -void op_load_LO (void ) -{ -T0 = env->LO[env->current_tc][PARAM1 ]; -FORCE_RET (); -} - -void op_store_LO (void ) -{ - env->LO[env->current_tc][PARAM1 ] =T0 ; -FORCE_RET (); -} -/* Load and store */ #define MEMSUFFIX _raw#include "op_mem.c"
Modified: trunk/target-mips/op_template.c
===================================================================
target-mips/op_template.c +0 -34
@@ -56,37 +56,3 @@ FORCE_RET(); }#endif - -#if defined (TN ) -#define SET_RESET (treg, tregname) \ - void glue(op_set, tregname)(void) \ - { \ - treg = (int32_t)PARAM1; \ - FORCE_RET(); \ - } \ - void glue(op_reset, tregname)(void) \ - { \ - treg = 0; \ - FORCE_RET(); \ - } \ - -SET_RESET(T0, _T0) -SET_RESET(T1, _T1) - -#undef SET_RESET - -#if defined(TARGET_MIPS64 ) -#define SET64 (treg, tregname) \ - void glue(op_set64, tregname)(void) \ - { \ - treg = ((uint64_t)PARAM1 << 32) | (uint32_t)PARAM2; \ - FORCE_RET(); \ - } - -SET64(T0, _T0) -SET64(T1, _T1) - -#undef SET64 - -#endif -#endif
Modified: trunk/target-mips/translate.c
===================================================================
target-mips/translate.c +175 -51
386 lines not on this page · raw message