From c727734a08c408da3ac22167e0dec4db9f557f51 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Thu, 9 May 2024 11:16:26 +0100 Subject: [PATCH] fix: add popcnt to CPU flags to enable for macOS --- quickemu | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/quickemu b/quickemu index 6d468fe..e555f1d 100755 --- a/quickemu +++ b/quickemu @@ -547,13 +547,8 @@ function vm_boot() { fi;; esac - # https://www.techpowerup.com/cpu-specs/xeon-w-2140b.c2953 8 cores 16 threads # skylake server - # https://en.wikipedia.org/wiki/IMac_Pro#Technical_specifications Orig: High Sierra Max: Sonoma - # https://en.wikipedia.org/wiki/MacOS#Hardware_compatibility needs 8GB RAM - # https://qemu.readthedocs.io/en/v9.0.0/system/qemu-cpu-models.html#important-cpu-features-for-amd-x86-hosts - # https://www.reddit.com/r/hackintosh/comments/141wnjk/state_of_macos_14_sonoma_on_x86/ for FLAG in abm adx aes amd-ssbd bmi1 bmi2 cx8 eist ept f16c fma invtsc \ - mmx movbe mpx pdpe1gb smep vaes vbmi2 vpclmulqdq \ + mmx movbe mpx pdpe1gb popcnt smep vaes vbmi2 vpclmulqdq \ xgetbv1 xsave xsaveopt; do if check_cpu_flag "${FLAG}"; then CPU+=",+${FLAG}"