mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 06:00:15 +02:00
This handler was incorrectly using 256-bit IR operation sizes. Due to a quirk with our IR handling, this would "safely" fall back to a 128-bit operation and work "correctly". The problem encountered is that since the IR operation is claiming to be 256-bit, when the value got spilled due to register pressure then a true 256-bit store and load operation would be generated. This would then emit an SVE load and store, with the expectation of 256-bit SVE loadstores. This caused a SIGILL on Oryon since it doesn't support SVE, but even would generate an invalid predicated loadstore on SVE 128-bit hardware. Fixes Aperture Desk Job in FEX.