diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-27 19:30:56 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-27 19:30:56 +0000 |
commit | 01a4afeb99ff8d6174e1fdd726cb95017f5a9b07 (patch) | |
tree | a809633736db410350dbb27ab474dbc5d0f21436 /target-ppc/op_helper_mem.h | |
parent | 6a6ae23f3c7c80e66e8e900ed9820c7134997a36 (diff) |
target-ppc: convert POWER2 load/store instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5805 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper_mem.h')
-rw-r--r-- | target-ppc/op_helper_mem.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target-ppc/op_helper_mem.h b/target-ppc/op_helper_mem.h index c8ef7ce242..b896a29b92 100644 --- a/target-ppc/op_helper_mem.h +++ b/target-ppc/op_helper_mem.h @@ -309,48 +309,4 @@ void glue(do_POWER_lscbx, MEMSUFFIX) (int dest, int ra, int rb) T0 = i; } -/* XXX: TAGs are not managed */ -void glue(do_POWER2_lfq, MEMSUFFIX) (void) -{ - FT0 = glue(ldfq, MEMSUFFIX)((uint32_t)T0); - FT1 = glue(ldfq, MEMSUFFIX)((uint32_t)(T0 + 4)); -} - -static always_inline float64 glue(ldfqr, MEMSUFFIX) (target_ulong EA) -{ - CPU_DoubleU u; - - u.d = glue(ldfq, MEMSUFFIX)(EA); - u.ll = bswap64(u.ll); - - return u.d; -} - -void glue(do_POWER2_lfq_le, MEMSUFFIX) (void) -{ - FT0 = glue(ldfqr, MEMSUFFIX)((uint32_t)(T0 + 4)); - FT1 = glue(ldfqr, MEMSUFFIX)((uint32_t)T0); -} - -void glue(do_POWER2_stfq, MEMSUFFIX) (void) -{ - glue(stfq, MEMSUFFIX)((uint32_t)T0, FT0); - glue(stfq, MEMSUFFIX)((uint32_t)(T0 + 4), FT1); -} - -static always_inline void glue(stfqr, MEMSUFFIX) (target_ulong EA, float64 d) -{ - CPU_DoubleU u; - - u.d = d; - u.ll = bswap64(u.ll); - glue(stfq, MEMSUFFIX)(EA, u.d); -} - -void glue(do_POWER2_stfq_le, MEMSUFFIX) (void) -{ - glue(stfqr, MEMSUFFIX)((uint32_t)(T0 + 4), FT0); - glue(stfqr, MEMSUFFIX)((uint32_t)T0, FT1); -} - #undef MEMSUFFIX |