]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Simplify Loongson MULTU.G opcode
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 20:06:57 +0000 (22:06 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 3 Nov 2024 08:49:12 +0000 (05:49 -0300)
commit127da643c4bd84131bcc79169561848d9de80377
tree2c4baa1ede1d109a6fdd80e97aedea616024766e
parent1b63c0b7a5879f7bbea4740697932706446b1ad9
target/mips: Simplify Loongson MULTU.G opcode

Since MULTU opcodes don't record the most significant bits
of the infinite result, sign-extending the sources make no
difference in the result.

Once we remove the sign extension of source registers, MULT
and MULTU are identical (as are DMULT and DMULTU).

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241026175349.84523-3-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/mips/tcg/translate.c