blob: 32c46381be9d655c4999a4b2405bb4bacbe28dcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
m68k: fpu: frestore with NULL state should reset FPU state
Description of problem:
According to the PRM:
```
Floating-Point Status Register: Cleared if the state size is NULL; otherwise, not affected.
```
But this does not currently happen.
Steps to reproduce:
1. set a value in fpsr
2. do frestore with state size zero
3. read back fpsr and notice it isn't zero.
|