From: Richard Henderson Date: Mon, 29 Mar 2010 17:48:14 +0000 (-0700) Subject: target-alpha: Update commentary for opcode 0x1A. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=49563a727494197ad87936bfd07841878878b650;p=qemu.git target-alpha: Update commentary for opcode 0x1A. Signed-off-by: Richard Henderson Signed-off-by: Aurelien Jarno --- diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2a9cee9c6b..4321a25eeb 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2531,13 +2531,16 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) break; #endif case 0x1A: - if (rb != 31) + /* JMP, JSR, RET, JSR_COROUTINE. These only differ by the branch + prediction stack action, which of course we don't implement. */ + if (rb != 31) { tcg_gen_andi_i64(cpu_pc, cpu_ir[rb], ~3); - else + } else { tcg_gen_movi_i64(cpu_pc, 0); - if (ra != 31) + } + if (ra != 31) { tcg_gen_movi_i64(cpu_ir[ra], ctx->pc); - /* Those four jumps only differ by the branch prediction hint */ + } ret = EXIT_PC_UPDATED; break; case 0x1B: