GCC build

This commit is contained in:
Tom Lally 2022-08-25 03:45:02 +01:00
parent be0f062de8
commit c8c9fad128
48 changed files with 327 additions and 273 deletions

View file

@ -580,7 +580,7 @@ void PPCRecompiler_init()
__cpuid(cpuInfo, 0x1);
hasMOVBESupport = ((cpuInfo[2] >> 22) & 1) != 0;
hasAVXSupport = ((cpuInfo[2] >> 28) & 1) != 0;
__cpuidex(cpuInfo, 0x7, 0);
__cpuidex1(cpuInfo, 0x7, 0);
hasBMI2Support = ((cpuInfo[1] >> 8) & 1) != 0;
forceLog_printf("Recompiler initialized. CPU extensions: %s%s%s", hasLZCNTSupport ? "LZCNT " : "", hasMOVBESupport ? "MOVBE " : "", hasAVXSupport ? "AVX " : "");