Skip to content

fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does - #11266

Merged
oneandonlydean merged 7 commits into
boykopovar:mainfrom
AlexFigas:fix/libc-exp2l-msun-ld80
Nov 13, 2026
Merged

oneandonlydean merged 7 commits into
boykopovar:mainfrom
AlexFigas:fix/libc-exp2l-msun-ld80

Conversation

@AlexFigas

@AlexFigas AlexFigas commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

What

exp2l called the host std::exp2, which differed from the console's result on 7,539,279 of 20 million random arguments, about 38%. This PR replaces it with FreeBSD msun's ld80 s_exp2l.c, the exp2l of the libc.prx that PPSA21564 bundles (0x46a50, the library's own code). The binary follows s_exp2l.c step by step:

  • Special exponents. An exponent of 0x7fff gives 0 for −∞ (sign set, mantissa 1 << 63) and x + x otherwise. From 0x400d, x ≥ 16384 returns +∞. x ≤ -16446 returns twom10000 * twom10000, with twom10000 read from .data at run time.
  • Near zero. At exponent 0x3fbd and below, the result is 1 + x.
  • Reduction. x + redux uses redux = 0x1.8p63/128 (the float 0x5bc00000). The low mantissa word plus 64 gives the 7-bit table index and k = (int)i0 >> 7. Then z = x - ((x + redux) - redux).
  • Result. r = t_lo + (t_hi + t_lo)*z*(P1 + z*(P2 + … + z*P6)) + t_hi, where t_hi/t_lo come from the 256-double tbl at 0x1622a0 and P1–P6 are doubles. It is scaled by 2^k, by r*2*2^16383 for k == 16384, or by 2^(k+10000) * twom10000 below k == -16381.

The table and coefficients are taken from the binary as exact hex-float literals. The table and P2–P6 are the s_exp2l.c values; P1 is not. The source has the long double P1 = LD80C(0xb17217f7d1cf79ac, -1, …), while the binary holds the double 0x1.62e42fefa39efp-1, and the port uses the binary's. Two behaviours follow the binary rather than the source's intent:

  • The overflow path returns a constant +∞. The compiler folded huge * huge, so FE_OVERFLOW is not raised.
  • No path sets errno.

x87 precision. s_exp2l.c wraps the computation in ENTERI()/RETURNI(), but those set the precision only on i386 and are empty on amd64 (math_private.h). The binary's exp2l accordingly has no instruction that reads or sets the x87 control word, so it computes at the caller's precision, as the port already did: it needed no change for 53 bits.

exp2l gets a debt entry like acosl's and atanl's. The remaining host-computed entry now records what I found in that binary: expl, logl, log10l, sinhl and coshl there are thin wrappers over Dinkumware's _LExp, _LLog, _LSinh and _LCosh, not msun code.

Licence. ld80/s_exp2l.c's notice is copied verbatim directly above its table, which moved next to exp2l so that one notice covers both, as Math.cpp already does for the msun code of sinh.

Tested

Head 1d907ed merges current main a221a74, which has #11262 (and #11260), into the approved branch without a conflict, so this PR is now only the exp2l commit. The PR's diff of Math.cpp, GuestMath.cpp and libc.md against main is line for line the same as 3d2cd44's against #11262's head 1dfac78.

  • Windows, this head. Windows 11, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r7), Release, BUILD_TESTING=ON, Ninja: guest_math, guest_math_elementary and guest_math_exact pass 3 runs each.
  • Conventions, this head. python3 tools/check_conventions.py --base origin/main passes, and git diff --check is clean.

The runs below are on Ubuntu 24.04 under WSL2 (GCC 13.3, Release), head 3d2cd44, which merges #11262's head 1dfac78 (with main 813f46c) into the previous head 4c1383e, without a conflict. 4c1383e had merged #11262's head 0ecffe5 (with main a4eca2a) into f8a43f4, without a conflict either. f8a43f4 had merged #11262's head 6479c72 (with main e0caf13) into 7116579:

  • This head's libc.prx. Against the binary, 5,000,000 arguments of every kind (overflow, the subnormal range, ±∞, NaNs and non-canonical encodings included) at each of 64, 53 and 24 bits, under each rounding mode, give the same result, NaN bits, errno and flags, and the control word is unchanged after every call (60,000,000 in all).
  • Native comparison (the port's code compiled into the harness, before this head). I used the harness from fix(libc): compute acosl with FreeBSD msun's ld80 code as the bundled libc.prx does #11260, this time also mapping the .data segment, because twom10000 lives there. It ran 20,000,000 random arguments of either sign with magnitudes from 2^-79 to 2^15, weighted towards the overflow and denormal ranges, plus the exponent edges 0x3fbc–0x3fbe, 0x3ffe–0x4000, 0x400b–0x400e, 0x7ffe and 0x7fff. The port gives the same 80 bits as that binary on all of them (0 mismatches) at each of 64-, 53- and 24-bit precision (control words 0x37f, 0x27f and 0x07f). wachi35676 found that swapping only P1 for the source's long double changes 1,442,132 of 10,000,000 random results, so this run is also what shows the binary's P1 is the double.
  • guest_math passes (3 runs). It gains CheckExp2l, 24 known-answer pairs from that binary. They cover ±0, the 1 + x cutoff, both table halves, 2^16383.99…, overflow, the subnormal tail down to 0, ±∞, NaN, and four arguments the host gets wrong, for example 0xf30567547a34c162:3ffe → 0xf728f2c7a229ee69:3fff where the host gives …67. Nine arguments, including exp2l(0.75), π, 2^16383.99… and a subnormal result, also run at 53 bits through fix(libc): compute acosl with FreeBSD msun's ld80 code as the bundled libc.prx does #11260's ExtendedBitsAt53Bits; each must give the binary's 53-bit result and leave the control word unchanged. At 53 bits the reduction is coarser and the binary's results move far from the 64-bit ones (exp2l(0.75) is 0xd744ea8956fc0000:3fff instead of 0xd744fccad69d6af4:3fff), which the port reproduces. The existing exp2l checks still pass.
  • Conventions. python3 tools/check_conventions.py --base origin/main passes, and git diff --check is clean.
  • Overlap. On 1d907ed, python3 tools/pr_overlap.py --branch fix/libc-exp2l-msun-ld80 reports only fix(libc): compute logl, log10l and log2l with _LLog #18110 (opened on November 10, after this PR), which replaces the host logl and log10l lines next to the exp2l line this PR replaces in Math.cpp and edits the same host-computed entry in libc.md (L89). The two do not change the same functions; whichever lands second keeps the other's lines. This PR was opened and approved first, so I have not added a dependency. oberonlift's feat(libc): keep the guest's x87 long double exactly in lifted builds #15802 stack has been closed. The other pull requests the tool could not compare conflict with main already.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none (fix(libc): compute atanl with FreeBSD msun's ld80 code as the bundled libc.prx does #11262 has merged)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@MarcZX10 MarcZX10 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation follows the cited s_exp2l.c reduction and polynomial, but it omits the source's ENTERI()/RETURNI() floating-point environment scope around the computation. In FreeBSD's ld80 implementation those macros ensure the calculation runs with the expected x87 precision control and restores the caller's state. This matters here: the repository's libc debt entry documents that guest threads can enter with 53-bit x87 precision (0x27f), while the algorithm needs 64-bit precision for its advertised bit-for-bit match; inputs such as exp2l(0.75) can therefore diverge even though the reported native comparison ran under the harness's default environment. The new CheckExp2l cases do not set a non-default control word or verify it is restored. Please add a scoped precision-control implementation with a regression test that runs representative cases under 53-bit precision and checks the original control word is restored, or document evidence that all callers are guaranteed 64-bit precision. The hosted checks are passing, but the macOS relinker, Windows relinker and macOS Intel write-watch jobs are still pending; Linux and Windows product jobs are skipped. I have not independently run the author's local comparison.

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 18525 core/libs/prx/libc/src/Math.cpp L4322-4326
PR 19328 core/libs/tests/GuestMath.cpp L2262, L3981
PR 19342 core/libs/prx/libc/src/Math.cpp L4322-4326
PR 19346 core/libs/prx/libc/src/Math.cpp L4322-4326

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.

Pull request Shared files not compared
PR 6295 core/libs/prx/libc/src/Math.cpp
core/libs/tests/GuestMath.cpp
PR 7447 docs/dev/debt/libc.md
PR 7715 docs/dev/debt/libc.md
PR 8150 docs/dev/debt/libc.md
PR 8965 docs/dev/debt/libc.md
PR 9087 docs/dev/debt/libc.md
PR 9340 docs/dev/debt/libc.md
PR 9447 docs/dev/debt/libc.md
PR 9466 docs/dev/debt/libc.md
PR 9526 docs/dev/debt/libc.md
PR 10780 docs/dev/debt/libc.md
PR 11172 docs/dev/debt/libc.md
PR 11332 docs/dev/debt/libc.md
PR 11661 docs/dev/debt/libc.md
PR 11689 docs/dev/debt/libc.md
PR 11698 docs/dev/debt/libc.md
PR 12682 docs/dev/debt/libc.md
PR 12688 docs/dev/debt/libc.md
PR 12700 docs/dev/debt/libc.md
PR 12849 docs/dev/debt/libc.md
PR 12965 docs/dev/debt/libc.md
PR 15973 docs/dev/debt/libc.md
PR 16791 docs/dev/debt/libc.md
PR 17557 docs/dev/debt/libc.md
PR 17558 docs/dev/debt/libc.md

@wachi35676

Copy link
Copy Markdown
Contributor

Windows run of head 9d2efc205 merged onto main 0f34ebb85, WinLibs GCC 15.2.0, Release. Your runs were under WSL.

  • guest_math passes 3/3. With only exp2l put back to main's std::exp2(x) (acosl/atanl from fix(libc): compute atanl with FreeBSD msun's ld80 code as the bundled libc.prx does #11262 kept), it aborts at Guest exp2l failed for c11f6531eb66d9a7:bffd, so the new checks cover this commit.
  • Exp2Table is identical to tbl[] in FreeBSD 11.4's ld80/s_exp2l.c: all 256 doubles match.
  • One small wording point. In s_exp2l.c, P1 is a long double, LD80C(0xb17217f7d1cf79ac, -1, …), and the port uses the double 0x1.62e42fefa39efp-1, as you say the binary does. It isn't a no-op: swapping only P1 to the source's long double changes 1,442,132 of 10,000,000 random results here. So your 0-mismatch run is what shows the binary uses the double. It might be worth saying in the description that P1 differs from s_exp2l.c.

AI-assisted: yes (Claude Code); results above were run on this machine.

@AlexFigas

Copy link
Copy Markdown
Contributor Author

@MarcZX10 s_exp2l.c does use ENTERI()/RETURNI(), but msun's math_private.h makes them change the precision only on i386; on amd64 they are empty (L335-L362). The bundled exp2l (0x46a50) has no instruction that reads or sets the x87 control word. So the console computes at the caller's precision, as the port already did. Without a code change, 20,000,000 random arguments give the binary's bits at 64-, 53- and 24-bit precision.

At 53 bits, x + redux rounds to a much coarser step, so the binary's results are far from the 64-bit ones: exp2l(0.75) is 0xd744ea8956fc0000:3fff instead of 0xd744fccad69d6af4:3fff. Forcing 64 bits would diverge from it there. CheckExp2l now runs nine arguments at 53 bits, including exp2l(0.75). Each must give the binary's 53-bit result and leave the control word unchanged. Why I'd rather fix 53-bit guest threads at thread start is on #11260 (#11260 (comment)). The head is 96090a7, restacked on #11262.

@wachi35676 Thanks. The description and the debt entry now say that P1 is the binary's double, not s_exp2l.c's long double, and the description cites your 1,442,132-in-10,000,000 swap.

@babyhuey

Copy link
Copy Markdown
Contributor

Windows run of this head 96090a7ca5c, merged onto main 0a570f617d8 (clean merge, local only), with the selection CI's skipped Windows product job uses: Windows 11, Ryzen 7 5800X, RTX 3080, WinLibs GCC 15.2, Release, BUILD_TESTING=ON. The tree was configured fresh after the merge, then select_tests.py select / ninja -f select.ninja selected / --target libs / select_tests.py ctest --parallel 4 --timeout 120.

  • Selected 2547 tests: 1838 pass, 1 fails, guest_raise_exception, which also fails on 0a570f617d8 itself on this machine (crash or timeout under --parallel 4; it passed on 27ad7244d22, and I'm narrowing that down separately), 708 skip. No failures from this PR.

AI-assisted: yes (Claude Code)

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR includes a broad comparison against the bundled libc.prx, with overflow/denormal edges, multiple precision settings and known-answer test cases. I am not approving this submitted head yet: its merge-base is 68cc9d4, whereas current main is 3fea2a9. Main has changed Math.cpp, GuestMath.cpp and docs/dev/debt/libc.md since that base, and the Tested section names main 5b5d24c rather than the submitted head's base.

This PR is stacked on #11262 and declares that dependency. Please rebase the stack onto current main after #11262 (and its dependencies) is integrated, rerun guest_math on the updated head, and align the test report with that exact commit. I found no independent arithmetic regression in the reviewed portion; current-tree integration is still unverified.

@maskym

maskym commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Windows result for head 96090a7ca5, merged into main 1089f2bbfd (the PR's Tested section names no Windows run).

Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. long double is the 80-bit x87 type on this toolchain, as on the console.

The tree also carried the other open libc PRs #11260, #11262, #11632, #11634, #11278, #11270, #11283, #10929, all merged cleanly, so the run is a joint one; the tests of this PR are guest_math. Every test in the set passed: ctest --test-dir build -R "math|libc|...|stdio" 32/32 and ctest -R "guest_dinkumware_internals|guest_standard_streams" 5/5, guest_math in 0.05 s. Build clean. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@AlexFigas

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Rebased onto #11262's c7362dc on main 1089f2b (d85d265). guest_math passes 3 runs. This head's exp2l_nid_postfix gives the binary's result, NaN bits, errno and flags, and leaves the control word unchanged, for 5,000,000 arguments at each of 64, 53 and 24 bits under each rounding mode. The Tested section now names this head.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the current head d85d265. The reduction/table path and documented differences from FreeBSD source are explicit and are backed by the bundled-binary comparisons in the PR. I found no separate arithmetic defect.

Independent focused check: with #11260, #11262, and #11266 changes applied to the clean #11213-based Release checkout, guest_math_tests built and guest_math passed three runs. This is focused Linux validation on the stack's 1089f2b base plus unrelated #11213 exception changes, not a build of the current integrated main tree.

The Windows relinker check is red. Its CTest log reports five timeouts: check_compile_modes_test_library_directory_values_can_look_like_modes, conventions_bom_shebang, and three conventions_env_reference tests. The relinker-specific tests in that same job passed; these failures are in unrelated tooling/conventions tests, but the check still needs a clean rerun. The stack is also based on 1089f2b while current main is 2ee8e97 (30 commits ahead), with #11260/#11262 and their declared dependencies still open. Please rerun the failed Windows job and update/retest the stack after its dependencies land before approval.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the current head d85d265. The reduction/table path and the documented differences from the FreeBSD source are explicit and supported by the bundled-binary evidence. I found no arithmetic defect.

Independent focused check: applied the #11260, #11262, and #11266 Math.cpp, GuestMath.cpp, and debt changes to a clean #11213-based Release checkout, built guest_math_tests, and ran guest_math three times; all passed. I did not rerun the author's differential harness. Current main merges cleanly, and the paths this stack edits have not changed since its 1089f2b base; the earlier branch-currency concern is resolved.

The Windows relinker check remains red. Its completed CTest log shows five timeouts in check_compile_modes_test_library_directory_values_can_look_like_modes and unrelated conventions tests (conventions_bom_shebang plus three conventions_env_reference cases); the relinker tests passed. Please rerun this Windows job and confirm the timeout failures clear before approval. The PR's declared stack/dependencies should land in the stated order.

@JJenkx

JJenkx commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

A runtime differential of this head against the libc.prx that titles ship.

Setup:

  • A scratch loader runs the decrypted libc.prx of PPSA07923 and PPSA05916 natively on Windows 11 and calls their exp2l by NID. Neither copy is an FMA build.
  • It compares them with exp2l from the libc.prx DLL built from this PR's exact head d85d265eb8 (WinLibs GCC 15.2.0 UCRT r7, Release). guest_math passes on that build.
  • There are 100,000 arguments per title, spread over ±200. Each call compares the full 80-bit result.

Results:

  • Current main differs from the titles on 57,497 of them.
  • This PR differs on none, on both titles.

This head also carries the acosl change it builds on: acosl over [-1, 1] (100,000 arguments, where main differs on 15,347) also matches both titles exactly on this build. Only finite arguments in those ranges were covered.

AI-assisted: yes (Claude Code).

@AlexFigas AlexFigas closed this Oct 27, 2026
@AlexFigas AlexFigas reopened this Oct 27, 2026
@AlexFigas

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Head 3d2cd44 merges #11262's refreshed head 1dfac78 (current main 813f46c) into the approved branch, without a conflict. On this head guest_math, guest_math_elementary and guest_math_exact pass 3 runs each, and the 12 console-differential sweeps of exp2l (5,000,000 arguments at 64, 53 and 24 bits under each rounding mode) show no difference in result, NaN bits, errno, flags or control word. git diff --check and check_conventions.py pass. The order is unchanged: #11262 lands first. oberonlift's #15802 stack (opened later) also rewrites the long double functions and conflicts with this head; noted in the description.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
@maskym

maskym commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Retested head 3d2cd44d81 on Windows (the head moved since my earlier run), merged alone into main f439f7f3a0.

Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. Build clean.

guest_math, the test this PR adds or extends, passes 3 of 3 runs. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@AlexFigas

Copy link
Copy Markdown
Contributor Author

@MarcZX10 #11262 has merged, so this PR is now only the exp2l commit. Head 1d907ed merges current main a221a74 into the approved branch without a conflict, and the PR's diff against main is line for line the same as 3d2cd44's against #11262's head. On this head, on Windows 11 with WinLibs GCC 15.2.0 r7 (Release, BUILD_TESTING=ON), guest_math, guest_math_elementary and guest_math_exact pass 3 runs each; check_conventions.py passes and git diff --check is clean. Depends on is now none. pr_overlap.py reports only #18110 (opened after this PR), on the adjacent logl/log10l lines; noted in the description.

@oneandonlydean
oneandonlydean merged commit e069333 into boykopovar:main Nov 13, 2026
21 checks passed
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…pp-messaging

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…xtension-stack

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…j2txt

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…string-loaders

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…et-pubkey

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…-quic

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…t-accept-state

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…x-set0-chain

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…x-add1-chain-cert

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/CMakeLists.txt
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…blic-key-dup

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…do-verify

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…nt-dup

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...

# Conflicts:
#	core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
#	core/libs/prx/libSceLibreSsl3/include/Api.hpp
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…ic-transport-params

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
fishingpvalues pushed a commit to fishingpvalues/AnyPS5-1 that referenced this pull request Nov 13, 2026
…printing

* origin/main: (40 commits)
  fix(libkernel): guard pthread create guest name (boykopovar#18547)
  fix(libc): guard backtrace guest outputs (boykopovar#18537)
  fix(tools): reject duplicate advisor JSON keys (boykopovar#17990)
  fix(libc): compute exp2l with FreeBSD msun's ld80 code as the bundled libc.prx does (boykopovar#11266)
  feat(libSceNKWebKit): implement PAL::fileSizeDescription (boykopovar#19460)
  feat(libSceNpMatching2): answer 29 calls before initialization as firmware 13.42 does
  fix(libSceNetCtl): keep errno across the host interface query
  fix(libkernel): drop a datagram whose receive faulted on macOS
  docs(libSceSystemLogger2): record the silent Terminate stub and shorten the debt entry
  feat(libSceRegMgr): implement the removed-range key calls as firmware 13.42 does
  feat(libSceSystemLogger2): implement the lifecycle, timestamp and event validation
  feat(libSceNpCppWebApi): return the Matchmaking string members by address
  ci: re-run checks (output_fifo_macos fix landed on main as 584b350 via boykopovar#19406)
  fix(libc): preserve internal C++ assertion diagnostics
  fix(libSceUsbd): copy lists, timeouts, and descriptors via GuestCopyIn/Out
  feat(libSceKeyboard): forward the debug init, open and close calls as firmware 13.42 does
  fix(libSceCesCs): copy profile sheets and contexts via GuestCopyIn/Out
  fix(libc): keep the guest heap alive through static finalization
  fix(libSceRtc): copy parse inputs via GuestCopyIn/Out and preserve errno
  fix(libSceNKWebKit): run a permission request's decision handler once with libc++
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants