On 9/11/23 07:17, Peter Maydell wrote:
I think it would be a little better if set_tags was visible to the compiler, via inlining, so that all of the conditions can be folded away.Do you mean having a separate triplet of helper functions for setg, which then call an inline function shared with the normal setp/setm/sete to do the actual work, rather than passing "is this setg" via the syndrome ?
Yes. r~