aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-03-28 01:07:37 +0000
committeriximeow <me@iximeow.net>2026-03-28 01:07:37 +0000
commit511ebed3f774186e5f2626d03302dd1b198dd587 (patch)
tree8e02ad6a8346d3b8db1a9ac2329db728efb203d5 /src/shared
parent75f8b64b0f3af293721108255009fe3c0fb04cb3 (diff)
handle instructions that read and write different parts of the same instruction
the motivating case is `xchg ah, al`, where both register writes independently "don't match" the overall register diff of the low 16 bits. the diff-checking code was too narrow: we really have to collect all allowed diffs on a register for an instruction and compare the actual diff to that unification. the implementation goes the other way though: compute the diff, and remove parts of the diff that are unaccounted for. if any diff remains, that is by definition unexpected and an error.
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions