qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tcg: Increase the static number of temporaries


From: Richard Henderson
Subject: Re: [PATCH] tcg: Increase the static number of temporaries
Date: Sat, 23 Jan 2021 12:18:49 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 1/23/21 9:36 AM, Laurent Vivier wrote:
>>> -#define TCG_MAX_TEMPS 512
>>> +#define TCG_MAX_TEMPS 1024
>>
>> This seems not enough, I have:
>>
>> ERROR:.../tcg/tcg.c:1210:tcg_temp_alloc: assertion failed: (n < 
>> TCG_MAX_TEMPS)
>> Bail out! ERROR:.../tcg/tcg.c:1210:tcg_temp_alloc: assertion failed: (n < 
>> TCG_MAX_TEMPS)
>>
>> With my branch m68k-virt (68040 processor with virtio-mmio devices) booting 
>> debian sid.
> 
> The cause of the overflow is this sequence:

Thanks for the test case.  I was able to reproduce this with m68k-linux-user.
This TB uses 1063 separate constants.  :-/


r~



reply via email to

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