Handle address space wraparound during translation, with help from
the target translator.
Without cooperation of the target translator, unless this is a 64-bit
guest, this will no longer assert but is unlikely to function
correctly as generic code doesn't know the address space width.
Thanks to Tao Cui for a brilliant test case.
r~
Richard Henderson (1):
accel/tcg: Allow some address space wraparound during translation
Tao Cui (1):
tests/tcg/i386/system: Add regression test for translator_ld
wraparound
include/exec/translator.h | 3 ++
accel/tcg/translator.c | 45 +++++++++++++++++++-----------
tests/tcg/i386/system/meson.build | 4 +++
tests/tcg/i386/system/wraparound.S | 35 +++++++++++++++++++++++
4 files changed, 70 insertions(+), 17 deletions(-)
create mode 100644 tests/tcg/i386/system/wraparound.S
--
2.53.0