]> git.proxmox.com Git - qemu.git/commit
target-mips: fix incorrect behaviour for EXTP
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Mon, 13 May 2013 13:20:26 +0000 (15:20 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 17 May 2013 17:29:40 +0000 (19:29 +0200)
commit489ed4bbae309a6d897f6e037481c4c04f0737b5
tree11a8633a968a3a51c2611b64b1e99a703d74d6ca
parent91b96cdc5befe56e7d9651189d0cbf06fc3f3902
target-mips: fix incorrect behaviour for EXTP

The mask for EXTP instruction when size=31 has not been correctly
calculated.

The test (mips32-dsp/extp.c) has been extended to include the case that
triggers the issue.

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/extp.c