qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix type of spe_acc.


From: Nathan Froyd
Subject: [Qemu-devel] [PATCH] Fix type of spe_acc.
Date: Tue, 16 Dec 2008 12:32:42 -0800

ACC is a 64-bit register and needs to be specified as such regardless of
the target.

Signed-off-by: Nathan Froyd <address@hidden>
---
 target-ppc/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 5bfa4a0..113bba5 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -609,7 +609,7 @@ struct CPUPPCState {
     ppc_avr_t avr[32];
     uint32_t vscr;
     /* SPE registers */
-    target_ulong spe_acc;
+    uint64_t spe_acc;
     float_status spe_status;
     uint32_t spe_fscr;
 
-- 
1.6.0.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]