aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Tarasenko <atar4qemu@gmail.com>2012-05-12 11:15:21 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-05-12 09:48:05 +0000
commit00b2ace50904068256239b0e2e5b680381aea262 (patch)
treec365cb734c43b2552f2ae0c47124564adf3c3be4
parent22036a49dd618051d932177b5d93daee746e5609 (diff)
fix block loads broken in commit 30038fd818
Fix UltraSPARC/JPS1/UA2007 VIS block load instructions broken in 30038fd81808f7c3bca92be2369e74c8ca7b3d69. Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com> [blauwirbel@gmail.com: trimmed unwanted part of patch] Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--target-sparc/ldst_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c
index 04ffddf3c0..efe5e704b5 100644
--- a/target-sparc/ldst_helper.c
+++ b/target-sparc/ldst_helper.c
@@ -2098,7 +2098,7 @@ void helper_ldf_asi(CPUSPARCState *env, target_ulong addr, int asi, int size,
return;
}
helper_check_align(env, addr, 0x3f);
- for (i = 0; i < 8; i++, rd += 2, addr += 4) {
+ for (i = 0; i < 8; i++, rd += 2, addr += 8) {
env->fpr[rd / 2].ll = helper_ld_asi(env, addr, asi & 0x19, 8, 0);
}
return;