[5826] target-ppc: convert dcbz instruction to TCG
Revision: 5826
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5826 Author: aurel32 Date: 2008-11-30 16:24:05 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
target-ppc: convert dcbz instruction 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/op_helper_mem.h
trunk/target-ppc/op_mem.h
trunk/target-ppc/translate.c
Modified: trunk/target-ppc/helper.h
===================================================================
target-ppc/helper.h +2 -0
@@ -9,6 +9,8 @@ DEF_HELPER_2(lmw, void, tl, i32) DEF_HELPER_2(stmw, void, tl, i32) +DEF_HELPER_1(dcbz, void, tl) +DEF_HELPER_1(dcbz_970, void, tl) DEF_HELPER_2(fcmpo, i32, i64, i64)DEF_HELPER_2 (fcmpu, i32, i64, i64)
Modified: trunk/target-ppc/op.c
===================================================================
target-ppc/op.c +0 -17
@@ -273,23 +273,6 @@#include "op_mem.h" #endif -/* Special op to check and maybe clear reservation */ -void OPPROTO op_check_reservation (void) -{ -if ((uint32_t )env->reserve == (uint32_t )(T0 & ~0x00000003 )) - env->reserve = (target_ulong)-1ULL ; -RETURN (); -} - -#if defined(TARGET_PPC64 ) -void OPPROTO op_check_reservation_64 (void) -{ -if ((uint64_t )env->reserve == (uint64_t )(T0 & ~0x00000003 )) - env->reserve = (target_ulong)-1ULL ; -RETURN (); -} -#endif -/* Return from interrupt */ #if !defined(CONFIG_USER_ONLY ) void OPPROTO op_rfi (void)
Modified: trunk/target-ppc/op_helper.c
===================================================================
target-ppc/op_helper.c +40 -2
60 lines not on this page · raw message
Modified: trunk/target-ppc/op_helper.h
===================================================================
target-ppc/op_helper.h +0 -2
@@ -24,7 +24,6 @@void glue (do_lsw ,MEMSUFFIX ) (int dst);void glue (do_stsw ,MEMSUFFIX ) (int src);void glue (do_icbi ,MEMSUFFIX ) (void ); -void glue (do_dcbz ,MEMSUFFIX ) (void );void glue (do_POWER_lscbx ,MEMSUFFIX ) (int dest,int ra,int rb);void glue (do_POWER2_lfq ,MEMSUFFIX ) (void );void glue (do_POWER2_lfq_le ,MEMSUFFIX ) (void );
@@ -35,7 +34,6 @@void glue (do_lsw_64 ,MEMSUFFIX ) (int dst);void glue (do_stsw_64 ,MEMSUFFIX ) (int src);void glue (do_icbi_64 ,MEMSUFFIX ) (void ); -void glue (do_dcbz_64 ,MEMSUFFIX ) (void );#endif #else
Modified: trunk/target-ppc/op_helper_mem.h
===================================================================
target-ppc/op_helper_mem.h +0 -94
100 lines not on this page · raw message
Modified: trunk/target-ppc/op_mem.h
===================================================================
target-ppc/op_mem.h +0 -162
168 lines not on this page · raw message
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +13 -83
122 lines not on this page · raw message