tooling: classify the address_size, call_pair and exe_start CPU fixtures #249

Merged
Spaghetih merged 1 commit from upstream-pr/252 into main 2026-11-21 19:55:54 +00:00
Spaghetih commented 2026-11-21 19:23:33 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Spaghetih on 2026-11-21T19:23:33Z.


Change

Independent problem: three CPU fixtures on main are missing from CPU_FIXTURES in tools/form_coverage.py, so the report lists them as unclassified and never counts them:

Fixture Added by Classification
address_size.asm #233 cpu_aot_address_size
call_pair.asm #223 cpu_aot_call_pair
exe_start.asm #238 None: mapped and run unchanged by pe_map (cpu_native_exe_start), like two_imports and the other route fixtures

The x64 total is unchanged at 40 of 948, because these fixtures use no mnemonic that another passing fixture does not already cover. The change makes the per-fixture status and the unclassified list correct.

Shared interface: the CPU_FIXTURES table. #227 also edits tools/form_coverage.py, but only the constants and functions below the table, so the two do not touch the same lines. My open #242 and #246 each add one fixture. I am adding their own classification lines at other positions in the table, so the three PRs merge in any order.

Verification

Commit on 23d954d. Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100, Python 3.14.6.

ctest --preset dev --no-tests=error --output-junit "$PWD\out\test-results.xml"
./out/pe-env/Scripts/python.exe -B tools/form_coverage.py out/test-results.xml --json out/coverage.json
./out/pe-env/Scripts/python.exe -B tests/form_coverage_check.py
  • ctest: 117 passed, 0 failed, 3 capability skips (bvh_wave64_hardware, bvh_wave64_warp, wave_shuffle_warp).
  • Before, on 23d954d: Not counted until classified in tools/form_coverage.py: address_size.asm, call_pair.asm, exe_start.asm.
  • After: no unclassified fixture. The JSON gives address_size.asm: pass, call_pair.asm: pass and exe_start.asm: not translated. x64 stays at 40 of 948 covered (41 appear in fixtures; 0 held back by skips).
  • form_coverage_check.py: form coverage checks passed.

Evidence and follow-up

There is no new fixture. The classification follows the CTest registrations in CMakeLists.txt: cpu_aot_address_size, cpu_aot_call_pair, and cpu_native_exe_start, which runs exe_start through pe_map without translation.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture. (No new fixture; the before/after report is the control.)
  • I updated README/docs when a capability or build requirement changed. (No capability change; totals are unchanged.)
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted (Claude Code). Every result above was run locally on the configuration listed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6533355925 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/252). Originally posted by [Spaghetih](https://github.com/Spaghetih) on 2026-11-21T19:23:33Z. --- ## Change Independent problem: three CPU fixtures on `main` are missing from `CPU_FIXTURES` in `tools/form_coverage.py`, so the report lists them as unclassified and never counts them: | Fixture | Added by | Classification | |---|---|---| | `address_size.asm` | #233 | `cpu_aot_address_size` | | `call_pair.asm` | #223 | `cpu_aot_call_pair` | | `exe_start.asm` | #238 | `None`: mapped and run unchanged by `pe_map` (`cpu_native_exe_start`), like `two_imports` and the other route fixtures | The x64 total is unchanged at 40 of 948, because these fixtures use no mnemonic that another passing fixture does not already cover. The change makes the per-fixture status and the unclassified list correct. Shared interface: the `CPU_FIXTURES` table. #227 also edits `tools/form_coverage.py`, but only the constants and functions below the table, so the two do not touch the same lines. My open #242 and #246 each add one fixture. I am adding their own classification lines at other positions in the table, so the three PRs merge in any order. ## Verification Commit on `23d954d`. Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100, Python 3.14.6. ```powershell ctest --preset dev --no-tests=error --output-junit "$PWD\out\test-results.xml" ./out/pe-env/Scripts/python.exe -B tools/form_coverage.py out/test-results.xml --json out/coverage.json ./out/pe-env/Scripts/python.exe -B tests/form_coverage_check.py ``` - `ctest`: 117 passed, 0 failed, 3 capability skips (`bvh_wave64_hardware`, `bvh_wave64_warp`, `wave_shuffle_warp`). - Before, on `23d954d`: `Not counted until classified in tools/form_coverage.py: address_size.asm, call_pair.asm, exe_start.asm`. - After: no unclassified fixture. The JSON gives `address_size.asm: pass`, `call_pair.asm: pass` and `exe_start.asm: not translated`. x64 stays at `40 of 948 covered (41 appear in fixtures; 0 held back by skips)`. - `form_coverage_check.py`: `form coverage checks passed`. ## Evidence and follow-up There is no new fixture. The classification follows the CTest registrations in `CMakeLists.txt`: `cpu_aot_address_size`, `cpu_aot_call_pair`, and `cpu_native_exe_start`, which runs `exe_start` through `pe_map` without translation. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. (No new fixture; the before/after report is the control.) - [x] I updated README/docs when a capability or build requirement changed. (No capability change; totals are unchanged.) - [x] I did not include game files, dumps, distribution links or secrets. _AI-assisted (Claude Code). Every result above was run locally on the configuration listed._
upstream-sync closed this pull request 2026-11-24 06:42:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!249
No description provided.