target-s390: Fix STURA
We were storing 16 bits instead of 32. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
7f745b31b3
commit
81822c2f42
|
@ -1039,7 +1039,7 @@ void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1)
|
||||||
{
|
{
|
||||||
CPUState *cs = CPU(s390_env_get_cpu(env));
|
CPUState *cs = CPU(s390_env_get_cpu(env));
|
||||||
|
|
||||||
stw_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
|
stl_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* load real address */
|
/* load real address */
|
||||||
|
|
Loading…
Reference in a new issue