mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 21:00:42 +02:00
If we are loading exactly the flags we need from the RFLAGS (ensuring we don't load the reserved flag in bit 1) then we don't need to do a mask on the result. Additionally there is some bad code-motion around selects that was causing SBFE operations to occur on constants. Ensure that we const-prop any SBFE operations to clean this up. This PR along with #2783 causes FMOV blow-up to go from 41 instruction to 31 instructions.