summaryrefslogtreecommitdiffstats
path: root/target/mips/tx79.decode
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-02-13 11:57:56 +0100
committerPhilippe Mathieu-Daudé2021-03-13 23:43:20 +0100
commit5a976c002518d46a030f125e2170d78204528497 (patch)
tree8c08d2f9658cca86be1b661815531394a878c72c /target/mips/tx79.decode
parenttarget/mips/translate: Simplify PCPYH using deposit_i64() (diff)
downloadqemu-5a976c002518d46a030f125e2170d78204528497.tar.gz
qemu-5a976c002518d46a030f125e2170d78204528497.tar.xz
qemu-5a976c002518d46a030f125e2170d78204528497.zip
target/mips/tx79: Move PCPYH opcode to decodetree
Move the existing PCPYH opcode (Parallel Copy Halfword) to decodetree. Remove unnecessary code / comments. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210214175912.732946-12-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tx79.decode')
-rw-r--r--target/mips/tx79.decode5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/mips/tx79.decode b/target/mips/tx79.decode
index 30737da54e..7af35458b0 100644
--- a/target/mips/tx79.decode
+++ b/target/mips/tx79.decode
@@ -17,6 +17,7 @@
# Named instruction formats. These are generally used to
# reduce the amount of duplication between instruction patterns.
+@rt_rd ...... ..... rt:5 rd:5 ..... ...... &rtype rs=0 sa=0
@rs ...... rs:5 ..... .......... ...... &rtype rt=0 rd=0 sa=0
@rd ...... .......... rd:5 ..... ...... &rtype rs=0 rt=0 sa=0
@@ -26,3 +27,7 @@ MFHI1 011100 0000000000 ..... 00000 010000 @rd
MTHI1 011100 ..... 0000000000 00000 010001 @rs
MFLO1 011100 0000000000 ..... 00000 010010 @rd
MTLO1 011100 ..... 0000000000 00000 010011 @rs
+
+# MMI3
+
+PCPYH 011100 00000 ..... ..... 11011 101001 @rt_rd