On 6/21/21 3:47 PM, Richard Henderson wrote:
> On 6/21/21 5:50 AM, Philippe Mathieu-Daudé wrote:
>> I notice various targets do:
>>
>> #ifdef CONFIG_USER_ONLY
>> return true;
>> #else
>>
>>> + /* Check for the dest on the same page as the start of the TB. */
>>> + return ((db->pc_fir
From: Richard Henderson
> Add a generic version of the common use_goto_tb test.
>
> Signed-off-by: Richard Henderson
> ---
> include/exec/translator.h | 10 ++
> accel/tcg/translator.c| 11 +++
> 2 files changed, 21 insertions(+)
Reviewed-by: Luis Pires
--
Luis Pires
Inst
On 6/21/21 5:50 AM, Philippe Mathieu-Daudé wrote:
I notice various targets do:
#ifdef CONFIG_USER_ONLY
return true;
#else
+/* Check for the dest on the same page as the start of the TB. */
+return ((db->pc_first ^ dest) & TARGET_PAGE_MASK) == 0;
#endif
+}
Is that OK to rem
Hi Richard,
On 6/21/21 3:34 AM, Richard Henderson wrote:
> Add a generic version of the common use_goto_tb test.
>
> Signed-off-by: Richard Henderson
> ---
> include/exec/translator.h | 10 ++
> accel/tcg/translator.c| 11 +++
> 2 files changed, 21 insertions(+)
>
> diff --
On Sun, Jun 20, 2021 at 6:36 PM Richard Henderson
wrote:
>
> Add a generic version of the common use_goto_tb test.
>
> Signed-off-by: Richard Henderson
> ---
> include/exec/translator.h | 10 ++
> accel/tcg/translator.c| 11 +++
> 2 files changed, 21 insertions(+)
Reviewed-b
Add a generic version of the common use_goto_tb test.
Signed-off-by: Richard Henderson
---
include/exec/translator.h | 10 ++
accel/tcg/translator.c| 11 +++
2 files changed, 21 insertions(+)
diff --git a/include/exec/translator.h b/include/exec/translator.h
index 24232ead41