Commit 94ced0753493b1732a212f2435ff6ca776468c10
1 parent
6f27aba6
Fix bug in Sparc32 sta op (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3399 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-sparc/op_helper.c
@@ -618,7 +618,7 @@ void helper_st_asi(int asi, int size) | @@ -618,7 +618,7 @@ void helper_st_asi(int asi, int size) | ||
618 | stl_phys((target_phys_addr_t)(T0 & ~3) | 618 | stl_phys((target_phys_addr_t)(T0 & ~3) |
619 | | ((target_phys_addr_t)(asi & 0xf) << 32), T1); | 619 | | ((target_phys_addr_t)(asi & 0xf) << 32), T1); |
620 | stl_phys((target_phys_addr_t)((T0 + 4) & ~3) | 620 | stl_phys((target_phys_addr_t)((T0 + 4) & ~3) |
621 | - | ((target_phys_addr_t)(asi & 0xf) << 32), T1); | 621 | + | ((target_phys_addr_t)(asi & 0xf) << 32), T2); |
622 | break; | 622 | break; |
623 | } | 623 | } |
624 | } | 624 | } |