提交 15180256 编写于 作者: D Dmitry Koshelev 提交者: Peter Maydell

target-arm/machine.c: Restore VFP registers correctly

Fix the restoring of VFP registers on vmload.
Signed-off-by: NDmitry Koshelev <karaghiozis@gmail.com>
Reviewed-by: NJuan Quintela <quintela@redhat.com>
[peter.maydell: improved commit message a little]
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 da97f52c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册