mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
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:
parent
6f0af30449
commit
e62a214cd4
@ -30,7 +30,7 @@ int main()
|
||||
assert(ach == resulth);
|
||||
assert(acl == resultl);
|
||||
|
||||
dsp = 0x3f;
|
||||
dsp = 0x1f;
|
||||
ach = 0x05;
|
||||
acl = 0xB4CB;
|
||||
rs = 0x00FFBBAA;
|
||||
|
Loading…
Reference in New Issue
Block a user