|
From: | Alex Bennée |
Subject: | Re: [PATCH v1 07/12] accel/tcg: actually cache our partial icount TB |
Date: | Tue, 09 Feb 2021 20:49:25 +0000 |
User-agent: | mu4e 1.5.7; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes: > 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? Lack of faith in MIN I guess ;-) I'll drop the assert. > > > r~ -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |