aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-06 11:57:46 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-05-06 11:57:46 +0100
commit03e2bfee371e89d0584ee5fd17437ba00bfb94b4 (patch)
tree45182a54ee7ce51a500b9a2dbe3612ee4ddc75d5
parentcf972928fc1f8d5f6ecaacf5ef354cbe52d79a90 (diff)
parent214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2 (diff)
Merge remote-tracking branch 'remotes/rth/tgt-axp' into staging
* remotes/rth/tgt-axp: target-alpha: Fix RDUSP Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target-alpha/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index d0357ff114..91c3ed1dd4 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -1201,7 +1201,7 @@ static ExitStatus gen_call_pal(DisasContext *ctx, int palcode)
break;
case 0x3A:
/* RDUSP */
- tcg_gen_st_i64(cpu_ir[IR_V0], cpu_env,
+ tcg_gen_ld_i64(cpu_ir[IR_V0], cpu_env,
offsetof(CPUAlphaState, usp));
break;
case 0x3C: