cpu: count reservednop in x64 form coverage #3553
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3553
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3551"
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?
@lambirou on GitHub · 2026-11-30 04:06 UTC · original
lambirou:cpu/reservednop-record→main· +92 −6 · 10 files · 4 commits · merged 2026-11-30 09:02 UTCreservednopis already lowered (#1547), but the x64 coverage table misses it:cpu_hint_nopexercises the exact encodings without writing a record, and there is no.asmfixture fortools/form_coverage.pyto associate with the test.This adds a record-only manifest
tests/cpu/hint_nop.asm(; coverage: record cpu_hint_nop), setsFORM_COVERAGE_RECORDoncpu_hint_nop, and writes the iced-decoded mnemonics after the test passes. CETendbr32/endbr64are outside the Zen 2 reference groups, so the record keeps only the forms the reference can match:nopandreservednop.Coverage
With a synthetic JUnit containing only
cpu_hint_noppass:reservednopInteger reservednopunobservednop,reservednop)The full-table delta is
+1(nopwas already brought byflag_conditions.asm), so the expected table becomes 919/948 with 29 gaps instead of 30. The full CPU suite was not rerun in this worktree.Tests
ctest --preset dev -R '^cpu_hint_nop$' -V-> pass; the record containsnopandreservednop.tests/cpu/hint_nop_check.pypasses with and withoutFORM_COVERAGE_RECORD: 13 accepted forms, 9 neighbours refused.tests/form_coverage_check.pypasses;docs_links_check.pycovers 181 Markdown files and 726 links.cpu_aot_amd_monitor_rdpruskips 77 on the Intel i5-12600KF; its static controls pass (6 sequences, 41 refusals, 579 Debug and /O2 controls, 6 mutants).Not measured: the full CPU suite and native MONITORX/MWAITX/RDPRU on an AMD host.
The branch is based on red
main44a3ad5a. #3544 fixes the pre-existingstartup_triage_runreason; until it lands, the Linux check here can fail on that unrelated test.AI-assisted.