qemu-devel
[Top][All Lists]
Advanced

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

Re: Help on TCG asserts


From: Richard Henderson
Subject: Re: Help on TCG asserts
Date: Wed, 28 Oct 2020 07:45:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 10/27/20 9:15 PM, Sai Pavan Boddu wrote:
> 336 static void set_jmp_reset_offset(TCGContext *s, int which)
>              337 {
>              338     size_t off = tcg_current_code_size(s);
>              339     s->tb_jmp_reset_offset[which] = off;
>              340     /* Make sure that we didn't overflow the stored offset.  
> */
>       >>> 341     assert(s->tb_jmp_reset_offset[which] == off);
>              342 }
> 
> Can anyone give some color on what to look out for. As I see, tcg seems to 
> have
> some restriction of code size it could handle, but I’m confused how to control
> that in qemu.

It does mean that the generated code block is too large, and it needs to be
split.  I'm surprised you hit this though, since it means that something else
has gone wrong beforehand.

Is there a test case you can share?


r~



reply via email to

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