]> git.proxmox.com Git - qemu.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)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 6 Dec 2012 07:10:50 +0000 (08:10 +0100)
commit34f5606ee101f82a247d09d05644ad2a63c8e342
treea7416f9afd7031e08289476bdcbcbaadb8ad318e
parent80625b97b52836b944a6438e8e3e9d992e6a00b6
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>
target-mips/dsp_helper.c
tests/tcg/mips/mips32-dsp/insv.c