|
From: | Richard Henderson |
Subject: | Re: [PATCH v1 07/12] accel/tcg: actually cache our partial icount TB |
Date: | Tue, 9 Feb 2021 10:41:04 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2/9/21 10:27 AM, Alex Bennée wrote: > /* Refill decrementer and continue execution. */ > - insns_left = MIN(0xffff, cpu->icount_budget); > + insns_left = MIN(CF_COUNT_MASK, cpu->icount_budget); ... > + g_assert(insns_left < CF_COUNT_MASK); Why both the MIN and the assert? r~
[Prev in Thread] | Current Thread | [Next in Thread] |