From 94ced0753493b1732a212f2435ff6ca776468c10 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 14 Oct 2007 20:27:00 +0000 Subject: [PATCH] Fix bug in Sparc32 sta op (Robert Reif) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3399 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 28c18b4036..da4c18d2d0 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -618,7 +618,7 @@ void helper_st_asi(int asi, int size) stl_phys((target_phys_addr_t)(T0 & ~3) | ((target_phys_addr_t)(asi & 0xf) << 32), T1); stl_phys((target_phys_addr_t)((T0 + 4) & ~3) - | ((target_phys_addr_t)(asi & 0xf) << 32), T1); + | ((target_phys_addr_t)(asi & 0xf) << 32), T2); break; } }