aboutsummaryrefslogtreecommitdiff
path: root/target/mips/tcg/msa32.decode
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-04-13 10:47:10 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 16:49:35 +0200
commita2b0a27d33e9b1079698cee04ff029a0555b5ea5 (patch)
tree25d812498da93beddf8910ce957141066ce30daa /target/mips/tcg/msa32.decode
parent5679479b9a1b0dd4772904c3af0d02bb3c9e635f (diff)
target/mips: Move TCG source files under tcg/ sub directory
To ease maintenance, move all TCG specific files under the tcg/ sub-directory. Adapt the Meson machinery. The following prototypes: - mips_tcg_init() - mips_cpu_do_unaligned_access() - mips_cpu_do_transaction_failed() can now be restricted to the "tcg-internal.h" header. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-29-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/msa32.decode')
-rw-r--r--target/mips/tcg/msa32.decode29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/mips/tcg/msa32.decode b/target/mips/tcg/msa32.decode
new file mode 100644
index 0000000000..ca200e373b
--- /dev/null
+++ b/target/mips/tcg/msa32.decode
@@ -0,0 +1,29 @@
+# MIPS SIMD Architecture Module instruction set
+#
+# Copyright (C) 2020 Philippe Mathieu-Daudé
+#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Reference:
+# MIPS Architecture for Programmers Volume IV-j
+# The MIPS32 SIMD Architecture Module, Revision 1.12
+# (Document Number: MD00866-2B-MSA32-AFP-01.12)
+#
+
+&rtype rs rt rd sa
+
+&msa_bz df wt s16
+
+@lsa ...... rs:5 rt:5 rd:5 ... sa:2 ...... &rtype
+@bz ...... ... .. wt:5 s16:16 &msa_bz df=3
+@bz_df ...... ... df:2 wt:5 s16:16 &msa_bz
+
+LSA 000000 ..... ..... ..... 000 .. 000101 @lsa
+
+BZ_V 010001 01011 ..... ................ @bz
+BNZ_V 010001 01111 ..... ................ @bz
+
+BZ_x 010001 110 .. ..... ................ @bz_df
+BNZ_x 010001 111 .. ..... ................ @bz_df
+
+MSA 011110 --------------------------