fix sse41 contradiction and cpuid host warnings
Previously grepped for sse4_1 but specified sse4_2 Also needs TSX controls. See comments at end of #886
This commit is contained in:
parent
d030221214
commit
70cf5c2100
2
quickemu
2
quickemu
|
@ -528,7 +528,7 @@ function vm_boot() {
|
||||||
case ${macos_release} in
|
case ${macos_release} in
|
||||||
ventura|sonoma)
|
ventura|sonoma)
|
||||||
if check_cpu_flag sse4_1 && check_cpu_flag avx2; then
|
if check_cpu_flag sse4_1 && check_cpu_flag avx2; then
|
||||||
CPU="-cpu Haswell,kvm=on,vendor=GenuineIntel,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc,+avx2"
|
CPU="-cpu Broadwell-noTSX-IBRS,kvm=on,vendor=GenuineIntel,+sse,+sse4.1,+avx,+avx2,+hypervisor,+popcnt,+aes,+xsave,+xsavec,+xsaveopt,+xgetbv1,+bmi1,+bmi2,+smep,+fma,+movbe,+invtsc"
|
||||||
else
|
else
|
||||||
echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support."
|
echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue