Skip to contentSkip to conversation

[5828] target-ppc: convert load/store string instructions to TCG

Qemu-devel Aurelien Jarno 1 participant 1 message Nov 30, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5828

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5828
Author:   aurel32
Date:     2008-11-30 16:24:21 +0000 (Sun, 30 Nov 2008)

Log Message:
-----------
target-ppc: convert load/store string instructions 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_helper_mem.h
trunk/target-ppc/op_mem.h
trunk/target-ppc/translate.c

Modified: trunk/target-ppc/helper.h
===================================================================

target-ppc/helper.h +3 -0
@@ -9,6 +9,9 @@
 
 DEF_HELPER_2(lmw, void, tl, i32)
 DEF_HELPER_2(stmw, void, tl, i32)
+DEF_HELPER_3(lsw, void, tl, i32, i32)
+DEF_HELPER_4(lswx, void, tl, i32, i32, i32)
+DEF_HELPER_3(stsw, void, tl, i32, i32)
 DEF_HELPER_1(dcbz, void, tl)
 DEF_HELPER_1(dcbz_970, void, tl)
 DEF_HELPER_1(icbi, void, tl)

Modified: trunk/target-ppc/op_helper.c
===================================================================

target-ppc/op_helper.c +93 -0

99 lines not on this page · raw message

Modified: trunk/target-ppc/op_helper.h
===================================================================

target-ppc/op_helper.h +0 -7
@@ -21,19 +21,12 @@
 #if defined(MEMSUFFIX)
 
 /* Memory load/store helpers */
-void glue(do_lsw, MEMSUFFIX) (int dst);
-void glue(do_stsw, MEMSUFFIX) (int src);
 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);
 
-#if defined(TARGET_PPC64)
-void glue(do_lsw_64, MEMSUFFIX) (int dst);
-void glue(do_stsw_64, MEMSUFFIX) (int src);
-#endif
-
 #else
 
 void do_print_mem_EA (target_ulong EA);

Modified: trunk/target-ppc/op_helper_mem.h
===================================================================

target-ppc/op_helper_mem.h +0 -72

78 lines not on this page · raw message

Modified: trunk/target-ppc/op_mem.h
===================================================================

target-ppc/op_mem.h +0 -68

74 lines not on this page · raw message

Modified: trunk/target-ppc/translate.c
===================================================================

target-ppc/translate.c +39 -56

137 lines not on this page · raw message