On 06/07/2017 03:52 PM, Pranith Kumar wrote:
This enables indirect jump on aarch64 hosts. Tested by booting an x86 guest on 
aarch64 host.

This patch is doing too many things.

One patch should be the switch to indirect chaining (which should also squash in the 2/3 patch, otherwise tcg_out_insn_3305 is unused and therefore provokes a Werror).

Second, you should consider merely softening the code buffer size limitation to 2GB. At that point, we still use just ADRP+ADD to form the return address for exit_tb.

Third, if you want to go beyond 2GB to no limit at all, then we need to consider reserving a register to contain the return address back to the epilogue.


r~

Reply via email to