projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4dc005
)
target-sparc: Fix obvious error in ASI_M_BFILL
author
Richard Henderson
<rth@twiddle.net>
Thu, 3 Sep 2015 20:15:26 +0000
(13:15 -0700)
committer
Richard Henderson
<rth@twiddle.net>
Tue, 12 Jul 2016 18:02:37 +0000
(11:02 -0700)
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-sparc/ldst_helper.c
patch
|
blob
|
history
diff --git
a/target-sparc/ldst_helper.c
b/target-sparc/ldst_helper.c
index ba48687b19bfe2a481c907b29b3bcea7dd8fd72b..49082c5091b01f83bc024eba48d31e35d598a814 100644
(file)
--- a/
target-sparc/ldst_helper.c
+++ b/
target-sparc/ldst_helper.c
@@
-989,7
+989,7
@@
void helper_st_asi(CPUSPARCState *env, target_ulong addr, uint64_t val, int asi,
/* addr = dst
fill 32 bytes with val */
unsigned int i;
- uint32_t dst = addr & 7;
+ uint32_t dst = addr &
~
7;
for (i = 0; i < 32; i += 8, dst += 8) {
cpu_stq_kernel(env, dst, val);