mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 13:00:41 +02:00
The segment prefix only overrides one side of the string instruction. Passing in the flags was causing the instruction to have the segment override on both sides of the copy. So something like `movsb es:[rdi], fs:[rsi]` was being interpreted as `movsb fs:[rdi], fs:[rsi]` Same for all the string ops which is now fixed. We can't unit test these currently since we can't set host segment register for confirmed host behaviour.