Richard Henderson <richard.hender...@linaro.org> writes:

> On 02/08/2018 09:31 AM, Alex Bennée wrote:
>> +            maxpasses = hp ? (is_q ? 8 : 4) : (is_q ? 4 : 2);
>
>   (8 << is_q) >> size
>
> ?

Hmm I'm not so sure about this. While mine is longer form at least the
intent is clear. What about:

    maxpasses = (is_q ? 4 : 2) << hp

It's still a little magical IMHO though...

--
Alex Bennée

Reply via email to