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: Richard Henderson
Subject: Re: [PATCH 22/22] tcg/riscv: Implement direct branch for goto_tb
Date: Tue, 6 Dec 2022 09:41:42 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 12/6/22 01:48, Philippe Mathieu-Daudé wrote:
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 :)

Ouch. Clearly didn't get the fixed branch pushed back.
I wonder what else I missed...


r~




reply via email to

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