diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-29 20:12:16 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-24 16:48:08 +0200 |
commit | 525ea877b27d933eaac69b32c75b8861779811cf (patch) | |
tree | bc3928ed6fda12c9415832afd2269dd6933d77fe /target | |
parent | 06106772933bd215a797d28cdbff4aac5676b430 (diff) | |
download | qemu-525ea877b27d933eaac69b32c75b8861779811cf.zip qemu-525ea877b27d933eaac69b32c75b8861779811cf.tar.gz qemu-525ea877b27d933eaac69b32c75b8861779811cf.tar.bz2 |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/mips/tcg/msa_translate.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c index b0df4f8..9df4497 100644 --- a/target/mips/tcg/msa_translate.c +++ b/target/mips/tcg/msa_translate.c @@ -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; } |