提交 49563a72 编写于 作者: R Richard Henderson 提交者: Aurelien Jarno

target-alpha: Update commentary for opcode 0x1A.

Signed-off-by: NRichard Henderson <rth@twiddle.net>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 4af70374
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册