mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Move tcg epilogue pointer out of TCGContext
This value is constant across all thread-local copies of TCGContext, so we might as well move it out of thread-local storage. Reviewed-by: Joelle van Dyne <j@getutm.app> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b91ccb3115
commit
8b5c2b6260
11 changed files with 16 additions and 15 deletions
|
@ -1038,7 +1038,7 @@ static void tcg_target_qemu_prologue(TCGContext *s)
|
|||
tcg_out_nop(s);
|
||||
|
||||
/* Epilogue for goto_ptr. */
|
||||
s->code_gen_epilogue = s->code_ptr;
|
||||
tcg_code_gen_epilogue = s->code_ptr;
|
||||
tcg_out_arithi(s, TCG_REG_G0, TCG_REG_I7, 8, RETURN);
|
||||
/* delay slot */
|
||||
tcg_out_movi_imm13(s, TCG_REG_O0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue