Emulator Issues #13374
openJIT: paired singles instructions execute even when HID2.PSE is 0
0%
Description
What's the problem? Describe what went wrong.
The AMD64 and ARM64 JITs will execute paired singles instructions, even when they are disabled in HID2.
What steps will reproduce the problem?
- disable HID2.PSE
- execute a paired single instruction using the JIT
- observe the instruction is executed, and no illegal instruction exception is thrown
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
5.0-20211
Is the issue present in the latest stable version?
present in the latest beta (5.0-19870)
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
It's for an older master (I cloned the repo a few days ago and only had time to do something today), but there's a diff attached that fixes the issue for paired single load/store instructions in the AMD64 JIT, which I don't think is entirely correct (Broadway UM does say psq_lux/psq_lx/psq_stux/psq_stx does not check HID2.LSQE), yet should be useful as a starting point.
Files