cpu: verify the grouped Bink allocation descriptor builders #156
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/157"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T17:45:47Z.
Change
Trace the two Bink leaf functions that build the arrays consumed by the grouped allocator in #136. Initialization places two arrays after the header. Each append saves a destination, selects a padded stride, advances the byte total and increments the entry count.
Verification
At
dc08688on Windows x64, MSVC 19.44 and Python 3.12, both tests passed after buildingcpu_bink_descriptors_liftedandcpu_bink_package_descriptors:From the build directory the Python check also exited zero:
Before implementing the breakpoint binding the local translation stopped at the append helper's capacity check. With a full table, the desktop binding reports this stop and the full storage snapshot stays unchanged. A separate public-only configure and build passed
ctest --test-dir out/build/public --no-tests=error -R '^cpu_bink_descriptors$'.Evidence and follow-up
The public control is independently written MASM covered by the repository's MIT license. All inputs, destinations and buffers belong to the test. The optional local comparison uses a fingerprint-checked DLL and the same inputs. Insertion of five entries produced strides of 32, 64, 128, 1280 and 512 bytes. The test does not trace the producer of odd tagged entries. Experiment and build instructions.
Checklist
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T17:45:58Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
dc08688ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.