diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-30 16:23:56 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-30 16:23:56 +0000 |
commit | ff4a62cd8100f373ce0195d5e888c191a1a07516 (patch) | |
tree | de38d0dee486aa52e65a19af34a1b59f7eacc1fa /target-ppc/op_helper_mem.h | |
parent | 931ff2725866606d0c695576a9ec3b7808d82b24 (diff) |
target-ppc: convert load/store multiple instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5825 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper_mem.h')
-rw-r--r-- | target-ppc/op_helper_mem.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/target-ppc/op_helper_mem.h b/target-ppc/op_helper_mem.h index b896a29b92..cb61e96ec3 100644 --- a/target-ppc/op_helper_mem.h +++ b/target-ppc/op_helper_mem.h @@ -20,71 +20,6 @@ #include "op_mem_access.h" -/* Multiple word / string load and store */ -void glue(do_lmw, MEMSUFFIX) (int dst) -{ - for (; dst < 32; dst++, T0 += 4) { - env->gpr[dst] = glue(ldu32, MEMSUFFIX)((uint32_t)T0); - } -} - -#if defined(TARGET_PPC64) -void glue(do_lmw_64, MEMSUFFIX) (int dst) -{ - for (; dst < 32; dst++, T0 += 4) { - env->gpr[dst] = glue(ldu32, MEMSUFFIX)((uint64_t)T0); - } -} -#endif - -void glue(do_stmw, MEMSUFFIX) (int src) -{ - for (; src < 32; src++, T0 += 4) { - glue(st32, MEMSUFFIX)((uint32_t)T0, env->gpr[src]); - } -} - -#if defined(TARGET_PPC64) -void glue(do_stmw_64, MEMSUFFIX) (int src) -{ - for (; src < 32; src++, T0 += 4) { - glue(st32, MEMSUFFIX)((uint64_t)T0, env->gpr[src]); - } -} -#endif - -void glue(do_lmw_le, MEMSUFFIX) (int dst) -{ - for (; dst < 32; dst++, T0 += 4) { - env->gpr[dst] = glue(ldu32r, MEMSUFFIX)((uint32_t)T0); - } -} - -#if defined(TARGET_PPC64) -void glue(do_lmw_le_64, MEMSUFFIX) (int dst) -{ - for (; dst < 32; dst++, T0 += 4) { - env->gpr[dst] = glue(ldu32r, MEMSUFFIX)((uint64_t)T0); - } -} -#endif - -void glue(do_stmw_le, MEMSUFFIX) (int src) -{ - for (; src < 32; src++, T0 += 4) { - glue(st32r, MEMSUFFIX)((uint32_t)T0, env->gpr[src]); - } -} - -#if defined(TARGET_PPC64) -void glue(do_stmw_le_64, MEMSUFFIX) (int src) -{ - for (; src < 32; src++, T0 += 4) { - glue(st32r, MEMSUFFIX)((uint64_t)T0, env->gpr[src]); - } -} -#endif - void glue(do_lsw, MEMSUFFIX) (int dst) { uint32_t tmp; |