mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #847] [MERGED] x64_recomp: decode opcode 0x90 forms (X64-RECOMP-PRIMARY-90) #885
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#885
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/847
Author: @KernelSmoker
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:kernelsmoker/x64-recomp-primary-90📝 Commits (1)
be7478fx64_recomp: decode opcode 0x90 forms📊 Changes
2 files changed (+22 additions, -1 deletions)
View changed files
📝
tests/test_x64_recomp.py(+13 -0)📝
tools/x64_recomp.py(+9 -1)📄 Description
Claimed in the coordination issue as: X64-RECOMP-PRIMARY-90 — https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134430737
What and why
Opcode
0x90was missing from the primary opcode table, so the decoder returnedop_90before its existing NOP/PAUSE/REX.B handling. Add the table entry and cover plain NOP,F3 90PAUSE, and41 90XCHG r8,RAX. The REX.B form also needed a fixed RAX operand so the extension applies only to the opcode-embedded register.Tested
python3 -I tests/test_x64_recomp.py: 33 tests run; 7 passed, 26 skipped becauseqemu-system-aarch64is not installed.python3 -I -m py_compile tools/x64_recomp.py tests/test_x64_recomp.py: passed.git diff --check: passed.GPUs tested: n/a (CPU-only decoder tests)
AI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.