[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 31/33] target/mips: Remove generic MSA opcode
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 31/33] target/mips: Remove generic MSA opcode |
Date: |
Sat, 23 Oct 2021 23:48:01 +0200 |
All opcodes have been converted to decodetree. The generic
MSA handler is now pointless, remove it.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/mips/tcg/msa.decode | 2 --
target/mips/tcg/msa_translate.c | 7 -------
2 files changed, 9 deletions(-)
diff --git a/target/mips/tcg/msa.decode b/target/mips/tcg/msa.decode
index 52dac0fde6d..8189eae3499 100644
--- a/target/mips/tcg/msa.decode
+++ b/target/mips/tcg/msa.decode
@@ -245,6 +245,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 51af6f39cc4..5d8cad378e6 100644
--- a/target/mips/tcg/msa_translate.c
+++ b/target/mips/tcg/msa_translate.c
@@ -865,13 +865,6 @@ TRANS_MSA(BMNZ_V, trans_msa_vec, gen_helper_msa_bmnz_v);
TRANS_MSA(BMZ_V, trans_msa_vec, gen_helper_msa_bmz_v);
TRANS_MSA(BSEL_V, trans_msa_vec, gen_helper_msa_bsel_v);
-static bool trans_MSA(DisasContext *ctx, arg_MSA *a)
-{
- gen_reserved_instruction(ctx);
-
- return true;
-}
-
static bool trans_msa_ldst(DisasContext *ctx, arg_msa_ldst *a,
void (*gen_msa_b)(TCGv_ptr, TCGv_i32, TCGv),
void (*gen_msa_h)(TCGv_ptr, TCGv_i32, TCGv),
--
2.31.1
- [PATCH 26/33] target/mips: Convert MSA ELM instruction format to decodetree, (continued)
- [PATCH 26/33] target/mips: Convert MSA ELM instruction format to decodetree, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 27/33] target/mips: Convert MSA COPY_U opcode to decodetree, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 29/33] target/mips: Convert MSA MOVE.V opcode to decodetree, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 28/33] target/mips: Convert MSA COPY_S and INSERT opcodes to decodetree, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 30/33] target/mips: Convert CFCMSA and CTCMSA opcodes to decodetree, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 31/33] target/mips: Remove generic MSA opcode,
Philippe Mathieu-Daudé <=
- [PATCH 32/33] target/mips: Remove one MSA unnecessary decodetree overlap group, Philippe Mathieu-Daudé, 2021/10/23
- [PATCH 33/33] target/mips: Adjust style in msa_translate_init(), Philippe Mathieu-Daudé, 2021/10/23
- Re: [PATCH 00/33] target/mips: Fully convert MSA opcodes to decodetree, Jiaxun Yang, 2021/10/24