summaryrefslogtreecommitdiffstats
path: root/target/mips/tcg/rel6.decode
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-08-01 20:29:29 +0200
committerPhilippe Mathieu-Daudé2021-08-25 13:02:06 +0200
commit12f79f11731194d7cb61c4a0d9b2de5416a773de (patch)
treee561664e649be537783ca10bc571e0bab64cc8c3 /target/mips/tcg/rel6.decode
parenttarget/mips: Decode vendor extensions before MIPS ISAs (diff)
downloadqemu-12f79f11731194d7cb61c4a0d9b2de5416a773de.tar.gz
qemu-12f79f11731194d7cb61c4a0d9b2de5416a773de.tar.xz
qemu-12f79f11731194d7cb61c4a0d9b2de5416a773de.zip
target/mips: Merge 32-bit/64-bit Release6 decodetree definitions
We don't need to maintain 2 sets of decodetree definitions. Merge them into a single file. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210801234202.3167676-4-f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/rel6.decode')
-rw-r--r--target/mips/tcg/rel6.decode49
1 files changed, 49 insertions, 0 deletions
diff --git a/target/mips/tcg/rel6.decode b/target/mips/tcg/rel6.decode
new file mode 100644
index 0000000000..ed069c5166
--- /dev/null
+++ b/target/mips/tcg/rel6.decode
@@ -0,0 +1,49 @@
+# MIPS32 Release 6 instruction set
+#
+# Copyright (C) 2020 Philippe Mathieu-Daudé
+#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Reference:
+#
+# MIPS Architecture for Programmers Volume II-A
+# The MIPS32 Instruction Set Reference Manual, Revision 6.06
+# (Document Number: MD00086-2B-MIPS32BIS-AFP-06.06)
+#
+# MIPS Architecture for Programmers Volume II-A
+# The MIPS64 Instruction Set Reference Manual, Revision 6.06
+# (Document Number: MD00087-2B-MIPS64BIS-AFP-6.06)
+
+&rtype rs rt rd sa
+
+@lsa ...... rs:5 rt:5 rd:5 ... sa:2 ...... &rtype
+
+LSA 000000 ..... ..... ..... 000 .. 000101 @lsa
+DLSA 000000 ..... ..... ..... 000 .. 010101 @lsa
+
+REMOVED 010011 ----- ----- ----- ----- ------ # COP1X (COP3)
+
+REMOVED 011100 ----- ----- ----- ----- ------ # SPECIAL2
+
+REMOVED 011010 ----- ----- ---------------- # LDL
+REMOVED 011011 ----- ----- ---------------- # LDR
+
+REMOVED 011111 ----- ----- ---------- 011001 # LWLE
+REMOVED 011111 ----- ----- ---------- 011010 # LWRE
+REMOVED 011111 ----- ----- ---------- 100001 # SWLE
+REMOVED 011111 ----- ----- ---------- 100010 # SWRE
+
+REMOVED 100010 ----- ----- ---------------- # LWL
+REMOVED 100110 ----- ----- ---------------- # LWR
+REMOVED 101010 ----- ----- ---------------- # SWL
+REMOVED 101100 ----- ----- ---------------- # SDL
+REMOVED 101101 ----- ----- ---------------- # SDR
+REMOVED 101110 ----- ----- ---------------- # SWR
+
+REMOVED 101111 ----- ----- ---------------- # CACHE
+
+REMOVED 110000 ----- ----- ---------------- # LL
+REMOVED 110011 ----- ----- ---------------- # PREF
+REMOVED 110100 ----- ----- ---------------- # LLD
+REMOVED 111000 ----- ----- ---------------- # SC
+REMOVED 111100 ----- ----- ---------------- # SCD