On 07/16/2017 10:04 AM, Emilio G. Cota wrote:
Thereby decoupling the resulting translated code from the current state
of the system.
The tb->cflags field is not passed to tcg generation functions. So
we add a bit to TCGContext, storing there whether CF_PARALLEL is set
before translating every TB.
Most architectures have <= 32 registers, which results in a 4-byte hole
in TCGContext. Use this hole for the bit we need; use a uint8_t instead
of a bool, since a bool might take more than one byte in some systems.
I would much rather use bool.
(1) I don't care about OSX and its broken ABI,
(2) Even then OSX still *works*.