mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
0610677293
commit
525ea877b2
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue