summaryrefslogtreecommitdiffstats
path: root/target-alpha
diff options
context:
space:
mode:
authorRichard Henderson2014-05-03 05:42:02 +0200
committerRichard Henderson2014-05-03 05:42:02 +0200
commit214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2 (patch)
treedc6aafca941415a6b3be5fee9fdc260944205e4a /target-alpha
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140501'... (diff)
downloadqemu-214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2.tar.gz
qemu-214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2.tar.xz
qemu-214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2.zip
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: