From 214bb280c6b2ccaa13c8fb6711cfdf78a6c57bc2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 2 May 2014 20:42:02 -0700 Subject: target-alpha: Fix RDUSP Commit 06ef8604e92964cbf30084b7d31091aa7cbbb62f contained a typo. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-alpha') 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: -- cgit v1.2.3