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:
Philippe Mathieu-Daudé 2021-05-29 20:12:16 +02:00
parent 0610677293
commit 525ea877b2

View File

@ -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;
@ -2258,11 +2258,6 @@ static void gen_msa(DisasContext *ctx)
gen_reserved_instruction(ctx);
break;
}
}
static bool trans_MSA(DisasContext *ctx, arg_MSA *a)
{
gen_msa(ctx);
return true;
}