target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 31 Aug 2023 20:12:33 +0000 (22:12 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 3 Nov 2024 08:52:49 +0000 (05:52 -0300)
commitad6e1f194f1a5ffd66490dcd987286634d1cf914
treec08f51699e8991740755e7bbce5347addadbb3c5
parent020cafa58e2b7e2f3687bfe31b141c7b87790791
target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree

Convert the following opcodes to decodetree:

- MULT.G - multiply 32-bit signed integers
- MULTU.G - multiply 32-bit unsigned integers
- DMULT.G - multiply 64-bit signed integers
- DMULTU.G - multiply 64-bit unsigned integers

Now that all opcodes from the extension have been converted, we
can remove completely gen_loongson_integer() and its 2 calls in
decode_opc_special2_legacy() and decode_opc_special3_legacy().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241026175349.84523-9-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/mips/tcg/godson2.decode
target/mips/tcg/loong-ext.decode
target/mips/tcg/loong_translate.c
target/mips/tcg/translate.c