aboutsummaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-05-02 20:42:02 -0700
committerRichard Henderson <rth@twiddle.net>2014-05-02 20:42:02 -0700
commit214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2 (patch)
treedc6aafca941415a6b3be5fee9fdc260944205e4a /target-alpha
parentfdaad4715ae9e998fd0595bedfb16fdaf0c68ccc (diff)
downloadqemu-arm-214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2.tar.gz
target-alpha: Fix RDUSP
Commit 06ef8604e92964cbf30084b7d31091aa7cbbb62f contained a typo. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
-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: