AnyPS5/core/relinker
Adrià Franch 5fc16a9548 feat(relinker): lower SHA-256 instructions with a memory operand
SHA256RNDS2/MSG1/MSG2 with a memory source made `--to-intel` fail the
whole relink. The stub now spills a scratch xmm, loads the operand into
it with MOVDQU (AMD does not fault on a misaligned SHA operand, so the
unaligned load keeps that behaviour) and runs the register-form
lowering. RSP-based operands get the spill depth added to their
displacement. RIP-relative operands still fail: the stub runs at a
different address.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-04 08:21:40 +02:00
..
cli feat(relinker): exclude single sce_module files, tolerate a zero code tail 2026-09-29 21:22:11 +03:00
codegen feat(relinker): lower SHA-256 instructions with a memory operand 2026-10-04 08:21:40 +02:00
domain/include/domain fix(relinker): resolve guest dependencies and lifecycle arrays 2026-10-01 11:57:13 +03:00
elfpatcher test(relinker): add C++ unit test for WindowsIconResourceBuilder 2026-10-04 10:29:20 +07:00
io fix(relinker): reject overflowing buffer offsets 2026-09-30 18:07:26 +02:00
relinker fix(relinker): add icons to generated Windows executables 2026-10-04 10:29:20 +07:00
CMakeLists.txt test(relinker): add C++ unit test for WindowsIconResourceBuilder 2026-10-04 10:29:20 +07:00
main.cpp fix(relinker): add icons to generated Windows executables 2026-10-04 10:29:20 +07:00