aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
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;
}
}