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/loongarch64 | |
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/loongarch64')
-rw-r--r-- | tcg/loongarch64/tcg-target.c.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-target.c.inc index fde744e..b701df5 100644 --- a/tcg/loongarch64/tcg-target.c.inc +++ b/tcg/loongarch64/tcg-target.c.inc @@ -2296,6 +2296,11 @@ static void tcg_target_qemu_prologue(TCGContext *s) tcg_out_opc_jirl(s, TCG_REG_ZERO, TCG_REG_RA, 0); } +static void tcg_out_tb_start(TCGContext *s) +{ + /* nothing to do */ +} + static void tcg_target_init(TCGContext *s) { unsigned long hwcap = qemu_getauxval(AT_HWCAP); |