aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-14 20:27:00 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-14 20:27:00 +0000
commit94ced0753493b1732a212f2435ff6ca776468c10 (patch)
tree5d47645b1b8447125654ff4021f98d2168db01ef /target-sparc
parent6f27aba62e90b382d3d8e35e6d72046470c270a8 (diff)
Fix bug in Sparc32 sta op (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3399 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}