]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
target-mips: Fix incorrect code and test for INSV
authorPetar Jovanovic <petarj@mips.com>
Mon, 26 Nov 2012 15:13:21 +0000 (16:13 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 14 Jan 2013 21:42:38 +0000 (15:42 -0600)
commit16c5fe49de2be4aedf8cce30df924a5aadd0d9a1
treef0952603193f7125864cd2c1d8f4a3f3bac84952
parentf1a2195ec327fd2b837a3539623ee431d133f03c
target-mips: Fix incorrect code and test for INSV

Content of register rs should be shifted for pos before applying a mask.
This change contains both fix for the instruction and to the existing test.

Signed-off-by: Petar Jovanovic <petarj@mips.com>
Reviewed-by: Eric Johnson <ericj@mips.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit 34f5606ee101f82a247d09d05644ad2a63c8e342)

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