mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ int main()
|
|||
assert(ach == resulth);
|
||||
assert(acl == resultl);
|
||||
|
||||
dsp = 0x3f;
|
||||
dsp = 0x1f;
|
||||
ach = 0x05;
|
||||
acl = 0xB4CB;
|
||||
rs = 0x00FFBBAA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue