GCC 8.5.0 doesn't like a direct variable declaration after a case
statement.
priv/guest_amd64_helpers.c: In function 'amd64g_dirtyhelper_CPUID_avx2':
priv/guest_amd64_helpers.c:3653:10: error: a label can only be part of a
statement and a declaration is not a statement
Create a block for the case statement to declare the variable.
case 0x80000000:
SET_ABCD(0x80000008, 0x00000000, 0x00000000, 0x00000000);
break;
case 0x80000000:
SET_ABCD(0x80000008, 0x00000000, 0x00000000, 0x00000000);
break;
ULong ecx_extra = 0;
ecx_extra = hasLZCNT ? (1U << 5) : 0;
SET_ABCD(0x00000000, 0x00000000, 0x00000001 | ecx_extra,
0x2c100800);
break;
ULong ecx_extra = 0;
ecx_extra = hasLZCNT ? (1U << 5) : 0;
SET_ABCD(0x00000000, 0x00000000, 0x00000001 | ecx_extra,
0x2c100800);
break;
case 0x80000002:
SET_ABCD(0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865);
break;
case 0x80000002:
SET_ABCD(0x65746e49, 0x2952286c, 0x726f4320, 0x4d542865);
break;