mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 22:00:19 +02:00
Lots of instructions clobber NZCV inadvertently but are not intended to write to the host flags from the IR point-of-view. As an example, Abs logically has no side effects but physically clobbers NZCV due to its cmp/csneg impl on non-CSSC hw. Add infrastructure to model this in the IR so we can deal with it when we start using NZCV for things. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>