|
From: | Richard Henderson |
Subject: | Re: [PATCH 1/3] util/cpuinfo-riscv: Support host/cpuinfo.h for riscv |
Date: | Tue, 2 Jul 2024 16:04:08 -0700 |
User-agent: | Mozilla Thunderbird |
On 7/2/24 12:55, Philippe Mathieu-Daudé wrote:
On 27/6/24 20:03, Richard Henderson wrote:
...
+ info |= !got_sigill * CPUINFO_ZBA;A bit too optimized to my taste, 'if (sigill) info|=ZBA' would be simpler to follow.
I switched to "info |= got_sigill ? 0 : CPUINFO_ZBA".
Otherwise, Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Thanks. r~
[Prev in Thread] | Current Thread | [Next in Thread] |