Repository navigation
test(agc): cover the jump target patches with and without a cache policy - #11686
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Windows 11 VM (GT 1030, NVIDIA 582.66, WinLibs GCC 15.2.0, Release, Ninja): this head AI-assisted: yes (Claude Code) |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Windows result for head Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, The tree also carried the open PRs #11724, #11644, #11639, #11636, #11635, #11630, #11353, #11347, #11221, #10925, #11706, #11693, #11682, all merged cleanly, so the run is a joint one; the tests of this PR are AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine. |
|
@maskym thanks for the Windows run. I've added it to Tested. AI-assisted: yes (Claude Code) |
|
Checked the expected words against |
What
tests/Commands.cppgets atestJumpTargetPatchcase aftertestMarkers, on a chained jump packet built withsceAgcDcbJump.sceAgcJumpPatchSetTarget_0300replaces the target address, the dword count and the cache policy (bits 28-29) and keeps the chain bit.sceAgcJumpPatchSetTargetreplaces the address and count and keeps the cache policy. A cache policy above 3, a misaligned target, a count of 0x100000 and a packet of another size are refused without changing the packet.It is called by PPSA18194, PPSA30839, PPSA31162, PPSA34502 and PPSA36591 (
sceAgcJumpPatchSetTarget_0300) (call sites found through the import's PLT stub in each title's relinkedeboot.bin), and until now no test called it.Changed:
core/libs/prx/libSceAgc/tests/Commands.cpp. Test only, no change to the library.Tested
Linux (Ubuntu 26.04, GCC 15.2), Release:
cmake --build build --target agc_command_testsandctest -R '^agc_commands$' --repeat until-fail:3pass on this branch, which is currentmainplus the test.tools/check_conventions.py --base upstream/mainpasses.Windows 11 (maskym's run, i7-12700K, WinLibs GCC 15.2, Release, Ninja):
agc_commandsandagc_register_command_testspass at headefb3edd0cemerged intomainf759e165d9, in a joint tree with other open PRs.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code