Re: [PATCH] target/mips: Simplify Loongson MULTU.G opcode

2023-08-31 Thread Richard Henderson
On 8/31/23 13:11, Philippe Mathieu-Daudé wrote: 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 DM

[PATCH] target/mips: Simplify Loongson MULTU.G opcode

2023-08-31 Thread Philippe Mathieu-Daudé
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 Signed-of