]> git.proxmox.com Git - qemu.git/commit
target-mips: fix incorrect behaviour for INSV
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Wed, 8 May 2013 11:17:40 +0000 (13:17 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 8 May 2013 16:46:38 +0000 (18:46 +0200)
commitc0f5f9ce86ddca0a7d7ca60012059a5a18aa9c07
treecef6856b1ab0a712df749604b1a1dc862564f549
parent639eadb9a32775e1c70bbf37d347972ca41128d1
target-mips: fix incorrect behaviour for INSV

Corner case for INSV instruction when size=32 has not been correctly
implemented. The mask for size should be one bit wider, and preparing the
filter variable should be aware of this case too.

The test for INSV has been extended to include the case that triggers the
bug.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/dsp_helper.c
tests/tcg/mips/mips32-dsp/insv.c