On 10/7/22 02:24, Peter Maydell wrote:
+ .ha = ha, + .hd = ha & hd,This is a bitwise operation on two bools, should be && ?
Bitwise works fine, but I can use boolean if you like.I'd be surprised (and filing a missed optimization bug) if the compiler treated these two operations differently in this case (simple bool operands with no side effects).
r~