hikalium / liumos

A toy operating system which supports NVDIMM natively.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hikalium opened this issue · comments

How to reproduce

run pi.bin some times.

sometimes pi.bin success, but sometimes fail.

スクリーンショット 2019-08-07 17 33 27

__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.