feat(relinker): convert for Rosetta with --to-rosetta #2119

Merged
mugurc merged 1 commit from upstream-pr/2119 into main 2026-10-10 22:26:26 +00:00
mugurc commented 2026-10-09 09:23:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mugurc on 2026-10-09T09:23:16Z.


What

Adds --to-rosetta to the relinker. Rosetta (macOS on Apple silicon) runs AVX2, FMA, BMI1/2, F16C and MOVBE, but unlike an Intel host it has neither RDSEED, CLWB nor RDPID. --to-rosetta converts everything --to-intel does and lowers these three as well. It is the Rosetta step I said would get its own flag on #1, so Intel output and --macos output are unchanged.

  • RDSEED becomes RDRAND (the /6 form of the same opcode). Both return a random value and set CF.
  • CLWB only writes a cache line back and changes no value, so it becomes a NOP of the same length.
  • RDPID becomes a load of 0 through an optional stub. Rosetta's TSC_AUX is a constant, not a processor index, so every thread reports processor 0. A site with no movable instruction after it for the jump is kept, as for the other optional stubs.
  • The flag implies --to-intel and conflicts with --windows. The target is a parameter of the converter and the matcher, Intel by default.
  • ADCX/ADOX also fault under Rosetta and are not converted; compilers do not emit them, and code that checks CPUID sees no ADX. This and the RDPID behaviour are in TechnicalDebt.

Tested

  • CI: the relinker jobs on macOS, Ubuntu and Windows build the relinker and run all its tests, amd64_only_converter and to_rosetta included; they and the conventions check pass on my fork (https://github.com/mugurc/AnyPS5/actions/runs/37909850030) and are running on this pull request. The full Linux and Windows builds only run by manual dispatch, and this change does not touch the libraries.
  • The converter tests (amd64_only_converter) cover the matching of each instruction (including the look-alikes: VMPTRST, TPAUSE, CLFLUSHOPT), the replacement bytes, the RDPID stub for each register, the kept site, and that the Intel target converts none of them.
  • New test to_rosetta: relinks an executable that contains RDSEED and CLWB with no flag, --to-intel, --to-rosetta and both, and reads the output: only the Rosetta runs lower them. It also checks that --to-rosetta --windows is refused.
  • On macOS 26.5 (M5 Max) the lowered code runs under Rosetta; the same code without the lowering faults with SIGILL. That check lives in my macOS fixtures, which are not part of this PR.
  • No commercial title was tested; I have no PS5.

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 in TechnicalDebt
  • 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 (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4798543339 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119). Originally posted by [mugurc](https://github.com/mugurc) on 2026-10-09T09:23:16Z. --- ### What Adds `--to-rosetta` to the relinker. Rosetta (macOS on Apple silicon) runs AVX2, FMA, BMI1/2, F16C and MOVBE, but unlike an Intel host it has neither RDSEED, CLWB nor RDPID. `--to-rosetta` converts everything `--to-intel` does and lowers these three as well. It is the Rosetta step I said would get its own flag on #1, so Intel output and `--macos` output are unchanged. - RDSEED becomes RDRAND (the `/6` form of the same opcode). Both return a random value and set CF. - CLWB only writes a cache line back and changes no value, so it becomes a NOP of the same length. - RDPID becomes a load of 0 through an optional stub. Rosetta's `TSC_AUX` is a constant, not a processor index, so every thread reports processor 0. A site with no movable instruction after it for the jump is kept, as for the other optional stubs. - The flag implies `--to-intel` and conflicts with `--windows`. The target is a parameter of the converter and the matcher, Intel by default. - ADCX/ADOX also fault under Rosetta and are not converted; compilers do not emit them, and code that checks CPUID sees no ADX. This and the RDPID behaviour are in TechnicalDebt. ### Tested - CI: the relinker jobs on macOS, Ubuntu and Windows build the relinker and run all its tests, `amd64_only_converter` and `to_rosetta` included; they and the conventions check pass on my fork (https://github.com/mugurc/AnyPS5/actions/runs/37909850030) and are running on this pull request. The full Linux and Windows builds only run by manual dispatch, and this change does not touch the libraries. - The converter tests (`amd64_only_converter`) cover the matching of each instruction (including the look-alikes: VMPTRST, TPAUSE, CLFLUSHOPT), the replacement bytes, the RDPID stub for each register, the kept site, and that the Intel target converts none of them. - New test `to_rosetta`: relinks an executable that contains RDSEED and CLWB with no flag, `--to-intel`, `--to-rosetta` and both, and reads the output: only the Rosetta runs lower them. It also checks that `--to-rosetta --windows` is refused. - On macOS 26.5 (M5 Max) the lowered code runs under Rosetta; the same code without the lowering faults with SIGILL. That check lives in my macOS fixtures, which are not part of this PR. - No commercial title was tested; I have no PS5. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
oneandonlydean commented 2026-10-09 20:15:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T20:15:00Z.


Please remove the new code comments: Amd64OnlySubstitutionTypes.hpp:11-12, DecodedInstruction.hpp:26, Amd64OnlyInstructionMatcher.cpp:110-111,202,208,211 and DecodedInstruction.cpp:265,296. CONVENTIONS only allows technical-debt markers; the RDPID note already lives in TechnicalDebt, and the rest can go in the commit message.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6088514285 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6088514285). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T20:15:00Z. --- Please remove the new code comments: `Amd64OnlySubstitutionTypes.hpp:11-12`, `DecodedInstruction.hpp:26`, `Amd64OnlyInstructionMatcher.cpp:110-111,202,208,211` and `DecodedInstruction.cpp:265,296`. CONVENTIONS only allows technical-debt markers; the RDPID note already lives in TechnicalDebt, and the rest can go in the commit message.
mugurc commented 2026-10-09 20:56:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mugurc on 2026-10-09T20:56:11Z.


Removed, thank you: all the comments at the places you listed (ten of them, across the four files). The commit message already says what they said, and the RDPID note is in TechnicalDebt. Rebased on current main; the relinker tests pass locally (35 of 35).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6089112302 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6089112302). Originally posted by [mugurc](https://github.com/mugurc) on 2026-10-09T20:56:11Z. --- Removed, thank you: all the comments at the places you listed (ten of them, across the four files). The commit message already says what they said, and the RDPID note is in TechnicalDebt. Rebased on current `main`; the relinker tests pass locally (35 of 35).
oneandonlydean commented 2026-10-10 05:17:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T05:17:52Z.


This conflicts with main again after today's merges (CliArgs.cpp, main.cpp, GuestModuleBuilder.cpp, Amd64OnlyConverter.cpp, CMakeLists.txt, USAGE.md); please rebase.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6094137886 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6094137886). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T05:17:52Z. --- This conflicts with main again after today's merges (`CliArgs.cpp`, `main.cpp`, `GuestModuleBuilder.cpp`, `Amd64OnlyConverter.cpp`, `CMakeLists.txt`, `USAGE.md`); please rebase.
adriadam10 commented 2026-10-10 08:02:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T08:02:17Z.

Review: CHANGES_REQUESTED


Thanks for removing the comments. I tried the rebase on current main and it isn't mechanical, so I'm leaving it to you:

  • main now has --macos (Mach-O that runs under Rosetta; toMacos is passed to GuestModuleBuilder::Build and CliArgs.cpp). The PR predates it and doesn't say how --to-rosetta relates to it: should --macos imply the Rosetta lowerings, conflict with --to-rosetta, or are they independent? Please decide, document it in docs/user/USAGE.md and cover it in to_rosetta.
  • Conflicts to resolve: core/relinker/CMakeLists.txt (new entry_point_bounds/init_array_roots tests next to to_rosetta), CliArgs.cpp (the new Usage() helper and --help; add [--to-rosetta] there, not in an inline string), Amd64OnlyConverter.cpp (_matcher is now default-initialised in the member), main.cpp, GuestImage.hpp/GuestModuleBuilder.cpp (Build has gained macos), USAGE.md.
  • After rebasing, rerun the relinker tests, including to_rosetta with --macos in the mix.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5478249568 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#pullrequestreview-5478249568). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-10T08:02:17Z. **Review:** CHANGES_REQUESTED --- Thanks for removing the comments. I tried the rebase on current `main` and it isn't mechanical, so I'm leaving it to you: - `main` now has `--macos` (Mach-O that runs under Rosetta; `toMacos` is passed to `GuestModuleBuilder::Build` and `CliArgs.cpp`). The PR predates it and doesn't say how `--to-rosetta` relates to it: should `--macos` imply the Rosetta lowerings, conflict with `--to-rosetta`, or are they independent? Please decide, document it in `docs/user/USAGE.md` and cover it in `to_rosetta`. - Conflicts to resolve: `core/relinker/CMakeLists.txt` (new `entry_point_bounds`/`init_array_roots` tests next to `to_rosetta`), `CliArgs.cpp` (the new `Usage()` helper and `--help`; add `[--to-rosetta]` there, not in an inline string), `Amd64OnlyConverter.cpp` (`_matcher` is now default-initialised in the member), `main.cpp`, `GuestImage.hpp`/`GuestModuleBuilder.cpp` (`Build` has gained `macos`), `USAGE.md`. - After rebasing, rerun the relinker tests, including `to_rosetta` with `--macos` in the mix.
mugurc commented 2026-10-10 09:19:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mugurc on 2026-10-10T09:19:55Z.


Thank you for checking the rebase. They are independent: --to-rosetta only changes what the x86 conversion produces, so --macos alone leaves RDSEED, CLWB and RDPID as they are (as on an Intel Mac), and a title for Rosetta is relinked with --macos --to-rosetta. --to-rosetta still implies --to-intel and conflicts with --windows.

Rebuilt on current main (11cb1b75) as one commit:

  • Usage() carries [--to-rosetta], CliArgs.cpp has the flag, and Build takes toRosetta after toIntel, next to macos.
  • Amd64OnlyConverter.cpp keeps the target-taking constructor; its member is no longer default-initialised.
  • USAGE.md says how the two relate and what to run on a Mac.
  • to_rosetta now also relinks with --macos, --macos --to-intel and --macos --to-rosetta: the output is a Mach-O in all three, and only the last has RDSEED and CLWB lowered. The test registration moved to the end of the Python block, so it no longer sits where the new tests land.

The relinker tests pass locally (81 of 81).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096061352 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6096061352). Originally posted by [mugurc](https://github.com/mugurc) on 2026-10-10T09:19:55Z. --- Thank you for checking the rebase. They are independent: `--to-rosetta` only changes what the x86 conversion produces, so `--macos` alone leaves RDSEED, CLWB and RDPID as they are (as on an Intel Mac), and a title for Rosetta is relinked with `--macos --to-rosetta`. `--to-rosetta` still implies `--to-intel` and conflicts with `--windows`. Rebuilt on current `main` (`11cb1b75`) as one commit: - `Usage()` carries `[--to-rosetta]`, `CliArgs.cpp` has the flag, and `Build` takes `toRosetta` after `toIntel`, next to `macos`. - `Amd64OnlyConverter.cpp` keeps the target-taking constructor; its member is no longer default-initialised. - `USAGE.md` says how the two relate and what to run on a Mac. - `to_rosetta` now also relinks with `--macos`, `--macos --to-intel` and `--macos --to-rosetta`: the output is a Mach-O in all three, and only the last has RDSEED and CLWB lowered. The test registration moved to the end of the Python block, so it no longer sits where the new tests land. The relinker tests pass locally (81 of 81).
orishamir commented 2026-10-10 17:52:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by orishamir on 2026-10-10T17:52:35Z.


Checked 87273f5f on Linux (Ubuntu 26.04 in WSL2, GCC 15.2.0, relinker-only Release build). The head already contains current main (57f96fd2), and the relinker ctest run is already covered by this PR's CI job; the checks below are the ones it does not do:

  • Both new tests pin the change. With the 13 non-test files reverted to main (tests and add_test kept): to_rosetta fails with unknown option: --to-rosetta, and amd64_only_converter_tests no longer compiles (Codegen::Amd64OnlyTarget has not been declared).
  • The review's points are in the head: Usage() lists [--to-rosetta]; --to-rosetta sets toIntel and is refused with --windows; Amd64OnlyConverter takes the target in its constructor and _matcher is no longer default-initialised; Build takes toRosetta after toIntel; USAGE.md says the two flags are independent; to_rosetta now relinks with --macos, --macos --to-intel and --macos --to-rosetta, checks the Mach-O magic, and is registered after entry_point_bounds / init_array_roots.
  • Encodings, against llvm-mc -triple=x86_64 (LLVM 21): RDSEED 0F C7 /7 and RDRAND 0F C7 /6 differ only in ModRM bit 3, which is the bit the matcher clears (0F C7 F8 -> F0, 49 0F C7 FF -> F7); RDPID is F3 0F C7 /7 with mod=11 and CLWB is 66 0F AE /6 with a memory operand, as the predicates require. The look-alikes in the tests are the real encodings: VMPTRST 0F C7 38, TPAUSE 66 0F AE F0+r, CLFLUSHOPT 66 0F AE 38; SENDUIPI F3 0F C7 F0 (reg 6) is not taken for RDPID (reg 7). The RDPID stub's mov r32, 0 zero-extends, so the 64-bit forms get 0 too.
  • The overlap bot's hits with #2206 and #2332 are the same add_test block (CMakeLists.txt:317); no source file is shared.

Not checked here: that the converted code runs under Rosetta (no Mac), and nothing ran in a game.

AI-assisted: yes (Claude Code).

Edited: removed the ctest pass count, which this PR's relinker CI job already reports.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100466393 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6100466393). Originally posted by [orishamir](https://github.com/orishamir) on 2026-10-10T17:52:35Z. --- Checked `87273f5f` on Linux (Ubuntu 26.04 in WSL2, GCC 15.2.0, relinker-only Release build). The head already contains current `main` (`57f96fd2`), and the relinker ctest run is already covered by this PR's CI job; the checks below are the ones it does not do: - Both new tests pin the change. With the 13 non-test files reverted to `main` (tests and `add_test` kept): `to_rosetta` fails with `unknown option: --to-rosetta`, and `amd64_only_converter_tests` no longer compiles (`Codegen::Amd64OnlyTarget` has not been declared). - The review's points are in the head: `Usage()` lists `[--to-rosetta]`; `--to-rosetta` sets `toIntel` and is refused with `--windows`; `Amd64OnlyConverter` takes the target in its constructor and `_matcher` is no longer default-initialised; `Build` takes `toRosetta` after `toIntel`; `USAGE.md` says the two flags are independent; `to_rosetta` now relinks with `--macos`, `--macos --to-intel` and `--macos --to-rosetta`, checks the Mach-O magic, and is registered after `entry_point_bounds` / `init_array_roots`. - Encodings, against `llvm-mc -triple=x86_64` (LLVM 21): RDSEED `0F C7 /7` and RDRAND `0F C7 /6` differ only in ModRM bit 3, which is the bit the matcher clears (`0F C7 F8` -> `F0`, `49 0F C7 FF` -> `F7`); RDPID is `F3 0F C7 /7` with mod=11 and CLWB is `66 0F AE /6` with a memory operand, as the predicates require. The look-alikes in the tests are the real encodings: VMPTRST `0F C7 38`, TPAUSE `66 0F AE F0+r`, CLFLUSHOPT `66 0F AE 38`; SENDUIPI `F3 0F C7 F0` (reg 6) is not taken for RDPID (reg 7). The RDPID stub's `mov r32, 0` zero-extends, so the 64-bit forms get 0 too. - The overlap bot's hits with #2206 and #2332 are the same `add_test` block (`CMakeLists.txt:317`); no source file is shared. Not checked here: that the converted code runs under Rosetta (no Mac), and nothing ran in a game. AI-assisted: yes (Claude Code). _Edited: removed the ctest pass count, which this PR's relinker CI job already reports._
github-actions[bot] commented 2026-10-10 19:49:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T19:49:50Z.


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
#846 core/relinker/cli/src/CliArgs.cpp L11
core/relinker/main.cpp L111
core/relinker/relinker/include/relinker/guest/GuestImage.hpp L61
core/relinker/relinker/src/guest/GuestModuleBuilder.cpp L53
#2206 core/relinker/CMakeLists.txt L332
#2332 core/relinker/CMakeLists.txt L332
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6101526898 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6101526898). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T19:49:50Z. --- <!-- pr-overlap --> 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 | |---|---|---|---| | #846 | `core/relinker/cli/src/CliArgs.cpp` [L11](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/cli/src/CliArgs.cpp#L11)<br>`core/relinker/main.cpp` [L111](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/main.cpp#L111)<br>`core/relinker/relinker/include/relinker/guest/GuestImage.hpp` [L61](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/relinker/include/relinker/guest/GuestImage.hpp#L61)<br>`core/relinker/relinker/src/guest/GuestModuleBuilder.cpp` [L53](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/relinker/src/guest/GuestModuleBuilder.cpp#L53) | | | | #2206 | `core/relinker/CMakeLists.txt` [L332](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/CMakeLists.txt#L332) | | | | #2332 | `core/relinker/CMakeLists.txt` [L332](https://github.com/boykopovar/AnyPS5/blob/496536cb9fc6ecd2f2649bf0d1c596a4fa58dbda/core/relinker/CMakeLists.txt#L332) | | |
Bruggi-ch commented 2026-10-10 21:55:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Bruggi-ch on 2026-10-10T21:55:09Z.


Checked 92b20608 on an Apple M5 (MacBook Air, macOS 27.0.1, Rosetta 2, Apple clang 21.0.0, CMake 4.4.4), relinker-only build with BUILD_TESTING=ON. This covers what orishamir's review could not (running the converted code under Rosetta) on a second machine and OS version.

  • ctest: 93 of 93 pass, to_rosetta and amd64_only_converter included.
  • Runtime check: I built a minimal PS5-style ELF that runs rdseed eax, clwb [rsp] and rdpid rax, then calls puts and exit(eax), with the libc.prx from a macos-port build. Relinked and run under Rosetta:
    • --macos: SIGILL (exit 132)
    • --macos --to-intel: SIGILL (exit 132)
    • --macos --to-rosetta: prints the message and exits 0 (3 runs). The relinker log shows RDSEED and CLWB replaced in place and RDPID replaced through a 15-byte stub.
  • --to-rosetta --windows is refused with --to-rosetta conflicts with --windows.

I did not test which of the three instructions faults on its own, and nothing ran in a game. The fixture generator is a short Python script; I can post it if it is useful for the macOS fixtures.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6102585636 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#issuecomment-6102585636). Originally posted by [Bruggi-ch](https://github.com/Bruggi-ch) on 2026-10-10T21:55:09Z. --- Checked `92b20608` on an Apple M5 (MacBook Air, macOS 27.0.1, Rosetta 2, Apple clang 21.0.0, CMake 4.4.4), relinker-only build with `BUILD_TESTING=ON`. This covers what orishamir's review could not (running the converted code under Rosetta) on a second machine and OS version. - `ctest`: 93 of 93 pass, `to_rosetta` and `amd64_only_converter` included. - Runtime check: I built a minimal PS5-style ELF that runs `rdseed eax`, `clwb [rsp]` and `rdpid rax`, then calls `puts` and `exit(eax)`, with the libc.prx from a `macos-port` build. Relinked and run under Rosetta: - `--macos`: SIGILL (exit 132) - `--macos --to-intel`: SIGILL (exit 132) - `--macos --to-rosetta`: prints the message and exits 0 (3 runs). The relinker log shows RDSEED and CLWB replaced in place and RDPID replaced through a 15-byte stub. - `--to-rosetta --windows` is refused with `--to-rosetta conflicts with --windows`. I did not test which of the three instructions faults on its own, and nothing ran in a game. The fixture generator is a short Python script; I can post it if it is useful for the macOS fixtures. AI-assisted: yes (Claude Code)
adriadam10 commented 2026-10-10 22:26:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T22:26:23Z.

Review: APPROVED


Checked on current main: relinker build + ctest 90/90 (amd64_only_converter, to_rosetta pass); both tests fail without the non-test changes; decoder look-alikes (VMPTRST, TPAUSE, CLFLUSHOPT) are covered; no code comments; USAGE and TechnicalDebt updated. Thanks for the comment removal and rebase, and to @orishamir and @Bruggi-ch for the independent runs. Merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5481025441 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2119#pullrequestreview-5481025441). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-10T22:26:23Z. **Review:** APPROVED --- Checked on current `main`: relinker build + ctest 90/90 (`amd64_only_converter`, `to_rosetta` pass); both tests fail without the non-test changes; decoder look-alikes (VMPTRST, TPAUSE, CLFLUSHOPT) are covered; no code comments; USAGE and TechnicalDebt updated. Thanks for the comment removal and rebase, and to @orishamir and @Bruggi-ch for the independent runs. Merging.
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!2119
No description provided.