AnyPS5/core
Adrià Franch b066079628 fix(relinker): zero dst[127:64] in EXTRQ and INSERTQ lowerings
The APM leaves bits 127:64 of the destination undefined after EXTRQ and
INSERTQ, but hardware zeroes them, and the register-form INSERTQ stub
already does the same (#185). The other paths kept the old high qword, so
a following register-form INSERTQ that reads its length and index from
that qword computed the wrong low qword too.

Every stub path that left the high qword now ends with movq dst, dst.
The in-place PSRLQ, PMOVZX and PBLENDW forms leave it non-zero and have
no room for the movq, so those sites now take a stub. The two in-place
forms that emitted nothing now emit movq dst, dst.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-03 08:21:33 +02:00
..
Decoder Merge pull request #227 from adriadam10/feat/png-enc 2026-10-02 22:08:05 +03:00
libs Merge pull request #308 from asimplestray/feat/shader-vop3-mad 2026-10-02 23:29:05 +03:00
relinker fix(relinker): zero dst[127:64] in EXTRQ and INSERTQ lowerings 2026-10-03 08:21:33 +02:00
shader/recompiler Merge pull request #308 from asimplestray/feat/shader-vop3-mad 2026-10-02 23:29:05 +03:00