On 9/27/26 01:56, Richard Henderson wrote:
Hi Paul, thanks for the testcase.

While your patch did fix the bug, it retained other surrounding
buggy code that attempted to fix this but failed to do so.


r~


Paul Galbraith (1):
   tests/tcg/i386: Add regression test for wrapping 16-bit near branches

Richard Henderson (2):
   target/i386/tcg: Add DisasContext.pc_save_valid
   target/i386/tcg: fix EIP truncation for wrapping near branches

  target/i386/tcg/translate.c                |  38 ++++----
  tests/tcg/i386/system/meson.build          |   3 +-
  tests/tcg/i386/system/test-branch-wrap16.S | 101 +++++++++++++++++++++
  3 files changed, 124 insertions(+), 18 deletions(-)
  create mode 100644 tests/tcg/i386/system/test-branch-wrap16.S


Ping.


r~

Reply via email to