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>
This commit is contained in:
Petar Jovanovic 2013-01-23 04:17:41 +01:00 committed by Aurelien Jarno
parent 6f0af30449
commit e62a214cd4
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ int main()
assert(ach == resulth);
assert(acl == resultl);
dsp = 0x3f;
dsp = 0x1f;
ach = 0x05;
acl = 0xB4CB;
rs = 0x00FFBBAA;