提交 81822c2f 编写于 作者: R Richard Henderson

target-s390: Fix STURA

We were storing 16 bits instead of 32.
Signed-off-by: NRichard Henderson <rth@twiddle.net>
上级 7f745b31
......@@ -1039,7 +1039,7 @@ void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1)
{
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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册