On 20/12/22 01:52, Richard Henderson wrote:
On 12/9/22 07:15, Philippe Mathieu-Daudé wrote:+static Property gt64120_properties[] = { + DEFINE_PROP_BIT("cpu-little-endian", GT64120State, + features, FEAT_CPU_LE, !TARGET_BIG_ENDIAN),Unless you're really planning on more feature bits, DEFINE_PROP_BOOL would be better.
I can easily convert to DEFINE_PROP_BIT() if I ever get there...