]> git.proxmox.com Git - qemu.git/commit
target-mips: fix for sign-issue in MULQ_W helper
authorPetar Jovanovic <petarj@mips.com>
Thu, 7 Feb 2013 18:36:09 +0000 (19:36 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 4 Apr 2013 21:31:57 +0000 (16:31 -0500)
commitb09a67316484af24427a7174b65531e9c0b6e6b4
treef70664bd0955f84ba23c3329fad45190dcfa25bb
parent79a4dd4085fceaaf23b619e1e269478306226f16
target-mips: fix for sign-issue in MULQ_W helper

Correct sign-propagation before multiplication in MULQ_W helper.
The change also fixes previously incorrect expected values in the
tests for MULQ_RS.W and MULQ_S.W.

Signed-off-by: Petar Jovanovic <petarj@mips.com>
Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit a345481baa2b2fb3d54f8c9ddb58dfcaf75786df)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-mips/dsp_helper.c
tests/tcg/mips/mips32-dspr2/mulq_rs_w.c
tests/tcg/mips/mips32-dspr2/mulq_s_w.c