ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.92k stars 290 forks source link

[RV64] Added nan propagation emulation for interpreter and DynaRec #2091

Closed ksco closed 1 day ago

ksco commented 1 day ago

fixed #1971

ksco commented 1 day ago

Ah, this makes cosim unhappy, I'll add DynaRec support in this PR then.

ksco commented 1 day ago

This should be done for the SIMD instructions too, but it can be delayed to the point when we add fastnan emulation for 0F opcodes, I guess.

ptitSeb commented 1 day ago

tricky one. I guess the NAN_PROPAGATION macro will not work for AVX 3-operands type of opcodes. But that's for later.