Skip to content

Conversation

@abelstuker
Copy link
Contributor

This PR fixes #332.

The reinterpret instructions are covered by the i_instr_conversion function in instructions.cpp.
However, this function was never called by the interpreter for reinterpret instructions since its opcodes (0xbc ... 0xbf) were not included in the switch case range for the conversion instructions.
Therefore, the switch case range was extended to include the reinterpret instruction opcodes.

@abelstuker abelstuker force-pushed the fix/unreachable-reinterpret-instr branch from b76a6f8 to b1b6790 Compare November 22, 2025 10:23
@abelstuker abelstuker marked this pull request as ready for review November 28, 2025 21:06
@abelstuker abelstuker requested a review from tolauwae November 28, 2025 22:32
@tolauwae tolauwae enabled auto-merge (squash) December 2, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reinterpret instruction execution implemented but unreachable

3 participants