Repository navigation
cpu: count reservednop in x64 form coverage - #3551
Merged
Merged
Conversation
case6 of startup_resource_retire_title releases the newer wrapper and calls settle() without waiting for the queues. Every release signals a release-time fence on each registered queue, and settle() only resubmits the drain list, so a fence that has not completed leaves both wrappers retained and the stage fails with retained=131072/2 against 65536/1. Sync the direct and gated queues before settle(), as R0Y00#3457 did for startup_resource_retire. The expectation is unchanged. Refs R0Y00#3507
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
reservednopis 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
main44a3ad5. #3542 fixes the pre-existingstartup_triage_runreason; until it lands, the Linux check here can fail on that unrelated test.AI-assisted.