summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_m68k/host_missing/accel_missing/2507
blob: 948a843ed31979be2ff1c804a17dff528298282b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.