Recompile a bound x64 object-table callback on Windows #32

Merged
R0Y00 merged 1 commit from upstream-pr/32 into main 2026-11-21 11:08:49 +00:00
R0Y00 commented 2026-11-21 11:07:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T11:07:00Z.


Fixes #29.

The chained x64 translator can now lower a memory-indirect call through a known object-table slot. The fixture declares a two-word Windows callback ABI. The host binds the table and function address for each run. Unknown bindings return status 0 with the output untouched.

The new Windows differential test swaps two providers between table slots and compares callback identity, both arguments, the full return value and output guards. It also checks both null paths and four unresolved bindings. The production FidelityFX callback ABI remains unknown.

Verified locally with cmake --build --preset dev and ctest --preset dev --no-tests=error --output-on-failure. Of 60 tests, 58 passed and two wave64 capability tests skipped. The existing partial profile still reports one indirect stop and two completed return paths for the local loader.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6527995931 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/32). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T11:07:00Z. --- Fixes #29. The chained x64 translator can now lower a memory-indirect call through a known object-table slot. The fixture declares a two-word Windows callback ABI. The host binds the table and function address for each run. Unknown bindings return status 0 with the output untouched. The new Windows differential test swaps two providers between table slots and compares callback identity, both arguments, the full return value and output guards. It also checks both null paths and four unresolved bindings. The production FidelityFX callback ABI remains unknown. Verified locally with `cmake --build --preset dev` and `ctest --preset dev --no-tests=error --output-on-failure`. Of 60 tests, 58 passed and two wave64 capability tests skipped. The existing partial profile still reports one indirect stop and two completed return paths for the local loader.
upstream-sync closed this pull request 2026-11-24 06:41: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!32
No description provided.