feat(aot): consolidate native ARM64 compiler, runtime and consumers #5021

Closed
yabanana wants to merge 396 commits from upstream-pr/5021 into main
yabanana commented 2026-10-13 08:38:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by yabanana on 2026-10-13T08:38:43Z.


What

Consolidate the experimental native ARM64 port into this implementation PR. It contains the offline compiler, qualified runtime/provider bindings, module lifecycle and TLS, and runnable CPU, CLI, controller, Vulkan and original SCE consumers. #1835 remains the architectural discussion and review record; it is not a separate merge prerequisite.

The shipped output is ARM64 AOT. It has no x86 interpreter, JIT, runtime decoder or Rosetta dependency. The port reuses the upstream system libraries and Vulkan/MoltenVK backend. Input hashes, ABI/effect contracts and conservative rejection remain required; unsupported cases do not silently fall back.

The original lowbit/ps5-doom v1.1.1 PPSA99666 executable and its supplied libc module now have a reproducible closed-bundle consumer under core/aot/examples/doom. The existing compatibility backend converts both modules; this is not the experimental native-value semantic compiler.

This consolidation replaces 181 trivial opcode forwarding methods with declarations using the same shared helpers, and reuses upstream audio shutdown instead of carrying a second admission/cancellation mechanism. Bundle finalization uses host shutdown so it still runs when LoadExec("exit") deliberately skips guest atexit handlers. A regression checks once-only finalization and preserves that distinction.

Replay captures are matched by a qualified logical game tic, not by presentation count: the initial wipe changes that count with wall-clock timing. The example records the tic at the original capture log, and the verifier selects predeclared tics 79 and 859 before applying the unchanged exact RGB comparison. Missing or inconsistent metadata rejects.

Supersedes #3891, #4156, #4396, #4397, #4422, #4423, #4424, #4520, #4521, #4522, #4523, #4566, #4599, #4718, #4740, #4749, #4760 and #4813. Their branches and review history are retained. No merge into main is implied. This removes the stacked review/dependency chain; it does not claim that the whole compiler has already been simplified or that native-source performance has been reached.

Tested

Validation on Apple M5 Max, macOS 27.2, with upstream base 51acb79ac49eeabf2d0e1d377867f953eb1bcefa:

  • 737 compiler/relinker/runtime CTest cases passed; all 4 added replay-tic regressions also passed through CTest.
  • 28 native integration tests passed, including the four upstream audio shutdown modes and once-only bundle shutdown without guest exit handlers.
  • Cube AOT and independent reference: 600 completed flips each, eight exact RGB comparisons and teardown. Controller acceptance: six cases plus the production smoke.
  • Original SCE package: asset-present and asset-absent cases passed exact RGB, module initialization/finalization and Vulkan teardown.
  • Original DOOM: all three demos completed 5,026 / 3,836 / 2,134 gametics with native execution, six exact RGB comparisons at the qualified logical tics, and module/GPU teardown. The corrected check exercised an actual one-frame offset and still selected the declared tic; no tolerance or pixel-based matching was used.
  • All six frozen source-reference hashes were reproduced by captures at the declared logical tics. All 35 DOOM/libc LLVM modules remain byte-identical to the preserved checkpoint. Compiler, consumer and provider source hashes and all 12 linked archive hashes were checked against the built artifact.
  • Conventions and whitespace checks passed. No runtime speedup is claimed.

Reproduce the compiler/runtime tests using the native AOT options in docs/dev/BUILD.md. native_gpu_cube_check and native_pad_input_check run the bounded graphics/controller acceptance. The original SCE and DOOM builders and verifiers live under core/aot/examples; DOOM requires the exact public release inputs, bindings and reference captures described in BUILD and its manifest. Research notes, logs, binaries and private workspace files are not part of the source diff.

These checks establish only the qualified inputs and profiles. DOOM uses its CPU scaler; its AGC path, arbitrary WADs, retail games and controller hardware are not qualified here. No new FPS, Rosetta advantage or native-source performance claim is made. General ABI recovery, arbitrary dynamic modules and complete x86 floating-point/exception semantics remain open. The separate semantic-recovery prototype is not included until a complete consumer can use it through the common pipeline.

The checks listed above are local. Hosted checks must be read on the new PR head; older successful runs do not validate it. Full Linux/Windows builds require maintainer dispatch on main under the repository policy.

Checklist

  • Integrated upstream 51acb79ac; consolidation overlap is explicitly documented above
  • One implementation topic: the native ARM64 AOT port; #1835 retains architecture discussion
  • No new explanatory code comments; known limits are in technical debt
  • Unsupported paths reject; no successful fallback placeholders added
  • No private notes, investigation reports, logs, images or fixture binaries added
  • Third-party compiler inputs remain pinned source submodules built from source
  • Shared compiler/runtime behavior; title-specific qualification remains in consumer contracts
  • Depends on: none
  • Unblocks: none (bounded homebrew acceptance, no new retail-title claim)
  • GPUs tested: Apple M5 Max, MoltenVK 1.4.2 / Vulkan 1.4.357, macOS 27.2
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4840618959 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021). Originally posted by [yabanana](https://github.com/yabanana) on 2026-10-13T08:38:43Z. --- ### What Consolidate the experimental native ARM64 port into this implementation PR. It contains the offline compiler, qualified runtime/provider bindings, module lifecycle and TLS, and runnable CPU, CLI, controller, Vulkan and original SCE consumers. #1835 remains the architectural discussion and review record; it is not a separate merge prerequisite. The shipped output is ARM64 AOT. It has no x86 interpreter, JIT, runtime decoder or Rosetta dependency. The port reuses the upstream system libraries and Vulkan/MoltenVK backend. Input hashes, ABI/effect contracts and conservative rejection remain required; unsupported cases do not silently fall back. The original lowbit/ps5-doom v1.1.1 PPSA99666 executable and its supplied libc module now have a reproducible closed-bundle consumer under `core/aot/examples/doom`. The existing compatibility backend converts both modules; this is not the experimental native-value semantic compiler. This consolidation replaces 181 trivial opcode forwarding methods with declarations using the same shared helpers, and reuses upstream audio shutdown instead of carrying a second admission/cancellation mechanism. Bundle finalization uses host shutdown so it still runs when `LoadExec("exit")` deliberately skips guest `atexit` handlers. A regression checks once-only finalization and preserves that distinction. Replay captures are matched by a qualified logical game tic, not by presentation count: the initial wipe changes that count with wall-clock timing. The example records the tic at the original capture log, and the verifier selects predeclared tics 79 and 859 before applying the unchanged exact RGB comparison. Missing or inconsistent metadata rejects. Supersedes #3891, #4156, #4396, #4397, #4422, #4423, #4424, #4520, #4521, #4522, #4523, #4566, #4599, #4718, #4740, #4749, #4760 and #4813. Their branches and review history are retained. No merge into main is implied. This removes the stacked review/dependency chain; it does not claim that the whole compiler has already been simplified or that native-source performance has been reached. ### Tested Validation on Apple M5 Max, macOS 27.2, with upstream base `51acb79ac49eeabf2d0e1d377867f953eb1bcefa`: - 737 compiler/relinker/runtime CTest cases passed; all 4 added replay-tic regressions also passed through CTest. - 28 native integration tests passed, including the four upstream audio shutdown modes and once-only bundle shutdown without guest exit handlers. - Cube AOT and independent reference: 600 completed flips each, eight exact RGB comparisons and teardown. Controller acceptance: six cases plus the production smoke. - Original SCE package: asset-present and asset-absent cases passed exact RGB, module initialization/finalization and Vulkan teardown. - Original DOOM: all three demos completed 5,026 / 3,836 / 2,134 gametics with native execution, six exact RGB comparisons at the qualified logical tics, and module/GPU teardown. The corrected check exercised an actual one-frame offset and still selected the declared tic; no tolerance or pixel-based matching was used. - All six frozen source-reference hashes were reproduced by captures at the declared logical tics. All 35 DOOM/libc LLVM modules remain byte-identical to the preserved checkpoint. Compiler, consumer and provider source hashes and all 12 linked archive hashes were checked against the built artifact. - Conventions and whitespace checks passed. No runtime speedup is claimed. Reproduce the compiler/runtime tests using the native AOT options in `docs/dev/BUILD.md`. `native_gpu_cube_check` and `native_pad_input_check` run the bounded graphics/controller acceptance. The original SCE and DOOM builders and verifiers live under `core/aot/examples`; DOOM requires the exact public release inputs, bindings and reference captures described in BUILD and its manifest. Research notes, logs, binaries and private workspace files are not part of the source diff. These checks establish only the qualified inputs and profiles. DOOM uses its CPU scaler; its AGC path, arbitrary WADs, retail games and controller hardware are not qualified here. No new FPS, Rosetta advantage or native-source performance claim is made. General ABI recovery, arbitrary dynamic modules and complete x86 floating-point/exception semantics remain open. The separate semantic-recovery prototype is not included until a complete consumer can use it through the common pipeline. The checks listed above are local. Hosted checks must be read on the new PR head; older successful runs do not validate it. Full Linux/Windows builds require maintainer dispatch on main under the repository policy. ### Checklist - [x] Integrated upstream `51acb79ac`; consolidation overlap is explicitly documented above - [x] One implementation topic: the native ARM64 AOT port; #1835 retains architecture discussion - [x] No new explanatory code comments; known limits are in technical debt - [x] Unsupported paths reject; no successful fallback placeholders added - [x] No private notes, investigation reports, logs, images or fixture binaries added - [x] Third-party compiler inputs remain pinned source submodules built from source - [x] Shared compiler/runtime behavior; title-specific qualification remains in consumer contracts - [x] Depends on: none - [x] Unblocks: none (bounded homebrew acceptance, no new retail-title claim) - [x] GPUs tested: Apple M5 Max, MoltenVK 1.4.2 / Vulkan 1.4.357, macOS 27.2 - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-13 08:40:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T08:40:06Z.


Progress report (7dcfff5 → 151294f)

📉 System libraries: 88.8% (-0.03%, -1 reverted functions)

⚠️ 1 went back to stubs
Library Name
libkernel sceKernelGetLibkernelTextLocation_nid_postfix
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6141702627 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6141702627). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T08:40:06Z. --- <!-- progress-report --> ### Progress report (7dcfff5 → 151294f) 📉 **System libraries**: 88.8% (-0.03%, -1 reverted functions) <details> <summary>⚠️ 1 went back to stubs</summary> | Library | Name | | - | - | | libkernel | `sceKernelGetLibkernelTextLocation_nid_postfix` | </details>
yabanana commented 2026-10-13 18:58:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by yabanana on 2026-10-13T18:58:18Z.


Published a measured cleanup of the qualified call boundaries, with main reconciled at 18c438b10. Registers stay local across verified native provider calls; pthread initialization and replacement bindings still use the general path. TLS key deletion invalidates cached reads. I also fixed conditional tail-import writeback and the case where a repeated host error failed to update guest errno.

Local validation: 661 compiler/relinker/runtime cases (two catalog-dependent reruns after requalification), 27 native integrations, ThreadSanitizer provider checks, jq 550+32 and bzip2 46. Cube/Pad/bundle and original SCE app+PRX asset-present/absent cases were repeated, with exact RGB and teardown checks. Hosted CI for this head is separate and pending.

The final jq grouping measurement is 181.12 ms against 199.21 ms for the previously published AOT binary and 99.16 ms for Rosetta: approximately 9.1% less time for our path, still substantially slower than Rosetta. zstd is essentially unchanged by this batch. These are nine alternating warm CLI rounds with checked outputs and no simultaneous builds, using source-equivalent references rather than the same ELF on Rosetta; no game/FPS claim.

The architecture exploration ruled out several tempting additions: smaller shared resume dispatch, loader-qualified provider addresses, direct CMP lowering and short leaf expansion did not establish a runtime improvement, so they are not included. Next I am investigating call effects and value-based regions that can materialize state at an opaque boundary and resume without replay, rather than requiring an entire hot function graph to be closed. That direction remains an experiment, not a promised speedup or an in-tree decision.

jq wall time samples, milliseconds
Round Current AOT Previous AOT Rosetta ARM64 source
1 181.54 198.28 104.16 57.80
2 180.78 197.45 102.32 58.91
3 180.66 199.35 98.05 56.72
4 181.89 199.58 99.16 56.99
5 179.94 197.75 98.96 56.47
6 181.75 198.11 96.62 56.77
7 182.25 199.21 100.52 55.36
8 180.84 200.20 98.10 56.74
9 181.12 199.71 100.83 58.13
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6152919449 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6152919449). Originally posted by [yabanana](https://github.com/yabanana) on 2026-10-13T18:58:18Z. --- Published a measured cleanup of the qualified call boundaries, with main reconciled at `18c438b10`. Registers stay local across verified native provider calls; pthread initialization and replacement bindings still use the general path. TLS key deletion invalidates cached reads. I also fixed conditional tail-import writeback and the case where a repeated host error failed to update guest errno. Local validation: 661 compiler/relinker/runtime cases (two catalog-dependent reruns after requalification), 27 native integrations, ThreadSanitizer provider checks, jq 550+32 and bzip2 46. Cube/Pad/bundle and original SCE app+PRX asset-present/absent cases were repeated, with exact RGB and teardown checks. Hosted CI for this head is separate and pending. The final jq grouping measurement is 181.12 ms against 199.21 ms for the previously published AOT binary and 99.16 ms for Rosetta: approximately 9.1% less time for our path, still substantially slower than Rosetta. zstd is essentially unchanged by this batch. These are nine alternating warm CLI rounds with checked outputs and no simultaneous builds, using source-equivalent references rather than the same ELF on Rosetta; no game/FPS claim. The architecture exploration ruled out several tempting additions: smaller shared resume dispatch, loader-qualified provider addresses, direct CMP lowering and short leaf expansion did not establish a runtime improvement, so they are not included. Next I am investigating call effects and value-based regions that can materialize state at an opaque boundary and resume without replay, rather than requiring an entire hot function graph to be closed. That direction remains an experiment, not a promised speedup or an in-tree decision. <details><summary>jq wall time samples, milliseconds</summary> | Round | Current AOT | Previous AOT | Rosetta | ARM64 source | |---|---:|---:|---:|---:| | 1 | 181.54 | 198.28 | 104.16 | 57.80 | | 2 | 180.78 | 197.45 | 102.32 | 58.91 | | 3 | 180.66 | 199.35 | 98.05 | 56.72 | | 4 | 181.89 | 199.58 | 99.16 | 56.99 | | 5 | 179.94 | 197.75 | 98.96 | 56.47 | | 6 | 181.75 | 198.11 | 96.62 | 56.77 | | 7 | 182.25 | 199.21 | 100.52 | 55.36 | | 8 | 180.84 | 200.20 | 98.10 | 56.74 | | 9 | 181.12 | 199.71 | 100.83 | 58.13 | </details>
yabanana commented 2026-10-13 21:17:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by yabanana on 2026-10-13T21:17:48Z.


Updated the qualified call path and reconciled main at 0aa4cb1c2. Small scalar helpers now use native value arguments/results; direct-call register effects reduce reloads without changing ordering, stack alias behavior or nonlocal returns. Single-profile sharing now rejects, and the original SCE app+PRX uses ordered memory.

Final local checks passed: 669 compiler/runtime/relinker cases, 27 native integrations, jq 550+32, bzip2 46, cube 600 flips/eight exact RGB comparisons and original app+PRX asset-present/absent teardown. CLI artifacts were built at 9e07e03b0; their recorded source inputs match this head after the upstream-only merge.

Warm jq grouping is 159.83 ms versus 182.71 ms previously and 98.51 ms on Rosetta; bzip2 level 9 is 293.53/303.54/217.70 ms. The independent jq input improves against our previous binary, but its parsing result only ties Rosetta. The old 42 ms single-profile zstd result is withdrawn as a qualified current baseline: it registers a guest SIGABRT handler even with --single-thread, and that callback boundary is now correctly rejected by the private profile. The AOT crash/backtrace path remains unqualified. All worker counts and unfavorable source-corpus results are retained; no general Rosetta advantage is claimed. References remain source-equivalent builds, not the same ELF. Hosted CI is tracked separately.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6155386136 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6155386136). Originally posted by [yabanana](https://github.com/yabanana) on 2026-10-13T21:17:48Z. --- Updated the qualified call path and reconciled main at `0aa4cb1c2`. Small scalar helpers now use native value arguments/results; direct-call register effects reduce reloads without changing ordering, stack alias behavior or nonlocal returns. Single-profile sharing now rejects, and the original SCE app+PRX uses ordered memory. Final local checks passed: 669 compiler/runtime/relinker cases, 27 native integrations, jq 550+32, bzip2 46, cube 600 flips/eight exact RGB comparisons and original app+PRX asset-present/absent teardown. CLI artifacts were built at `9e07e03b0`; their recorded source inputs match this head after the upstream-only merge. Warm jq grouping is 159.83 ms versus 182.71 ms previously and 98.51 ms on Rosetta; bzip2 level 9 is 293.53/303.54/217.70 ms. The independent jq input improves against our previous binary, but its parsing result only ties Rosetta. The old 42 ms single-profile zstd result is withdrawn as a qualified current baseline: it registers a guest SIGABRT handler even with --single-thread, and that callback boundary is now correctly rejected by the private profile. The AOT crash/backtrace path remains unqualified. All worker counts and unfavorable source-corpus results are retained; no general Rosetta advantage is claimed. References remain source-equivalent builds, not the same ELF. Hosted CI is tracked separately.
yabanana commented 2026-10-14 12:01:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by yabanana on 2026-10-14T12:01:56Z.


Added opt-in guest/runtime PGO with atomic training counters, stable internal-function profile identities across output directories, strict rejection of profile mismatches, and reproducible build receipts. The errno scope now has one definition to avoid conflicting inline profile hashes. Default builds retain their existing options.

Local head 01f2073d06385ca2adb537d4996ad61e8255bd2e incorporates main 067f4f614. Validation: 680 compiler/runtime/relinker tests, 27 native integrations, jq 550+32, bzip2 46, 600 cube flips per implementation with eight exact RGB comparisons, and both original app+PRX asset cases with exact RGB and teardown. PGO remains workload-dependent; this is not a general Rosetta speedup claim. All automatic checks executed for this head have passed. Full Linux/Windows builds were skipped by policy and still require maintainer dispatch.

The upstream IME event handling stays on the main thread and uses its existing implementation. Pad facts were requalified for the callback ABI annotation. Measured CLI binaries retain their original F43 build revision. Complete IR regenerated at 13042db4e is identical to those builds; the final merge leaves the AOT compiler tree, runtime, headers and builder unchanged.

The further libkernel integration preserves upstream Linux link-map lookup and its fixed-base regression test while retaining the existing dyld lookup on macOS. Native and graphics validation was repeated after this integration.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6167867153 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6167867153). Originally posted by [yabanana](https://github.com/yabanana) on 2026-10-14T12:01:56Z. --- Added opt-in guest/runtime PGO with atomic training counters, stable internal-function profile identities across output directories, strict rejection of profile mismatches, and reproducible build receipts. The errno scope now has one definition to avoid conflicting inline profile hashes. Default builds retain their existing options. Local head `01f2073d06385ca2adb537d4996ad61e8255bd2e` incorporates main `067f4f614`. Validation: 680 compiler/runtime/relinker tests, 27 native integrations, jq 550+32, bzip2 46, 600 cube flips per implementation with eight exact RGB comparisons, and both original app+PRX asset cases with exact RGB and teardown. PGO remains workload-dependent; this is not a general Rosetta speedup claim. All automatic checks executed for this head have passed. Full Linux/Windows builds were skipped by policy and still require maintainer dispatch. The upstream IME event handling stays on the main thread and uses its existing implementation. Pad facts were requalified for the callback ABI annotation. Measured CLI binaries retain their original F43 build revision. Complete IR regenerated at `13042db4e` is identical to those builds; the final merge leaves the AOT compiler tree, runtime, headers and builder unchanged. The further libkernel integration preserves upstream Linux link-map lookup and its fixed-base regression test while retaining the existing dyld lookup on macOS. Native and graphics validation was repeated after this integration.
Alexius0815 commented 2026-10-17 13:54:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Alexius0815 on 2026-10-17T13:54:05Z.


Independent datapoint on a second Apple Silicon generation: Apple M4 (MacBook Air), macOS 27.2 (26B5112a), Apple clang 21.0.0 (clang-2100.3.34.2), head 151294f97.

Configured as in docs/dev/BUILD.md: -DCMAKE_BUILD_TYPE=Release -DANYPS5_RELINKER_ONLY=ON -DANYPS5_NATIVE_AOT=ON -DBUILD_TESTING=ON, then ctest with --parallel 2.

  • 737/737 CTest cases passed in 281 s, including all 563 AOT-related cases. The relinker and the native unit-test executables are arm64-only Mach-O.
  • Nine Python subchecks were skipped inside six passing entries (import_audit, test_registration, stubgen, hardware_oracle ×2, release_package ×3, pad_input). Partial coverage by design: linux_guest_stack and guest_module_args (native execution not available on this host), and output_collisions (needs a case-sensitive directory).
  • Side effect worth knowing: the expected-trap tests (assert_traps in test_checked_pointers.py and test_graphics_invariants.py) fork Python children that end in SIGTRAP/SIGILL. On a desktop session, macOS shows a "Python quit unexpectedly" dialog for each of them (11 crash reports during the run). The tests are correct and pass. A native helper with a scoped expected-signal handler, as some other tests already use, would avoid the dialogs for people running the suite on their own Mac.

Not run yet: the graphics acceptance (native_gpu_cube_check) and the DOOM consumer. I will report the cube check separately.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6234709487 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6234709487). Originally posted by [Alexius0815](https://github.com/Alexius0815) on 2026-10-17T13:54:05Z. --- Independent datapoint on a second Apple Silicon generation: Apple M4 (MacBook Air), macOS 27.2 (26B5112a), Apple clang 21.0.0 (clang-2100.3.34.2), head `151294f97`. Configured as in docs/dev/BUILD.md: `-DCMAKE_BUILD_TYPE=Release -DANYPS5_RELINKER_ONLY=ON -DANYPS5_NATIVE_AOT=ON -DBUILD_TESTING=ON`, then ctest with `--parallel 2`. - **737/737 CTest cases passed** in 281 s, including all 563 AOT-related cases. The relinker and the native unit-test executables are arm64-only Mach-O. - Nine Python subchecks were skipped inside six passing entries (import_audit, test_registration, stubgen, hardware_oracle ×2, release_package ×3, pad_input). Partial coverage by design: linux_guest_stack and guest_module_args (native execution not available on this host), and output_collisions (needs a case-sensitive directory). - **Side effect worth knowing:** the expected-trap tests (`assert_traps` in test_checked_pointers.py and test_graphics_invariants.py) fork Python children that end in SIGTRAP/SIGILL. On a desktop session, macOS shows a "Python quit unexpectedly" dialog for each of them (11 crash reports during the run). The tests are correct and pass. A native helper with a scoped expected-signal handler, as some other tests already use, would avoid the dialogs for people running the suite on their own Mac. Not run yet: the graphics acceptance (`native_gpu_cube_check`) and the DOOM consumer. I will report the cube check separately. AI-assisted: yes
MarcZX10 commented 2026-10-22 01:31:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:31:59Z.


The overlap check could not compare this older-base branch with #9501. Manual review shows your macOS clock_gettime thread-CPU fallback intersects the same CPU-clock dispatch path that #9501 updates for encoded process clocks. Please coordinate with #9501’s author on the rebase/integration order and whether either branch must land first.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330499924 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6330499924). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T01:31:59Z. --- The overlap check could not compare this older-base branch with #9501. Manual review shows your macOS `clock_gettime` thread-CPU fallback intersects the same CPU-clock dispatch path that #9501 updates for encoded process clocks. Please coordinate with #9501’s author on the rebase/integration order and whether either branch must land first.
MarcZX10 commented 2026-10-22 02:08:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:08:22Z.


I am reviewing #9501, which adds FreeBSD-style encoded process CPU clocks in libkernel/Time/Time.cpp. The overlap bot cannot compare this older-base branch, so I checked the relevant diff: #5021 changes the same clock_gettime dispatch path for macOS thread CPU clocks. Please confirm whether #9501 can land before/after #5021 and what rebase/integration order you need, so both PRs can record it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330969019 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5021#issuecomment-6330969019). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:08:22Z. --- I am reviewing #9501, which adds FreeBSD-style encoded process CPU clocks in `libkernel/Time/Time.cpp`. The overlap bot cannot compare this older-base branch, so I checked the relevant diff: #5021 changes the same `clock_gettime` dispatch path for macOS thread CPU clocks. Please confirm whether #9501 can land before/after #5021 and what rebase/integration order you need, so both PRs can record it.

Pull request closed

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
boykopovar/AnyPS5!5021
No description provided.