mirror of https://github.com/proxmox/mirror_qemu
target/mips: Remove pointless gen_msa()
Only trans_MSA() calls gen_msa(), inline it to simplify. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210617174636.2902654-2-f4bug@amsat.org>master
parent
0610677293
commit
525ea877b2
|
@ -2162,7 +2162,7 @@ static void gen_msa_vec(DisasContext *ctx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_msa(DisasContext *ctx)
|
static bool trans_MSA(DisasContext *ctx, arg_MSA *a)
|
||||||
{
|
{
|
||||||
uint32_t opcode = ctx->opcode;
|
uint32_t opcode = ctx->opcode;
|
||||||
|
|
||||||
|
@ -2258,11 +2258,6 @@ static void gen_msa(DisasContext *ctx)
|
||||||
gen_reserved_instruction(ctx);
|
gen_reserved_instruction(ctx);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static bool trans_MSA(DisasContext *ctx, arg_MSA *a)
|
|
||||||
{
|
|
||||||
gen_msa(ctx);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue