AnyPS5/core/relinker/codegen
Oguzhan Ozdemir d64c0605ea fix(relinker): let REX.W override 0x66 when sizing decoder immediates
In 64-bit mode REX.W takes precedence over the 0x66 operand-size prefix,
so the immediate of 81, C7, 69, 68, A9, the 05..3D accumulator forms and
the F7 TEST form stays imm32. The decoder only applied this to B8+r and
returned a length two bytes short for the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 18:51:56 +03:00
..
include/codegen feat(relinker): lower SHA-1 instructions with a memory operand 2026-10-05 02:02:13 +02:00
src fix(relinker): let REX.W override 0x66 when sizing decoder immediates 2026-10-07 18:51:56 +03:00
tests fix(relinker): let REX.W override 0x66 when sizing decoder immediates 2026-10-07 18:51:56 +03:00