From 577d5e7fe24547864125fb107c8b8a779d621ed0 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 29 Mar 2009 00:13:47 +0000 Subject: target-alpha: Fix bug: do not mask address LSBs for ldwu. Signed-off-by: Tristan Gingold Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6923 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-alpha/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-alpha/translate.c') diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2501815c6e..b827ba2b94 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -753,7 +753,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) /* LDWU */ if (!(ctx->amask & AMASK_BWX)) goto invalid_opc; - gen_load_mem(ctx, &tcg_gen_qemu_ld16u, ra, rb, disp16, 0, 1); + gen_load_mem(ctx, &tcg_gen_qemu_ld16u, ra, rb, disp16, 0, 0); break; case 0x0D: /* STW */ -- cgit v1.2.3