On 02/28/2018 02:50 PM, Emilio G. Cota wrote: > Is this any better? > > #define TB_FOR_EACH_TAGGED(head, tb, n, field) \ > for (n = (head) & 1, tb = (TranslationBlock *)((head) & ~1); \ > tb; tb = (TranslationBlock *)tb->field[n], n = (uintptr_t)tb & 1, \ > tb = (TranslationBlock *)((uintptr_t)tb & ~1))
Yes, thanks. r~