diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-15 16:34:59 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-09-16 14:57:16 +0000 |
commit | 9358fbbf6e478e0d734756c9b4d547cdf69947d6 (patch) | |
tree | 9def8ccc732a666ba75c8b48997e37b84d8a5503 /tcg/ppc | |
parent | 722460652b3aee89dc19df61f1f33df53a9b97c9 (diff) | |
download | qemu-9358fbbf6e478e0d734756c9b4d547cdf69947d6.zip qemu-9358fbbf6e478e0d734756c9b4d547cdf69947d6.tar.gz qemu-9358fbbf6e478e0d734756c9b4d547cdf69947d6.tar.bz2 |
tcg: Add tcg_out_tb_start backend hook
This hook may emit code at the beginning of the TB.
Suggested-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/ppc')
-rw-r--r-- | tcg/ppc/tcg-target.c.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index ccf2451..90d76c2 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -2527,6 +2527,11 @@ static void tcg_target_qemu_prologue(TCGContext *s) tcg_out32(s, BCLR | BO_ALWAYS); } +static void tcg_out_tb_start(TCGContext *s) +{ + /* nothing to do */ +} + static void tcg_out_exit_tb(TCGContext *s, uintptr_t arg) { tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_R3, arg); |