mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-29 09:26:56 +00:00
target/mips: fix delay slot detection in gen_msa_branch()
It is unnecessary to test R6 from delay/forbidden slot check in gen_msa_branch(). https://bugs.launchpad.net/qemu/+bug/1663287 Backports commit 075a1fe788d36b271ec25507466c30b9a90b5d54 from qemu
This commit is contained in:
parent
d17c07b548
commit
ce3aecf263
|
@ -18263,7 +18263,7 @@ static void gen_msa_branch(CPUMIPSState *env, DisasContext *ctx, uint32_t op1)
|
|||
|
||||
check_msa_access(ctx);
|
||||
|
||||
if (ctx->insn_flags & ISA_MIPS32R6 && ctx->hflags & MIPS_HFLAG_BMASK) {
|
||||
if (ctx->hflags & MIPS_HFLAG_BMASK) {
|
||||
generate_exception_end(ctx, EXCP_RI);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue