qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/3] util/cpuinfo-riscv: Support host/cpuinfo.h for riscv


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/3] util/cpuinfo-riscv: Support host/cpuinfo.h for riscv
Date: Wed, 3 Jul 2024 09:32:47 +0200
User-agent: Mozilla Thunderbird

On 3/7/24 01:04, Richard Henderson wrote:
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".

Thanks :)




reply via email to

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