From 81822c2f42e0c3d7bf36f6eec92941de33ed92b8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 20 Sep 2013 12:46:49 -0700 Subject: target-s390: Fix STURA We were storing 16 bits instead of 32. Signed-off-by: Richard Henderson --- target-s390x/mem_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-s390x') diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c index 5a55de8..4736b7b 100644 --- a/target-s390x/mem_helper.c +++ b/target-s390x/mem_helper.c @@ -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 */ -- cgit v1.1