[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 14/15] target/mips: Remove pointless gen_msa()
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 14/15] target/mips: Remove pointless gen_msa() |
Date: |
Fri, 25 Jun 2021 11:23:28 +0200 |
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>
---
target/mips/tcg/msa_translate.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c
index b0df4f85dfe..9df4497c886 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;
}
--
2.31.1
- [PULL 04/15] target/mips: Raise exception when DINSV opcode used with DSP disabled, (continued)
- [PULL 04/15] target/mips: Raise exception when DINSV opcode used with DSP disabled, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 05/15] target/mips: Do not abort on invalid instruction, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 06/15] target/mips: Move TCG trace events to tcg/ sub directory, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 07/15] target/mips: Move translate.h to tcg/ sub directory, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 08/15] target/mips: Restrict some system specific declarations to sysemu, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 09/15] target/mips: Remove SmartMIPS / MDMX unuseful comments, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 10/15] target/mips: Remove microMIPS BPOSGE32 / BPOSGE64 unuseful cases, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 11/15] target/mips: fix emulation of nanoMIPS BPOSGE32 instruction, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 12/15] target/mips: Constify host_to_mips_errno[], Philippe Mathieu-Daudé, 2021/06/25
- [PULL 13/15] target/mips: Optimize regnames[] arrays, Philippe Mathieu-Daudé, 2021/06/25
- [PULL 14/15] target/mips: Remove pointless gen_msa(),
Philippe Mathieu-Daudé <=
- [PULL 15/15] target/mips: Merge msa32/msa64 decodetree definitions, Philippe Mathieu-Daudé, 2021/06/25
- Re: [PULL 00/15] MIPS patches for 2021-06-25, Peter Maydell, 2021/06/28