mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-24 00:00:49 +02:00
Fixes #1217 Instead of throwing an error and closing down FEX. Instead pass the SIGILL to the guest application. On unhandled instruction implementation the instruction, we instead emit a _Break IR op at that location. A _Break IR op will ensure the context state is synchronized at the point of of the fault and has fairly low overhead. We branch to the dispatcher which does the SRA spilling. Tested this with an application that attempts an AVX512 instruction, catches the fault, and continues onward. With #1383 in place, we also won't pass spurious ERROR_AND_DIE to the guest anymore.