[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH] tcg: Limit the number of ops in a TB
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-stable] [PATCH] tcg: Limit the number of ops in a TB |
Date: |
Tue, 8 May 2018 23:06:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Le 08/05/2018 à 21:36, Richard Henderson a écrit :
> In 6001f7729e12 we partially attempt to address the branch
> displacement overflow caused by 15fa08f845.
>
> However, gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqtbX.c
> is a testcase that contains a TB so large as to overflow anyway.
> The limit here of 8000 ops produces a maximum output TB size of
> 24112 bytes on a ppc64le host with that test case. This is still
> much less than the maximum forward branch distance of 32764 bytes.
>
> Cc: address@hidden
> Fixes: 15fa08f845 ("tcg: Dynamically allocate TCGOps")
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> tcg/tcg.h | 8 +++++++-
> tcg/tcg.c | 3 +++
> 2 files changed, 10 insertions(+), 1 deletion(-)
>
Reviewed-by: Laurent Vivier <address@hidden>