qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 22/22] tcg/riscv: Implement direct branch for goto_tb


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 22/22] tcg/riscv: Implement direct branch for goto_tb
Date: Tue, 6 Dec 2022 08:48:21 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 6/12/22 05:17, Richard Henderson wrote:
Now that tcg can handle direct and indirect goto_tb simultaneously,
we can optimistically leave space for a direct branch and fall back
to loading the pointer from the TB for an indirect branch.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  tcg/riscv/tcg-target.h     |  5 +++++
  tcg/riscv/tcg-target.c.inc | 19 +++++++++++++++++--
  2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/tcg/riscv/tcg-target.h b/tcg/riscv/tcg-target.h
index 56f7bc3346..a75c84f2a6 100644
--- a/tcg/riscv/tcg-target.h
+++ b/tcg/riscv/tcg-target.h
@@ -159,6 +159,11 @@ typedef enum {
  #define TCG_TARGET_HAS_mulsh_i64        1
  #endif
+<<<<<<< HEAD
+=======
+void tb_target_set_jmp_target(uintptr_t, uintptr_t, uintptr_t, uintptr_t);
+
+>>>>>>> 89ab294271 (tcg/riscv: Implement TCG_TARGET_HAS_direct_jump)

HEAD is correct :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]