Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unittests/ASM: Adds unittest found from Ender Lilies that crashed wit…
…h NZCV SHA instructions are very large right now and cause register spilling due to their codegen. Ender Lilies has a really large block in a function called `sha1_block_data_order` that was causing FEX to spill NZCV flags incorrectly. The assumption which held true before NZCV optimizations were a thing was that all flags were either 1-bit in an 8-bit container, or just 8-bit (x87 TOP flag). NZCV host flags broke this assumption by making its flags 32-bit which ended up breaking when encounting spilling situations.