summaryrefslogtreecommitdiffstats
path: root/target/mips
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-10-19 18:38:29 +0200
committerPhilippe Mathieu-Daudé2021-11-02 14:32:32 +0100
commit75d12c8c249c1791e4b24bfea0fba14d2ccd64ac (patch)
treeda3da5b18d0511d3c7c7aef32ef6134bc9f8ab11 /target/mips
parenttarget/mips: Convert CTCMSA opcode to decodetree (diff)
downloadqemu-75d12c8c249c1791e4b24bfea0fba14d2ccd64ac.tar.gz
qemu-75d12c8c249c1791e4b24bfea0fba14d2ccd64ac.tar.xz
qemu-75d12c8c249c1791e4b24bfea0fba14d2ccd64ac.zip
target/mips: Remove generic MSA opcode
All opcodes have been converted to decodetree. The generic MSA handler is now pointless, remove it. Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20211028210843.2120802-31-f4bug@amsat.org>
Diffstat (limited to 'target/mips')
-rw-r--r--target/mips/tcg/msa.decode2
-rw-r--r--target/mips/tcg/msa_translate.c7
2 files changed, 0 insertions, 9 deletions
diff --git a/target/mips/tcg/msa.decode b/target/mips/tcg/msa.decode
index a4c7cceb15..124768132b 100644
--- a/target/mips/tcg/msa.decode
+++ b/target/mips/tcg/msa.decode
@@ -257,6 +257,4 @@ BNZ 010001 111 .. ..... ................ @bz
LD 011110 .......... ..... ..... 1000 .. @ldst
ST 011110 .......... ..... ..... 1001 .. @ldst
-
- MSA 011110 --------------------------
}
diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c
index c054a05f8b..7576b3ed86 100644
--- a/target/mips/tcg/msa_translate.c
+++ b/target/mips/tcg/msa_translate.c
@@ -763,13 +763,6 @@ TRANS(FTINT_U, trans_msa_2rf, gen_helper_msa_ftint_u_df);
TRANS(FFINT_S, trans_msa_2rf, gen_helper_msa_ffint_s_df);
TRANS(FFINT_U, trans_msa_2rf, gen_helper_msa_ffint_u_df);
-static bool trans_MSA(DisasContext *ctx, arg_MSA *a)
-{
- gen_reserved_instruction(ctx);
-
- return true;
-}
-
static bool trans_msa_ldst(DisasContext *ctx, arg_msa_i *a,
gen_helper_piv *gen_msa_ldst)
{