aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op_mem.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-30 16:24:05 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-30 16:24:05 +0000
commit799a8c8d0a33ee8732407530f1a06a649be3b0bc (patch)
tree08d8b264dfe3c8ed9fe35c298b8c03a1e45946ea /target-ppc/op_mem.h
parentff4a62cd8100f373ce0195d5e888c191a1a07516 (diff)
target-ppc: convert dcbz instruction to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5826 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_mem.h')
-rw-r--r--target-ppc/op_mem.h162
1 files changed, 0 insertions, 162 deletions
diff --git a/target-ppc/op_mem.h b/target-ppc/op_mem.h
index 40120db8ba..6f9eb20548 100644
--- a/target-ppc/op_mem.h
+++ b/target-ppc/op_mem.h
@@ -314,168 +314,6 @@ void OPPROTO glue(op_stdcx_le_64, MEMSUFFIX) (void)
}
#endif
-void OPPROTO glue(op_dcbz_l32, MEMSUFFIX) (void)
-{
- T0 &= ~((uint32_t)31);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x1C), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz_l64, MEMSUFFIX) (void)
-{
- T0 &= ~((uint32_t)63);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x1C), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x20UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x24UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x28UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x2CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x30UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x34UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x38UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x3CUL), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz_l128, MEMSUFFIX) (void)
-{
- T0 &= ~((uint32_t)127);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x1C), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x20UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x24UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x28UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x2CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x30UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x34UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x38UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x3CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x40UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x44UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x48UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x4CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x50UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x54UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x58UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x5CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x60UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x64UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x68UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x6CUL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x70UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x74UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x78UL), 0);
- glue(st32, MEMSUFFIX)((uint32_t)(T0 + 0x7CUL), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz, MEMSUFFIX) (void)
-{
- glue(do_dcbz, MEMSUFFIX)();
- RETURN();
-}
-
-#if defined(TARGET_PPC64)
-void OPPROTO glue(op_dcbz_l32_64, MEMSUFFIX) (void)
-{
- T0 &= ~((uint64_t)31);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x1C), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz_l64_64, MEMSUFFIX) (void)
-{
- T0 &= ~((uint64_t)63);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x1C), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x20UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x24UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x28UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x2CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x30UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x34UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x38UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x3CUL), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz_l128_64, MEMSUFFIX) (void)
-{
- T0 &= ~((uint64_t)127);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x00), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x04), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x08), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x0C), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x10), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x14), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x18), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x1C), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x20UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x24UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x28UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x2CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x30UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x34UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x38UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x3CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x40UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x44UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x48UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x4CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x50UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x54UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x58UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x5CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x60UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x64UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x68UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x6CUL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x70UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x74UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x78UL), 0);
- glue(st32, MEMSUFFIX)((uint64_t)(T0 + 0x7CUL), 0);
- RETURN();
-}
-
-void OPPROTO glue(op_dcbz_64, MEMSUFFIX) (void)
-{
- glue(do_dcbz_64, MEMSUFFIX)();
- RETURN();
-}
-#endif
-
/* Instruction cache block invalidate */
void OPPROTO glue(op_icbi, MEMSUFFIX) (void)
{