* [Qemu-devel] [PATCH] [v2] target-arm/machine.c: Fix load of floating point registers
@ 2011-10-21 15:50 Dmitry Koshelev
0 siblings, 0 replies; only message in thread
From: Dmitry Koshelev @ 2011-10-21 15:50 UTC (permalink / raw)
To: qemu-devel, quintela, peter.maydell, paul
Fix load of floating point registers
Signed-off-by: Dmitry Koshelev <karaghiozis@gmail.com>
---
target-arm/machine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-arm/machine.c b/target-arm/machine.c
index 7d4fc54..aaee9b9 100644
--- a/target-arm/machine.c
+++ b/target-arm/machine.c
@@ -189,7 +189,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
env->vfp.vec_stride = qemu_get_be32(f);
if (arm_feature(env, ARM_FEATURE_VFP3)) {
- for (i = 0; i < 16; i++) {
+ for (i = 16; i < 32; i++) {
CPU_DoubleU u;
u.l.upper = qemu_get_be32(f);
u.l.lower = qemu_get_be32(f);
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-21 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 15:50 [Qemu-devel] [PATCH] [v2] target-arm/machine.c: Fix load of floating point registers Dmitry Koshelev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).