target/mips/tx79: Move MFHI1 / MFLO1 opcodes to decodetree
commitffc672aa977131ccfccfd0c2aee2b004adb69ed5
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 14 Feb 2021 16:57:24 +0000 (14 17:57 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Mar 2021 22:43:07 +0000 (13 23:43 +0100)
tree3ac66a8b6d606d1599d9488dd9cb258456f2926c
parentc27b4579371e5d8eaed54182243ece54c752a4e5
target/mips/tx79: Move MFHI1 / MFLO1 opcodes to decodetree

Introduce decodetree structure to decode the tx79 opcodes.
Start it by moving the existing MFHI1 and MFLO1 opcodes.
Remove unnecessary comments.

As the TX79 share opcodes with the TX19/TX39/TX49 CPUs,
we introduce the decode_ext_txx9() dispatcher where we
will add the other decoders later.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210214175912.732946-9-f4bug@amsat.org>
target/mips/meson.build
target/mips/translate.c
target/mips/translate.h
target/mips/tx79.decode [new file with mode: 0644]
target/mips/tx79_translate.c [new file with mode: 0644]
target/mips/txx9_translate.c [new file with mode: 0644]