mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-24 22:15:07 +00:00
target-sparc: Fix obvious error in ASI_M_BFILL
Backports commit c095b83f9836cef80f64b32603fea240762a824b from qemu
This commit is contained in:
parent
eb285aa281
commit
950aa89c7a
|
@ -944,7 +944,7 @@ void helper_st_asi(CPUSPARCState *env, target_ulong addr, uint64_t val, int asi,
|
||||||
/* addr = dst
|
/* addr = dst
|
||||||
fill 32 bytes with val */
|
fill 32 bytes with val */
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
uint32_t dst = addr & 7;
|
uint32_t dst = addr & ~7;
|
||||||
|
|
||||||
for (i = 0; i < 32; i += 8, dst += 8) {
|
for (i = 0; i < 32; i += 8, dst += 8) {
|
||||||
cpu_stq_kernel(env, dst, val);
|
cpu_stq_kernel(env, dst, val);
|
||||||
|
|
Loading…
Reference in a new issue