hikalium / liumos

A toy operating system which supports NVDIMM natively.
MIT License
270 stars 24 forks source link

Invalid Opcode Exception while running pi.bin (host: VirtualBox) #26

Open hikalium opened 4 years ago

hikalium commented 4 years ago

How to reproduce

run pi.bin some times.

sometimes pi.bin success, but sometimes fail.

スクリーンショット 2019-08-07 17 33 27
hikalium commented 4 years ago

__ieee754_rem_pio2 may causes this problem. Currently, we don't save/restore fpu context, so it may be needed fpu context saving to fix this.