]> git.proxmox.com Git - qemu.git/commit
target-mips: fix incorrect test for MTHLIP
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>
Wed, 23 Jan 2013 03:17:41 +0000 (04:17 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 31 Jan 2013 22:42:04 +0000 (23:42 +0100)
commite62a214cd49f836339fe3fd8126fc81d66c3c917
treec2e3b48670a05c0955a0d79205b99d90648fff61
parent6f0af30449b4780c65723d0d45d0f956af5e8c4e
target-mips: fix incorrect test for MTHLIP

The pos field in the DSPControl register is not correctly initialized.
Per documentation, the result of MTHLIP is unpredictable if the value of the
pos field before the execution is greater than 32.

Signed-off-by: Petar Jovanovic <petarj@mips.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tests/tcg/mips/mips32-dsp/mthlip.c