liumos
liumos copied to clipboard
Invalid Opcode Exception while running pi.bin (host: VirtualBox)
How to reproduce
run pi.bin some times.
sometimes pi.bin success, but sometimes fail.
__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.