This is the x86 specific changes required to reduce the amount of translation for address space randomization. This is a re-base, with no other significant changes over v1.
r~ Based-on: 20220906091126.298041-1-richard.hender...@linaro.org ("[PATCH v4 0/7] tcg: pc-relative translation blocks") branch: https://gitlab.com/rth7680/qemu/-/tree/tgt-x86-pcrel Richard Henderson (23): target/i386: Remove pc_start target/i386: Return bool from disas_insn target/i386: Remove cur_eip argument to gen_exception target/i386: Remove cur_eip, next_eip arguments to gen_interrupt target/i386: Create gen_update_eip_cur target/i386: Create gen_update_eip_next target/i386: Introduce DISAS_EOB* target/i386: Use DISAS_EOB* in gen_movl_seg_T0 target/i386: Use DISAS_EOB_NEXT target/i386: USe DISAS_EOB_ONLY target/i386: Create cur_insn_len, cur_insn_len_i32 target/i386: Remove cur_eip, next_eip arguments to gen_repz* target/i386: Introduce DISAS_JUMP target/i386: Truncate values for lcall_real to i32 target/i386: Create eip_next_* target/i386: Use DISAS_TOO_MANY to exit after gen_io_start target/i386: Create gen_jmp_rel target/i386: Use gen_jmp_rel for loop and jecxz insns target/i386: Use gen_jmp_rel for gen_jcc target/i386: Use gen_jmp_rel for gen_repz* target/i386: Use gen_jmp_rel for DISAS_TOO_MANY target/i386: Create gen_eip_cur target/i386: Enable TARGET_TB_PCREL target/i386/cpu-param.h | 1 + target/i386/helper.h | 2 +- target/i386/tcg/seg_helper.c | 6 +- target/i386/tcg/tcg-cpu.c | 8 +- target/i386/tcg/translate.c | 712 ++++++++++++++++++----------------- 5 files changed, 369 insertions(+), 360 deletions(-) -- 2.34.1