]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/mips: use MUL instead of MULT on MIPS32 and above
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 19 Oct 2012 21:48:13 +0000 (23:48 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 29 Oct 2012 23:34:48 +0000 (00:34 +0100)
commit3585317f6fdff0e3ae082f88afb2784d815a07e2
tree3b67c9df344e044ae35fbdbdf693cd55c158e613
parentd26a8caea3f160782841efb87b5e8bea606b512b
tcg/mips: use MUL instead of MULT on MIPS32 and above

MIPS32 and later instruction sets have a multiplication instruction
directly operating on GPRs. It only produces a 32-bit result but
it is exactly what is needed by QEMU.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/mips/tcg-target.c