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/s390x | |
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/s390x')
-rw-r--r-- | tcg/s390x/tcg-target.c.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index f4d3abc..7552f63 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -3483,6 +3483,11 @@ static void tcg_target_qemu_prologue(TCGContext *s) tcg_out_insn(s, RR, BCR, S390_CC_ALWAYS, TCG_REG_R14); } +static void tcg_out_tb_start(TCGContext *s) +{ + /* nothing to do */ +} + static void tcg_out_nop_fill(tcg_insn_unit *p, int count) { memset(p, 0x07, count * sizeof(tcg_insn_unit)); |