[5829] target-ppc: convert lscbx instruction to TCG
Revision: 5829
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5829 Author: aurel32 Date: 2008-11-30 16:24:30 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
target-ppc: convert lscbx instruction to TCG
Modified Paths:
--------------
trunk/target-ppc/helper.h
trunk/target-ppc/op_helper.c
trunk/target-ppc/op_helper.h
trunk/target-ppc/op_mem.h
trunk/target-ppc/translate.c
Removed Paths:
-------------
trunk/target-ppc/op_helper_mem.h
Modified: trunk/target-ppc/helper.h
===================================================================
target-ppc/helper.h +2 -0
@@ -15,7 +15,9 @@ DEF_HELPER_1(dcbz, void, tl) DEF_HELPER_1(dcbz_970, void, tl) DEF_HELPER_1(icbi, void, tl) +DEF_HELPER_4(lscbx, tl, tl, i32, i32, i32) + DEF_HELPER_2(fcmpo, i32, i64, i64)DEF_HELPER_2 (fcmpu, i32, i64, i64)
Modified: trunk/target-ppc/op_helper.c
===================================================================
target-ppc/op_helper.c +39 -15
66 lines not on this page · raw message
Modified: trunk/target-ppc/op_helper.h
===================================================================
target-ppc/op_helper.h +0 -13
@@ -18,17 +18,6 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#if defined(MEMSUFFIX ) - -/* Memory load/store helpers */ -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 ); -void glue (do_POWER2_stfq ,MEMSUFFIX ) (void ); -void glue (do_POWER2_stfq_le ,MEMSUFFIX ) (void ); - -#else -void do_print_mem_EA (target_ulong EA );/* Registers load and stores */
@@ -94,5 +83,3 @@void do_load_403_pb (int num);void do_store_403_pb (int num);#endif - -#endif
Deleted: trunk/target-ppc/op_helper_mem.h
===================================================================
target-ppc/op_helper_mem.h +0 -50
50 lines not on this page · raw message
Modified: trunk/target-ppc/op_mem.h
===================================================================
target-ppc/op_mem.h +0 -11
@@ -303,15 +303,4 @@ }#endif -/* XXX: those micro-ops need tests ! */ -/* PowerPC 601 specific instructions (POWER bridge) */ -void OPPROTO glue(op_POWER_lscbx, MEMSUFFIX) (void) -{ -/* When byte count is 0, do nothing */ -if (likely (T1 !=0 )) { -glue (do_POWER_lscbx,MEMSUFFIX )(PARAM1 ,PARAM2 ,PARAM3 ); - } -RETURN (); -} -#undef MEMSUFFIX
Modified: trunk/target-ppc/translate.c
===================================================================
target-ppc/translate.c +12 -33
59 lines not on this page · raw message