Re: [PATCH v2 11/22] tcg: Add TranslationBlock.jmp_insn_offset

2023-01-17 Thread Alex Bennée
Richard Henderson writes: > Stop overloading jmp_target_arg for both offset and address, > depending on TCG_TARGET_HAS_direct_jump. Instead, add a new > field to hold the jump insn offset and always set the target > address in jmp_target_addr[]. This will allow a tcg backend > to use either d

[PATCH v2 11/22] tcg: Add TranslationBlock.jmp_insn_offset

2023-01-08 Thread Richard Henderson
Stop overloading jmp_target_arg for both offset and address, depending on TCG_TARGET_HAS_direct_jump. Instead, add a new field to hold the jump insn offset and always set the target address in jmp_target_addr[]. This will allow a tcg backend to use either direct or indirect depending on displacem