mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 21:00:19 +02:00
If an application is doing long jumps on exceptions then we need to ensure that RIP is synchronized at least to block entry for some amount of safety. Due to our block linking which doesn't ensure that RIP is synchronized on block entry, our exception handling wouldn't see a RIP change, thus not going down the path that we jump to Dispatcher loop top on RIP change. Burn a couple of instructions on block entry to ensure that RIP synchronized but only on config.