Project

General

Profile

Actions

Emulator Issues #13374

open

JIT: paired singles instructions execute even when HID2.PSE is 0

Added by Rairii 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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

load_store_paired.diff (1.71 KB) load_store_paired.diff Rairii, 10/11/2023 08:18 PM
Actions

Also available in: Atom PDF