aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-29 20:12:16 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-06-24 16:48:08 +0200
commit525ea877b27d933eaac69b32c75b8861779811cf (patch)
treebc3928ed6fda12c9415832afd2269dd6933d77fe /target
parent06106772933bd215a797d28cdbff4aac5676b430 (diff)
downloadqemu-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.c7
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;
}