[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 20/30] PPC: Fix dcbz for linux-user on 970
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 20/30] PPC: Fix dcbz for linux-user on 970 |
Date: |
Fri, 26 Apr 2013 20:21:39 +0200 |
The default with linux-user for dcbz on 970 is to emulate 32 byte clears.
However, redoing the dcbzl support we added a check to not honor the bit
in HID5 that sets this.
Remove the #ifdef check on linux user, so that we get 32 byte clears again.
Reported-by: Riku Voipio <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/mem_helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-ppc/mem_helper.c b/target-ppc/mem_helper.c
index 9783e52..d8e63ca 100644
--- a/target-ppc/mem_helper.c
+++ b/target-ppc/mem_helper.c
@@ -140,7 +140,7 @@ void helper_dcbz(CPUPPCState *env, target_ulong addr,
uint32_t is_dcbzl)
{
int dcbz_size = env->dcache_line_size;
-#if !defined(CONFIG_USER_ONLY) && defined(TARGET_PPC64)
+#if defined(TARGET_PPC64)
if (!is_dcbzl &&
(env->excp_model == POWERPC_EXCP_970) &&
((env->spr[SPR_970_HID5] >> 7) & 0x3) == 1) {
--
1.6.0.2
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 05/30] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, (continued)
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 05/30] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Fabien Chouteau, 2013/04/29
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 05/30] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Andreas Färber, 2013/04/29
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 05/30] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450, Aurelien Jarno, 2013/04/29
- [Qemu-ppc] [PATCH] Fix PReP NIP reset value, Fabien Chouteau, 2013/04/30
- Re: [Qemu-ppc] [PATCH] Fix PReP NIP reset value, Alexander Graf, 2013/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH] Fix PReP NIP reset value, Fabien Chouteau, 2013/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH] Fix PReP NIP reset value, Alexander Graf, 2013/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH] Fix PReP NIP reset value, Fabien Chouteau, 2013/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH] Fix PReP NIP reset value, Alexander Graf, 2013/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH] Fix PReP NIP reset value, Hervé Poussineau, 2013/04/30
[Qemu-ppc] [PATCH 20/30] PPC: Fix dcbz for linux-user on 970,
Alexander Graf <=
[Qemu-ppc] [PATCH 22/30] disas: Disassemble all ppc insns for the guest, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 23/30] target-ppc: add instruction flags for Book I 2.05, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 29/30] target-ppc: emulate store doubleword pair instructions, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 24/30] target-ppc: emulate cmpb instruction, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 28/30] target-ppc: emulate load doubleword pair instructions, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 26/30] target-ppc: emulate fcpsgn instruction, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 25/30] target-ppc: emulate prtyw and prtyd instructions, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 21/30] target-ppc: optimize fabs, fnabs, fneg, Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 19/30] powerpc: correctly handle fpu exceptions., Alexander Graf, 2013/04/26
[Qemu-ppc] [PATCH 27/30] target-ppc: emulate lfiwax instruction, Alexander Graf, 2013/04/26