[4507] Switch MIPS clo/clz and the condition tests to TCG.
Revision: 4507
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4507 Author: ths Date: 2008-05-21 02:04:15 +0000 (Wed, 21 May 2008)
Log Message:
-----------
Switch MIPS clo/clz and the condition tests to TCG.
Modified Paths:
--------------
trunk/target-mips/helper.h
trunk/target-mips/op.c
trunk/target-mips/op_helper.c
trunk/target-mips/translate.c
Modified: trunk/target-mips/helper.h
===================================================================
target-mips/helper.h +5 -0
@@ -1,3 +1,8 @@void do_raise_exception_err (int excp,int err);void do_raise_exception (int excp);void do_interrupt_restart (void ); + +void do_clo (void ); +void do_clz (void ); +void do_dclo (void ); +void do_dclz (void );
Modified: trunk/target-mips/op.c
===================================================================
target-mips/op.c +0 -68
80 lines not on this page · raw message
Modified: trunk/target-mips/op_helper.c
===================================================================
target-mips/op_helper.c +10 -0
@@ -71,6 +71,16 @@ } } +void do_clo (void ) +{ +T0 =clo32 (T0 ); +} + +void do_clz (void ) +{ +T0 =clz32 (T0 ); +} +#if defined(TARGET_MIPS64 )#if TARGET_LONG_BITS >HOST_LONG_BITS /* Those might call libgcc functions. */
Modified: trunk/target-mips/translate.c
===================================================================
target-mips/translate.c +65 -6
102 lines not on this page · raw message