Commit Graph
20967 Commits
Author SHA1 Message Date
Hussein Kadhim 621a487bdf fix(libc): print the FreeBSD printf extensions and stray percent signs on Windows
The Windows printf family threw on the q length modifier, the D, O and U
conversions, an unknown conversion character and a format ending in a percent
sign, where FreeBSD's vfprintf formats the first three and prints the unknown
character itself or stops at the end of the format.

(cherry picked from commit 0e3b2896d228c601cefc992b2895723188ebf0fa)
2026-10-24 10:22:15 +02:00
Adrià FranchandClaude Sonnet 5.5 611daf97e8 test(shader): keep the recompile result alive while its words are read
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 10:22:12 +02:00
milescovielloandClaude Opus 5.5 0e1767b24b fix(shader): release specialized modules that no result uses
The specialized module caches (by variant and constants, by binding plan
and by registration key) and the SPIR-V interning table held every
module's words for the rest of the run, after the results that used them
were gone. They now keep a module's interface (bindings, push data,
specialization ID and content hash) and only a weak reference to its
words; a lookup after the words were released builds them again from the
same key, checks the content hash, and keeps the specialization ID that
names the module's pipelines. The interning table keeps weak references
and drops expired ones from the bucket it searches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 10:22:05 +02:00
orezraeyandClaude Opus 5.5 2d27fbb79b test(libkernel): expect flags 1 from the Linux unwind module lookup
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 05:16:15 -03:00
Dean aeeaefad98 Merge pull request #8885 from hypermoist/feat/libc-sce-v2-thread-sync
feat(libc): add the std::__sce_v2 mutex, condition and thread calls
2026-10-24 21:09:55 +13:00
Dean e058b3284a Merge pull request #9167 from slider/feat/libkernel-named-semaphores
feat(libkernel): implement named POSIX semaphores
2026-10-24 21:09:30 +13:00
Dean 91007ff06c Merge pull request #10312 from ntamas94/fix/ps4-libc-strerror
fix(libc): answer strerror as the titles' libc.prx does
2026-10-24 21:09:00 +13:00
Dean 2250381689 Merge pull request #9934 from Celegans12/feat/agc-nv-diagnostics-config
feat(agc): enable VK_NV_device_diagnostics_config behind APS5_NV_DIAGNOSTICS
2026-10-24 21:08:33 +13:00
Dean 34a41ada16 Merge pull request #10341 from Filip722/submit/phnum-20261023
fix(relinker): reject unsupported extended program header counts
2026-10-24 21:08:06 +13:00
ionut27001 27e37024a8 fix(libkernel): handle kevent timer re-adds and the AIO, LIO, SENDFILE and PROCDESC filters as measured on a PS5
In payload processes on a PS5 (firmware 12.70), re-adding an existing
periodic EVFILT_TIMER with EV_ADD, fflags 0 and a positive period kept
the armed expiry and the expirations already counted, and applied the
new period after that expiry, as FreeBSD 11.0 does. EV_ONESHOT in the
re-add left the timer periodic. Here such a re-add threw; it now does
the same. Re-adding a one-shot or disabled timer, a re-add with nonzero
fflags, a period of 0 or less, a period that overflows the armed expiry
or flags other than EV_ONESHOT, and the other changes to an existing
timer except EV_DELETE still throw.

There, EV_ADD failed with EPERM for EVFILT_AIO, EVFILT_LIO and
EVFILT_SENDFILE at every ident and flag set tried, and EV_DELETE and
EV_ENABLE of them without EV_ADD failed with ENOENT. EVFILT_PROCDESC
failed with EBADF on a descriptor that is not open and with EINVAL on
every kind of open descriptor tried, and EV_DELETE of it on a socket
failed with ENOENT. These filters threw here; they now answer the same
way. EV_ADD of EVFILT_PROCDESC fails with EINVAL on the kinds of
descriptor tried and on shared memory, and throws on other kinds and on
descriptors 0 to 2 that are not sockets or kqueues; a change without
EV_ADD fails with ENOENT, after the descriptor check for
EVFILT_PROCDESC.

A new kevent measurements debt entry, which the kqueue and kevent entry
points to, records these measurements and the answers for NOTE_LOWAT
marks and EVFILT_READ on another kqueue, which still throw here. The
kqueue and kevent entry also stops listing a NOTE_NSECONDS period above
one second with a fraction among the cases that throw, since d71a1c577
made it work.
2026-10-24 10:08:01 +02:00
Vaibhav krishali 9b187f0eff Merge pull request #2 from iamthehimansh/fix/pr10369-host-pointer-watch
fix(agc): keep the host-pointer import's write window
2026-10-24 13:37:07 +05:30
janzezno 26f6779362 fix(agc): flush depth planes only over the layers an array target's lookup refreshes 2026-10-24 09:59:26 +02:00
atharvjairath 676a0e0072 feat(fiber): execute contextless fibers on the caller stack 2026-10-24 13:21:05 +05:30
Dean 933c0e4f1d Merge pull request #10343 from Filip722/submit/cfg-20261023
fix(relinker): honor EIP-relative addresses in the control-flow graph
2026-10-24 20:48:35 +13:00
Dean 69b5e014e9 Merge pull request #9342 from UnhealthyKraken/feat/libc-gets
feat(libc): implement gets line input
2026-10-24 20:48:06 +13:00
Dean 1e2d0e95f2 Merge pull request #10053 from klosixgaming-arch/fix/window-narrowing-switch-cap
fix(recompiler): skip window narrowing when it adds too many switches
2026-10-24 20:47:38 +13:00
Dean ab7b4d04ce Merge pull request #9853 from krishalivaibhav/test/draw-cache-user-vsharp-base
test(agc): cover a buffer descriptor in user SGPRs whose base and payload move
2026-10-24 20:47:14 +13:00
Dean efe844c653 Merge pull request #10308 from orezraey/fix/libkernel-socket-receive-measured-ps5
fix(libkernel): answer zero-length datagram receives and recvmsg flags as measured on a PS5
2026-10-24 20:46:44 +13:00
Dean a8e32e0017 Merge pull request #9518 from harisibrar1/fix/relinker-tests-nonascii-paths
test(relinker): find the Windows test executables with GetModuleFileNameW
2026-10-24 20:46:17 +13:00
Dean 2964ecc295 Merge pull request #9952 from klosixgaming-arch/feat/libc-bad-cast-doraise
feat(libc): add std::bad_cast::_Doraise
2026-10-24 20:45:48 +13:00
shurhundo f12344718a fix(check-compile): expand response files before syntax checks 2026-10-24 15:45:44 +08:00
Dean 0257ba52d1 Merge pull request #9741 from prosperkartik/fix/app-archive-fresh-root
test(libc): give each app archive test its own root directory
2026-10-24 20:45:21 +13:00
orezraeyandClaude Opus 5.5 510b089120 Merge main into fix/libkernel-socket-address-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 04:39:32 -03:00
Maz 415e6d0f4e fix(libc): drop rebase conflict markers from LocaleSupport 2026-10-24 11:37:58 +04:00
Maz 859ce80e42 feat(libc): export the wide num_put facet vtable as data
Titles resolve NID 59oywaaZbJk as a 112-byte STT_OBJECT on PPSA16833 libc.prx; export fourteen zeroed slots and the matching id so the data object exists while facet methods stay unwired.
2026-10-24 11:37:58 +04:00
Adrià 26c30b888d Merge pull request #10517 from adriadam10/fix/select-tests-define-args
fix(tools): keep executables passed as -D definitions in select_tests
2026-10-24 09:33:52 +02:00
Adrià FranchandClaude 860c772e2c fix(tools): keep executables passed as -D definitions in select_tests
Co-Authored-By: Claude <[email protected]>
2026-10-24 09:33:30 +02:00
Dean 59052151d0 Merge pull request #8728 from orezraey/fix/libkernel-msync-measured-ps5
fix(libkernel): fail msync MS_INVALIDATE with EBUSY as measured on a PS5
2026-10-24 20:25:08 +13:00
Dean d962e7b9b4 Merge pull request #9072 from rocklouis055/feat/fiber-attach-context
feat(libSceFiber): attach contexts on run and switch, internal option initialize
2026-10-24 20:24:40 +13:00
Dean d9421b9a56 Merge pull request #9333 from Logan1h/fix/agc-clip-cntl-message
fix(agc): name the rejected PA_CL_CLIP_CNTL flag once in the message
2026-10-24 20:24:15 +13:00
Dean ee955e5728 Merge pull request #8664 from lulebo/test/relinker-unused-import-asan-option
test(relinker): run guest_unused_import_dependencies with the ASan host-loading option
2026-10-24 20:23:47 +13:00
Dean 5fa2520ad9 Merge pull request #10258 from MarcZX10/fix/relinker-same-file-missing-paths
fix(relinker): reject missing paths in same-file checks
2026-10-24 20:23:19 +13:00
JJenkxandClaude Opus 5.5 e7d3411eea fix(libc): compute nextafter and nextafterf with FreeBSD msun's algorithm, as titles' libc.prx does
nextafter and nextafterf returned the host's functions. On Windows they
set ERANGE for a step from zero to the smallest subnormal, which the
titles' copies do not, and pick a different NaN when both arguments are
NaNs. The titles' copies are FreeBSD msun's s_nextafter.c and
s_nextafterf.c with ERANGE at msun's overflow and underflow returns; both
functions now compute that, choosing the NaN explicitly so the compiler
cannot reorder msun's x + y.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 03:23:18 -04:00
Dean c2f3c42ece Merge pull request #10050 from SandstromPL/test/agc-pooled-buffer-gpu-case
test(agc): match ANYPS5_GPU ignoring case in two more fixtures
2026-10-24 20:22:52 +13:00
Dean 34c97ca9d9 Merge pull request #9046 from mehmetbayoglu/fix/recompiler-cache-line-endings
fix(recompiler): hash shader cache sources with normalized line endings
2026-10-24 20:22:23 +13:00
Dean 1e577d1c56 Merge pull request #10180 from mazen320/feat/libc-codecvt-iw-vtable
feat(libc): export the wide codecvt facet vtable as data
2026-10-24 20:21:52 +13:00
JJenkxandClaude Opus 5.5 9d9c47b899 Merge main into PR #9850
Additive conflicts with main's newer libc math changes: the debt list keeps
both sides' entries (per entry), the GuestMath.cpp test functions and calls
from both sides are kept, and Math.cpp keeps both sides' independent changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 03:19:26 -04:00
JJenkxandClaude Opus 5.5 7488308bb9 Merge main into PR #9844
Additive conflicts with main's newer libc math changes: the debt list keeps
both sides' entries (per entry), the GuestMath.cpp test functions and calls
from both sides are kept, and Math.cpp keeps both sides' independent changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 03:19:24 -04:00
Yunus Shaikh 98fd280383 Merge #9505's main merge into perf/libc-collect-without-region-query 2026-10-24 00:12:35 -07:00
Yunus Shaikh 5fd76aff60 Merge main into port/fable-shared-map-views 2026-10-24 00:10:26 -07:00
Adrià FranchandClaude Sonnet 5.5 954bed036d docs(agc): order the progress switch row and keep the debt list contiguous
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 09:02:30 +02:00
Zenodeon dd72d997c7 docs(agc): register the submission progress switch 2026-10-24 09:02:30 +02:00
Zenodeon 2dc33842b2 test(agc): remove scheduler-dependent submission readiness gates 2026-10-24 09:02:30 +02:00
Zenodeon b0eacc1c7f refactor(agc): separate submission progress helpers from flip changes 2026-10-24 09:02:30 +02:00
Zenodeon a49303005d feat(agc): add opt-in bounded submission progress 2026-10-24 09:02:30 +02:00
Dean Galvin c3a9a613c7 Merge main into codex/libc-acoshf-msun 2026-10-24 20:00:35 +13:00
xXPBSXxandClaude Sonnet 5.5 2264b7bbca test(libkernel): run nid_patcher_symbol_versions on Windows
nid_patcher_symbol_versions was registered inside the block that also adds
nid_patcher_dynamic_strings, so it was skipped on Windows although it only
runs nid_patcher on a synthetic ELF written by the script. Only the
dynamic strings test reads the ELF fixture module, which is a PE DLL on
Windows. Register the symbol versions test on every host.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 08:59:42 +02:00
Yunus Shaikh 719a048a1f Merge main into fix/agc-rewatched-imports-compared-when-shared 2026-10-23 23:58:11 -07:00
Dean 1e20650e84 Merge pull request #10306 from JJenkx/windows/libc-expm1-msun
fix(libc): compute expm1 with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-24 19:55:25 +13:00
Dean 98a7d60a02 Merge pull request #8306 from ZSWolt/feat/libc-swscanf-wide-synonyms
fix(libc): end swscanf at %S and %C as a matching failure
2026-10-24 19:54:56 +13:00